snmp-server location

To configure the SNMP location MIB value on the system, use the snmp-server location command in Configuration mode. To remove the system location information, use the no form of this command.

snmp-server location word

Syntax Description

snmp-server location

The command to configure the physical location of this managed node. Supports up to 255 alphanumeric characters.

word

String that describes the physical location information of the system. Supports up to 255 alphanumeric characters.

Defaults

No default behavior or values.

Command Modes

Configuration

Usage Guidelines

Cisco recommends that you use underscores (_) or hyphens (-) between the terms within the word string. If you use spaces between terms within the word string, you must enclose the string in quotation marks (“).

Examples

Example 1

/admin(config)# snmp-server location Building_3/Room_214

/admin(config)#

Example 2

/admin(config)# snmp-server location “Building 3/Room 214”

/admin(config)#

Related Commands

Command

Description

snmp-server host

Sends traps to a remote system.

snmp-server community

Sets up the community access string to permit access to SNMP.

snmp-server contact

Configures the SNMP location MIB value on the system.