Administrator Guide

Switch Management Commands 2134
Syntax
snmp-server location
text
no snmp-server location
text
— Character string describing the system location. (Range: 1 to 255
characters.)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
The location string may contain embedded blanks if enclosed in quotes. Any
printable character is allowed in the string.
Example
The following example sets the device location as "New_York".
console(config)# snmp-server location New_York
snmp-server user
Use the snmp-server user command in Global Configuration mode to
configure a new SNMP Version 3 user. To delete a user, use the no form of this
command.
Syntax
snmp-server user
username groupname
[remote
engineid-string
] [ { auth-
md5
password
| auth-sha
password
| auth-md5-key
md5-key
| auth-sha-key
sha-key
} [priv-des
password
| priv-des-key
des-key
| priv-3des
password
|
priv-3des-key
des-key
| priv-aes128
password
| priv-aes128-key
aes-key
] ]
no snmp-server user
username
username
— Specifies the name of the user on the host that connects to
the agent. (Range: 1-32 characters.)
2CSNXXX_SWUM204.book Page 2134 Monday, January 25, 2016 1:25 PM