Global-configuration mode. Unrestricted read-write user.
The snmp-server contact string is displayed by viewing system version or
Description
String is an ASCII text string. Enclose multi-word strings within double-quotes (“ “). The no snmp-server contact command resets the current contact information to an empty string.
IP address or DNS name of the SNMP server.
Community string to use to authenticate the system chassis to the SNMP server. Enclose multi-word strings within double-quotes. The no snmp-server host command resets the SNMP trap receiver information to an empty string.
The SNMP community-string that will be used to authenticate the chassis to the SNMP server. Enclose multi-word community strings within double-quotes. the no snmp-server host command resets the current host information to an empty string.

Table B-74

snmp-server Command Keyword Descriptions

Keyword

Description

contact

The snmp-server contact command sets the contact information for this managed node.

Specifies contact information that is included when displaying the chassis version information.

host

Configures the SNMP server to receive linkUp/linkDown SNMP traps.

location

Specifies the location of the chassis that is included when displaying the chassis version information.

Table B-75 snmp-server Command Argument Descriptions

Argument

contact-string

dest community-string

location-string

Command Modes:

Privilege Level:

Usage Guidelines:

SNMP information.

The snmp-server host string is displayed by viewing using the show snmp command.

The snmp trap receiver must be configured to recognize the specified location community string.

Examples:

HP-IB0(config)# snmp-server contact "support@hp.com"

HP-IB(config)# snmp-server host 10.3.106.99 secret

HP-IB(config)# snmp-server host 10.3.106.99 secret

Related Commands: “gateway” (page 198) “radius-server” (page 207)

“ntp” (page 206) “location” (page 204)

telnet

Synopsis: The telnet command allows you to enable or disable access to telnet services.

Syntax: telnet enable

telnet disable

Command Modes: Privileged-execute modes.

Privilege Level: General read-only user.

Usage Guidelines:

Examples:

HP-IB(config)# telnet enable

Defaults: Telnet access is enabled by default.

Related Commands: “show system-services” (page 173) “ftp-server enable” (page 197)

210 Switch Command Line Interface

Page 210
Image 210
HP UX 11i v2 Networking Software manual Telnet, Table B-74 Snmp-server Command Keyword Descriptions