Quick Reference Guide
SNMP Commands 331
snmp-server location
The snmp-server location Global Configuration mode command sets up information on where the
device is located. To remove the location string use, the no form of this command.
Syntax
•
snmp-server location
text
no snmp-server location
•
text
— Character string, up to 160 characters, describing the system location.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode.
User Guidelines
• Do not include spaces in the text string.
Example
The following example sets the device location as "New_York".
snmp-server enable traps
The snmp-server enable traps Global Configuration mode 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
S
ending SNMP traps e
nabled.
Command Mode
Global Configuration mode.
User Guidelines
• There are no user guidelines for this command.
Console (config)# snmp-server location New_York
5400_CLI.book Page 331 Wednesday, December 17, 2008 4:33 PM