3.1.1 System Information Configuration

Use this command to specify SNMP MIB-II contact person, system name, and system location.

Command Syntax:

snmp-server contact <v_line255>
host <conf_name>
snmp-server location <v_line255>
Table 3-1. Command Description

Argument

Description

Parameter

<v_line255>

String length is 0–255, and the valid ASCII characters range 32–126

<conf_name>

Administratively assigned name for this system. By convention this is fully-qualified domain name. String length is 0–255 and no spaces are permitted.

Default

N.A

Mode

Global Configuration mode

Usage

Use this command to specify the system contact, name, and location. To delete, use the ‘no’ version of the command.

Example

Example 1: Set system contact as “testcontact”, name as “microchip” and location as “server room”.

# configure terminal
(config)# snmp-server contact testcontact
(config)# host microchip
microchip(config)# snmp-server location server room