Alcatel Carrier Internetworking Solutions Switch/Router Network Router User Manual


  Open as PDF
of 1100
 
Configuring SNMP Parameters and Traps
Page 13-5
Here is a sample configuration for setting a combination of traps.
Bit Configurations for Setting Traps
Example: To set a combination of trap types, add the hex values of the bits as follows:
You would then enter the total mask value of the traps, as follows:
Enter trap mask words 0:1 (ffffffff:ffffffff): 0000C000:00000201
This setting would enable only these four traps for words 0 and 1.
b. The following prompt displays:
Enter trap mask words 2:3 (ffffffff:ffffffff):
Enter the trap type(s) for words 2 and 3. If you want to accept the default (all traps
enabled for words 2 and 3), press <Enter>. To set one or more specific traps, again calcu-
late the bit configurations and enter the new mask value at the prompt.
c. The following prompt displays:
Enter destination port (162):
Enter the UDP destination port for the traps configured above. If you choose the default in
field four, port 162, press <Enter> at the prompt.
d. The following prompt displays:
NMS state (on):
Indicate whether or not traps will be sent to this Network Management Station (the NMS
defined in step a). If the
NMS state is enabled (on), the NMS will be notified of traps. Press
<Enter> to accept the default (on). If the NMS state is disabled (off), the NMS will not be
notified of traps.
word 0 (4 bytes)
bit 0
00 00 00 00 : 00 00 00 00
bit 0
word 1 (4 bytes)
Trap Type Bit Settings
Word 0 Word 1
tempAlarm 00 00 00 00 : 00 00 00 01
risingAlarm 00 00 40 00 : 00 00 00 00
fallingAlarm 00 00 80 00 : 00 00 00 00
portPartitioned 00 00 00 00 : 00 00 02 00
Total =
00 00 C0 00 : 00 00 02 01