157
IP-COM(config)# no snmp-server community ip-com
Note:
Delete community name
Disable SNMP agent
IP-COM(config)# no snmp-server
Note:
Disable SNMP agent globally
View SNMP agent settings
IP-COM# show snmp-server
Enable Trap
IP-COM(config)# snmp-server trap on
Note:
Enable Trap
IP-COM(config)# snmp-server trap type 1
Note:
Enable cold trap on the Switch
IP-COM(config)# snmp-server trap type 2
Note:
Enable warmstart trap on the Switch
IP-COM(config)# snmp-server trap type 4
Note:
Enable Linkdown Trap on the Switch
IP-COM(config)# snmp-server trap type 8
Note:
Enable Linkup Trap on the Switch
IP-COM(config)# snmp-server trap type 16
Note:
Enable Authentication Trap on the Switch
IP-COM(config)# snmp-server trap type 31
Note:
Enable all Trap features the Switch supports
IP-COM(config)# snmp-server trap interface range fastethernet 0/1-24
Note:
Enable trap features mentioned above on all ports
View Trap settings
IP-COM# show snmp-server traps
Disable trap
IP-COM(config)# snmp-server trap off
Содержание G3224P
Страница 1: ......