snmp-server location

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]

Syntax Description

text

(Optional) String that describes the system location information.


Command Default

No system location string is set.

Command Modes

Global configuration mode

Command History

Release
Modification

4.1(3)N2(1)

This command was introduced.


Examples

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)# 

Related Commands

Command
Description

snmp-server contact

Sets the SNMP system contact (sysContact) string.