To set the Simple Network Management Protocol (SNMP) system location string, use the snmp-server location command. To remove the location string, use the no form of this command.
snmp-server location [text]
no snmp-server location [text]
text |
(Optional) String that describes the system location information. |
No system location string is set.
Global configuration mode
Release |
Modification |
---|---|
4.1(3)N2(1) |
This command was introduced. |
This example shows how to set a system location string:
switch(config)# snmp-server location Building 3/Room 21
switch(config)#
This example shows how to remove the system location string:
switch(config)# no snmp-server location Building 3/Room 21
switch(config)#
Command |
Description |
---|---|
snmp-server contact |
Sets the SNMP system contact (sysContact) string. |