Alcatel Carrier Internetworking Solutions Switch/Router 用户手册

下载
页码 1100
Configuring SNMP Parameters and Traps
Page 13-4
6) Broadcast Traps
When broadcast traps are enabled, the switch transmits traps to all NMS stations in the default 
group. If you enable this parameter, unicast traps (see option 6 below) will automatically be 
disabled. The default for broadcast traps is 
disabled
. To enable broadcast traps, enter the 
following command:
5=enabled
The following prompt displays:
UDP destination port (162):
Enter the 
UDP
 destination port for the traps. 
UDP
 port 162 is the default port and is commonly 
used for traps; however, the destination port can be re-defined to accommodate a network 
management station using a nonstandard port.
 Note 
The destination port configured here must corre-
spond to the 
UDP
 destination port configured at the 
receiving network management station(s).
7) Unicast Traps
When unicast traps are enabled, the switch transmits traps only to the 
IP
 address(es) defined 
in the 
snmpc
 list below this field. 
 Note 
If both broadcast and unicast traps are disabled, then 
the switch does not transmit any traps. 
If you enable this parameter, broadcast traps (see option 5 above) will automatically be 
disabled. The default for unicast traps is disabled. To enable unicast traps, enter the follow-
ing command:
6=enabled
Configuring a New Network Management Station
a. To define a new network management station, enter 8, followed by an equal sign (
=
), and 
the 
IP
 address of the network management station to receive traps. You can define a maxi-
mum of ten network management stations. They must be numbered sequentially from 8 
through 17. If network management stations are already shown on the display for this 
menu, use the next highest number to add another station. The following is an example of 
how to define the first network management station:
8=123.12.1.1
The following prompt displays:
Enter trap mask words 0:1 (ffffffff:ffffffff):
Each trap in the switch is assigned a mask that consists of “words”. The mask value 
ffffffff:ffffffff 
indicates that all traps are enabled for words 0 and 1. If you want to accept 
this default (all traps enabled for words 0 and 1), press <
Enter
>. If you want to enable 
one or more specific traps for words 0 and 1, you must calculate their bit configurations 
and enter the new mask value at the prompt. Trap types and their bit positions are listed 
in the tables beginning on page 13-11.