Configuration Commands

System SNMP configuration

The switch software supports SNMP-based network management. In SNMP model of network management, a management station (client/manager) accesses a set of variables known as

MIBs (Management Information Base) provided by the managed device (agent). If you are running an SNMP network management station on your network, you can manage the switch using the following standard SNMP MIBs:

MIB II (RFC 1213)

Ethernet MIB (RFC 1643)

Bridge MIB (RFC 1493)

An SNMP agent is a software process on the managed device that listens on UDP port 161 for SNMP messages. Each SNMP message sent to the agent contains a list of management objects to retrieve or to modify.

SNMP parameters that can be modified include:

System name

System location

System contact

Use of the SNMP system authentication trap function

Read community string

Write community string

The following table describes the System SNMP Configuration commands. The following sections provide more detailed information and commands.

Table 82 System SNMP Configuration commands

Command

Description

 

 

hostname <1-64 characters>

Configures the name for the system. The name can have a maximum of

 

64 characters.

 

Command mode: Global configuration

 

 

snmp-server location <1-64

Configures the name of the system location. The location can have a

characters>

maximum of 64 characters.

 

Command mode: Global configuration

 

 

snmp-server contact <1-64

Configures the name of the system contact. The contact can have a

characters>

maximum of 64 characters.

 

Command mode: Global configuration

 

 

snmp-server read-community

Configures the SNMP read community string. The read community string

<1-32 characters>

controls SNMP “get” access to the switch. It can have a maximum of 32

 

characters. The default read community string is public.

 

Command mode: Global configuration

 

 

snmp-server write-community

Configures the SNMP write community string. The write community string

<1-32 characters>

controls SNMP “set” and “get” access to the switch. It can have a

 

maximum of 32 characters. The default write community string is

 

private.

 

Command mode: Global configuration

 

 

110

Page 110
Image 110
HP 445942-001 manual System Snmp configuration, Hostname 1-64 characters