Command Line Interface

STATE [STATE]

Specifies one of the following administrative states for the specified port:

Online—Places the port online. This activates and prepares the port to send data.

Offline—Places the port offline. This prevents the port from receiving signal and accepting a device login.

Diagnostics—Prepares the port for testing. This prepares the port for testing and prevents the port from accepting a device login.

Down—Disables the port by removing power from the port lasers.

Set Setup command

Changes SNMP and system configuration settings. The switch maintains one SNMP configuration and one system configuration.

Authority

Admin

Syntax

SET SETUP

Keywords

SNMP

Prompts you in a line-by-line fashion to change SNMP configuration settings. Table 55 describes the SNMP parameters. For each parameter, enter a new value or press Enter to accept the current value shown in brackets.

Table 55: SNMP configuration settings

Entry

Description

SNMPEnabled

Enables (True) or disables (False) SNMP on the switch. The

 

default is True.

 

 

Contact

Specifies the name of the person to be contacted to respond to

 

trap events. The name can be up to 64 characters excluding #,

 

semicolon (;), and comma (,). The default is undefined.

 

 

Location

Specifies the name of the switch location. The name can be up

 

to 64 characters excluding #, semicolon (;), and comma (,).

 

The default is undefined.

 

 

Trap [1-5] Address

Specifies the workstation IP address to which SNMP traps are

 

sent. The default address for trap 1 is 10.0.0.254. The default

 

address for traps 2–5 is 0.0.0.0. Addresses, other than

 

0.0.0.0, for all traps must be unique.

 

 

Trap [1-5] Port

Specifies the workstation port to which SNMP traps are sent.

 

Valid workstation port numbers are 1–65535. The default is

 

162.

 

 

Trap [1-5] Severity

Specifies the severity level to use when monitoring trap events.

 

The default is Warning

 

 

Trap [1-5] Version

Specifies the SNMP version (1 or 2) to use in formatting traps.

 

The default is 2.

 

 

Trap [1-5] Enabled

Specifies whether traps (event information) are enabled or

 

disabled (default).

 

 

HP StorageWorks 2/8q Fibre Channel Switch Management User Guide

147

Page 147
Image 147
HP 2/8q Fibre Channel manual Set Setup command, Admin