Console (config)# snmp-server location New_York
3.20.4 snmp-server enable traps
The snmp-server enable traps global configuration command enables the switch to send SNMP traps. To disable SNMP
traps use the no form of the command.
Syntax
snmp-server enable traps
no snmp-server enable traps
Default Configuration
Enabled
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Examples
The following example displays the command to enable SNMP traps.
Console (config)# snmp-server enable traps
13.20.5 snmp-server trap authentication
The snmp-server trap authentication global configuration command enables the switch to send Simple Network
Management Protocol traps when authentication fails. To disable SNMP authentication failed traps, use the no form of this
command.
Syntax
snmp-server trap authentication
no snmp-server trap authentication
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Examples
The following example displays the command to enable authentication failed SNMP traps.
Console (config)# snmp-server trap authentication
Console (config)# snmp-server host 10.1.1.1 management 2
3.20.6 snmp-server host
The snmp-server host global configuration command specifies the recipient of Simple Network Management Protocol
notification operation. To remove the specified host, use the no form of this command.
Syntax
snmp-server host host-addr community-string [1 | 2]
no snmp-server host host-addr
113