Configuring an ip interface, Using the command line interfaces – HP 445946-001 User Manual

Page 12

Advertising
background image

Accessing the switch

12

Using the command line interfaces

The command line interface (CLI) can be accessed via local terminal connection or a remote session using
Telnet or SSH. The CLI is the most direct method for collecting switch information and performing switch

configuration.
The HP 10GbE switch provides two CLI modes: The menu-based AOS CLI, and the tree-based ISCLI. You

can set the HP 10GbE switch to use either CLI mode.
The Main Menu of the AOS CLI, with administrator privileges, is displayed below:

[Main Menu]

info - Information Menu

stats - Statistics Menu

cfg - Configuration Menu

oper - Operations Command Menu

boot - Boot Options Menu

maint - Maintenance Menu

diff - Show pending config changes [global command]

apply - Apply pending config changes [global command]

save - Save updated config to FLASH [global command]

revert - Revert pending or applied changes [global command]

exit - Exit [global command, always available]

For complete information about the AOS CLI, see the HP 10Gb Ethernet BL-c Switch Command Reference

Guide.
The ISCLI provides a tree-based command structure, for users familiar with similar products.
An example of a typical ISCLI command is displayed below:

Switch(config)# spanning-tree stp 1 enable

For complete information about the ISCLI, refer to the ISCLI Reference Guide.

Configuring an IP interface

An IP interface address must be set on the switch to provide management access to the switch over an IP

network. By default, the management interface is set up to request its IP address from a Bootstrap Protocol

(BOOTP) server.
If you have a BOOTP server on your network, add the Media Access Control (MAC) address of the switch

to the BOOTP configuration file located on the BOOTP server. The MAC address can be found on a small
white label on the back panel of the switch. The MAC address can also be found in the System

Information menu (see the HP 10Gb Ethernet BL-c Switch Command Reference Guide or ISCLI Guide.) If

you are using a DHCP server that also does BOOTP, you do not have to configure the MAC address.
If you do not have a BOOTP server, you must manually configure an IP address.

Advertising