snmp-server location

Sets the SNMP server location string.

Syntax

snmp-server location string
no snmp-server location

Command Default

The default location string is "Building 3 Room 214".

Parameters

location string
Specifies the SNMP server location string. Enter an alphanumeric string from 4 to 255 characters. You must enclose the text in double quotes if the text contains spaces.

Modes

Global configuration mode

Usage Guidelines

Use the no form of this command to reset the default value.

Examples

The following example sets the SNMP server location string to "Building 3 Room 214".

device(config)# snmp-server location "Building 3 Room 214"