snmp-server contact

Sets the SNMP server contact string.

Syntax

snmp-server contact string
no snmp-server contact

Command Default

The default contact string is "Operator 12345".

Parameters

string
Specifies the server contact. 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 contact string to "Operator 12345".

device(config)# snmp-server contact "Operator 12345"