HP UX 11i v2 Networking Software manual Advanced Switch Setup, Configuring the System Hostname

Models: UX 11i v2 Networking Software

1 236
Download 236 pages 18.16 Kb
Page 81
Image 81

Advanced Switch Setup

“Configuring the System Hostname”

“Testing Network Connectivity ”

“Setting User Levels and Passwords”

“Logging Onto the System ”

“Managing the Switch”

Configuring the System Hostname

The system allows you to assign a hostname to the system for management purposes. To assign a hostname to the management port:

1.Start a CLI session.

2.Enter the privileged-user mode.

HP-IB> enable HP-IB#

3.Enter the global-configuration mode.

HP-IB# configure HP-IB(config)#

4.Enter the hostname command with the name you wish to assign.

The hostname command assigns a convenient name to the system that shows up at the CLI prompt.

HP-IB(config)# hostname MyHost

NOTE: This command also changes the CLI prompt. The new hostname is applied immediately, however, the prompt does not change until you change modes. For example, the prompt changes when you exit the global-configuration mode.

Testing Network Connectivity

Refer to “Attach Cable Guides & Cables” (page 45) for information regarding connecting network devices.

After you install network cables, you can verify connectivity by pinging those devices from the CLI or pinging between attached hosts.

Pinging an IP address

To verify the device recognizes and successfully links HP Fabric-attached hosts, enter the ping command on one host and specify the IP address of another connected host.

# ping 10.2.65.50

PING 10.2.0.50 (10.2.0.50) from 10.2.0.41 : 56(84) bytes of data.

64 bytes from 10.2.0.50: icmp_seq=0 ttl=64 time=164 usec

64 bytes from 10.2.0.50: icmp_seq=1 ttl=64 time=144 usec

6 packets transmitted, 6 packets received, 0% packet loss round-trip min/avg/max/mdev = 0.135/0.147/0.164/0.017 ms

#

To verify the switch device can reach a host on the network, enter either the user-execute or privileged-execute mode, then enter the ping command.

HP-IB# ping 10.10.253.47

Sending 5 ICMP Echos to 10.10.253.47, 56 data bytes

!!!!!

Success rate is 100 percent (5/5)

Switch Administration and Management 81

Page 81
Image 81
HP UX 11i v2 Networking Software Advanced Switch Setup, Configuring the System Hostname, Testing Network Connectivity