DGS-3224TGR Gigabit Ethernet Switch User’s Guide 
12 
IP Addresses and SNMP Community Names 
Each switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or 
other TCP/IP application (for example BOOTP, TFTP). The switch’s default IP address is 
10.90.90.90. You can change the 
 
default switch IP Address to meet the specification of your networking address scheme. 
The switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found 
when using the command “show switch.” 
In addition, you can also set an IP address for a gateway router. This becomes necessary when the network management 
station is located on a different IP network from the switch, making it necessary for management packets to go through a 
router to reach the network manager, and vice-versa. 
For security, you can set in the switch a list of IP Addresses of the network managers that allow you to manage the switch. 
You can also change the default SNMP Community Strings in the switch and set the access rights of these Community 
Strings. In addition, a VLAN may be designated as a Management VLAN. 
Setting an IP Address 
The IP address for the switch must be set before it can be managed with the Web-based manager. The switch IP address 
may be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the switch must be 
known. 
The IP address may alternatively be set using the Command Line Interface (CLI) over the console serial port as follows
: 
1. 
Starting at the command line prompt 
local>
, enter the commands 
config ipif System ipaddress 
xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy
. Where the 
x
’s represent the IP address to be assigned to the IP interface 
named 
System 
and the 
y
’s represent the corresponding subnet mask. 
2. 
Alternatively, you can enter
the commands 
config ipif System ipaddress xxx.xxx.xxx.xxx/z
. Where the 
x
’s 
represent the IP address to be assigned to the IP interface named 
System 
and the 
z
represents the 
corresponding number of subnets in CIDR notation. 
Using this method, the switch can be assigned an IP address and subnet mask that can then be used to connect a 
management station to the switch’s Web-based management agent. 
Traps 
Traps are messages that alert you of events that occur on the switch. The events can be as serious as a reboot (someone 
accidentally turned OFF the switch), or less serious like a port status change. The switch generates traps and sends them to 
the network manager (trap recipient). 
Trap recipients are special users of the network who are given certain rights and access in overseeing the maintenance of 
the network. Trap recipients will receive traps sent from the switch; they must immediately take certain actions to avoid 
future failure or breakdown of the network. 
You can also specify which network managers may receive traps from the switch by entering a list of the IP addresses of 
authorized network managers. Up to four trap recipient IP addresses, and four corresponding SNMP community strings can 
be entered. 
SNMP community strings function like passwords in that the community string entered for a given IP address must be used 
in the management station software, or a trap will be sent. 
The following are trap types the switch can send to a trap recipient: 
• 
Cold Start
–This trap signifies that the switch has been powered up and initialized such that software settings are 
reconfigured and hardware systems are rebooted. A cold start is different from a factory reset in that configuration 
settings saved to non-volatile RAM used to reconfigure the switch. 
• 
Authentication Failure
– This trap signifies that someone has tried to logon to the switch using an invalid SNMP 
community string. The switch automatically stores the source IP address of the unauthorized user.