[previous] Clear Spacer [next]


Displaying and Changing IP-related Information

You can display and change IP-related information for the current Switch unit in the stack using the commands on the IP menu. These commands allow you to:

Specifying IP and SLIP Information

You can specify IP and SLIP information for the current Switch unit in the stack using the define command on the IP/Interface menu.

To carry out this command for the first time after installing your switch, you need to connect a terminal or terminal emulator to the console port using a null modem cable. See "Setting Up Command Line Interface Management"on page 36 for more information about connecting to the console port.

To specify the IP and SLIP information:

1 .   At the Top-level menu, enter:

ip interface define

The following prompt is displayed, allowing you to enter an IP address for the Switch:
Enter IP address [0.0.0.0]:

For more information about IP addresses, see "IP Addresses".

2 .   Enter a valid IP address.

The following prompt is displayed, allowing you to enter a subnet mask for the Switch:
Enter subnet mask [0.0.0.0]:

For more information about subnet masks, see "Subnets and Using a Subnet Mask".

3 .   Enter a subnet mask, if required.

The following prompt is displayed, allowing you to enter the IP address of the default router in your network:
Enter default gateway [0.0.0.0]:

4 .   If your network contains a router, enter the IP address.

The following prompt is displayed:
Enter SLIP address [192.168.101.1]:

If you want to manage the stack using the web interface through the console port of the Switch, you need to set up Serial Line Interface Protocol (SLIP) information for the Switch. A SLIP address is similar to an IP address, but it is used for serial line connections to console ports. We recommend that you use the default address 192.168.101.1.

For more information, see "Serial Web Utility".

5 .   Enter a SLIP address, if required.

The following prompt is displayed:
Enter SLIP subnet mask [255.255.255.0]:

A SLIP subnet mask is an IP subnet mask that is used for serial line connections to console ports.

6 .   Enter a SLIP subnet mask, if required.

Displaying IP and SLIP Information

You can display IP and SLIP information for the current Switch unit in the stack using the display command on the IP/Interface menu.

For more information about IP and SLIP, see "Managing a Switch Over the Network".

To display the IP and SLIP information:

ip interface display

The IP and SLIP information for the Switch is displayed.

An example of the IP and SLIP information is shown below:
IP address
191.100.40.120
Subnet mask:
255.255.0.0
Default gateway:
191.100.40.121
SLIP address:
191.100.40.120
SLIP subnet mask
255.255.0.0

Enabling and Disabling BOOTP

If you have a BOOTP server on your network, you can use that server to allocate IP information for the Switch units in the stack automatically.

You can specify whether the Switch uses BOOTP by using the bootp command on the IP/Interface menu.

To specify that the Switch uses BOOTP:

1 .   At the Top-level menu, enter:

ip interface bootp

The following prompt is displayed:
Enter new value (enable, disable) [enable]:

2 .   Enter enable to specify that the Switch uses BOOTP, or disable to specify that it does not.

In order for BOOTP to work, the IP configuration must be set to 0.0.0.0. Use the ip initializeConfig command to clear any existing IP configuration. For more information, see "Resetting the IP Configuration" on page 137.

After BOOTP is enabled, you need to power cycle the unit before BOOTP starts operating.

Pinging Other Devices

The PING feature allows you to send out a PING request to test whether devices on an IP network are accessible and functioning correctly. This feature is useful for testing that the stack is installed and set up correctly, and that your network connections are working.

You can PING other devices on your network using the ping command on the IP menu.

To PING a device:

1 .   At the top-level menu, enter:

ip ping

The following prompt is displayed:
Enter destination IP address:

2 .   Enter the IP address of the device that you want to PING.

The stack sends a single PING request to the specified device and a message similar to the following is displayed:
Starting ping, resolution of displayed time is 10 milli-sec

If the device is accessible and functioning correctly, a message similar to the following is displayed:
response from 191.128.40.121: 3 router hops. time = 10ms

If the device is not accessible, or is not functioning correctly, a message similar to the following is displayed:
No answer from 191.128.40.121

Resetting the IP Configuration

You can reset the IP configuration information for the whole stack back to factory defaults.

To do this:

1 .   At the top-level menu, enter:

ip initializeConfig

The following warning is displayed:

WARNING: This change will lock out all SNMP, Telnet and Web based management access.

Do you wish to continue (yes/no) [no]:

2 .   Enter yes to reset the IP configuration.

[previous] Clear Spacer [next]