D-Link DGS-6600-48T Product Manual - Page 838
snmp-server host, snmp-server enable traps snmp [ linkup] [linkdown, no snmp trap link-status, linkUp
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 838 highlights
DGS-6604 m Examples snmp-server enable traps snmp command and the snmp-server host command for that host must be set to enabled. The snmp-server enable traps snmp [ linkup] [linkdown] form of this command globally enables SNMP linkUp and linkDown traps. After enabling either of these traps globally, disable these traps on specific interfaces using the no snmp trap link-status command in interface configuration mode. Note that in the interface level, linkUp and linkDown traps are enabled by default. This indicated that it is not necessary to enable these notifications on a per-interface basis. The following example shows how to enable the router to send all traps to the host 10.9.18.100 Switch(config)# snmp-server enable traps snmp Switch(config)# snmp-server host 10.9.18.100 The following example shows how to enable the switch to send all trap notifications to the host 10.9.18.100 using the community string defined as public: Switch(config)# snmp-server enable traps snmp Switch(config)# snmp-server host 10.9.18.100 version 2c public The following example shows the enabling all SNMP trap types, then the disabling of only the linkUp and linkDown trap: Switch> enable Switch# configure terminal Switch(config)# snmp-server enable traps snmp Swtich(config)# end Switch# show running-config | include traps snmpsnmp-server enable traps snmp authentication linkup linkdown coldstart warmstart Switch# configure terminal Switch(config)# no snmp-server enable traps snmp linkup linkdown Swtich(config)# end Switch# show running-config | include traps snmpsnmp-server enable traps snmp authentication coldstart warmstart This example shows how to enable the SNMP authentication traps. Switch(config)# snmp-server enable traps snmp authentication Verify the settings by entering the show snmp-server traps command. CLI Reference Guide 828