33
3.3. SNMP Configuration
Configure the SNMP agent setting in "Global configuration mode." Confirm the configuration
information by executing the "show snmp" command in "Privileged mode."
Command to show the SNMP information
M24eG# show
snmp
Command to enable the SNMP agent
M24eG(config)# snmp-server
agent
Command to disable the SNMP agent
M24eG(config)#
no snmp-server agent
Command to set the SNMP management (access permission from/to SNMP manager)
M24eG(config)# snmp-server
community
<id> <community> <ro/rw> <ip-address>
Command to delete the SNMP management (access permission from/to SNMP manager)
M24eG(config)#
no snmp-server community <id>
Command to set the SNMP trap (type, IP address, community name)
M24eG(config)#
snmp-server host <id> type <v1/v2> <ip-address> trap <community>
Command to delete the SNMP trap (type, IP address, community name)
M24eG(config)#
no snmp-server host <id>
Command to set the SNMP trap (authentication failure)
M24eG(config)# snmp-server
enable traps snmp authentication
Command to delete the SNMP trap (authentication failure)
M24eG(config)#
no snmp-server enable traps snmp authentication
Command to set the SNMP trap (notification of port link up/down status)
M24eG(config)#
snmp-server enable traps linkupdown <1-2 or 1,2,3 or 1,2,3-5>
Command to delete the SNMP trap (notification of port link up/down status)
M24eG(config)#
no snmp-server enable traps linkupdown <1-2 or 1,2,3 or 1,2,3-5>