Notification Configurations
User Guide
777
The following example shows how to configure an NMS host with the parameters shown in
.
Table 3-1
Parameters for the NMS Hosts
Parameter
Value
IP Address
172.16.1.222
UDP Port
162
User Name
admin
Security Model
v3
Security Level
authPriv
Notification Type
Inform
Retry Times
3
Timeout Interval
100 seconds
Switch#configure
Switch(config)#snmp-server host
172.16.1.222 162 admin
smode
v3
slev
authPriv
type
inform
retries
3
timeout
100
Switch(config)#show snmp-server host
No. Des-IP UDP Name SecMode SecLev Type Retry Timeout
--- ------ ----- ---- ------- ------ ---- ----- -------
1 172.16.1.222 162 admin v3 authPriv inform 3 100
Switch(config)#end
Switch#copy running-config startup-config
3.2.2 Enabling SNMP Traps
The switch supports many types of SNMP traps, like SNMP standard traps, ACL traps,
and VLAN traps, and the corresponding commands are different. With a trap enabled, the
switch will send the corresponding trap message to the NMS when the trap is triggered.
Follow these steps to enable the traps according to your needs.
■
Enabling the SNMP Standard Traps Globally
Step 1
configure
Enter Global Configuration Mode.
Downloaded from