Configuring SNMP
How to Configure SNMP
Default SNMP Settings
Feature
SNMP agent
SNMP trap receiver
SNMP traps
SNMP version
SNMPv3 authentication
SNMP notification type
1.
This is the default when the switch starts and the startup configuration does not have any snmp-server global
configuration commands.
How to Configure SNMP
Disabling the SNMP Agent
The no snmp-server global configuration command disables all running versions (Version 1,
Version 2C, and Version 3) on the device. No specific Cisco IOS command exists to enable SNMP. The first snmp-server
global configuration command that you enter enables all versions of SNMP.
Command
1.
configure terminal
2.
no snmp-server
3.
end
Configuring Community Strings
Note:
To disable access for an SNMP community, set the community string for that community to the null string (do not
enter a value for the community string).
Default Setting
1
Disabled
.
None configured.
None enabled except the trap for TCP connections (tty).
If no version keyword is present, the default is Version 1.
If no keyword is entered, the default is the noauth (noAuthNoPriv) security level.
If no type is specified, all notifications are sent.
Purpose
Enters global configuration mode.
Disables the SNMP agent operation.
Returns to privileged EXEC mode.
534