Table of Contents

Configuring the Supervisor Software

Configuring the Supervisor Software

This chapter describes the initial configuration of the Catalyst 5000 series switches and explains how to configure such functions as Internet Protocol (IP) addressing and Simple Network Management Protocol (SNMP).

Before you can use Telnet to connect to the switch or SNMP to manage your network, you must assign an IP address. Up to eight simultaneous Telnet sessions are possible. If your Telnet station or SNMP network management workstation is on a different network from the switch, you must add a static routing table entry to the routing table entering the set ip route command.

The configurable Catalyst 5000 series features have default values that will most likely suit your environment, and you might not need to change them. For definitions of all commands discussed in this chapter, refer to the Catalyst 5000 Series Command Reference publication.

Default Configuration

The default values of the features for the Catalyst 5000 series switch follow:

Customizing the Configuration

You configure the switch through the CLI using three types of commands: set, show, and clear. Enter the set commands to establish switch parameters. After each set command, enter the show command to verify that you have entered the correct values and configured the switch correctly. If you make errors, enter the set or clear command to overwrite or erase the parameter.

For a list of available commands, enter set help, show help, or clear help. To display the command usage, enter the command and the word help, as the following example shows:

Console> (enable) set spantree hello help
Usage: set spantree hello <interval> [vlan]
      (interval = 1..10, vlan = 1..1000)

Preparing for Installation

Before you begin to configure your supervisor software, obtain the following information:


Note After SLIP is enabled and attached on the console port, an EIA/TIA-232 terminal cannot access the Catalyst 5000 series switch through this port.

Establishing the Console Port Connection

After installing and connecting the switch, perform these steps to start up and access the switch. Refer to the Catalyst 5000 Series Installation Guide for details about how to install and connect the Catalyst 5000 series switch to a terminal.

Task Command
Step 1 Turn ON the power to the switch and the console terminal. None
Step 2 Access the console port using the console terminal. None
Step 3 At the Enter password: prompt, press Return. None
Step 4 Enter privileged mode. enable-Switch Command
Step 5 At the Enter password: prompt, press Return. None

After turning on the power to the switch and console terminal, you see this initial bootup display:

ATE0
ATS0=1
 
Catalyst 5000 Power Up Diagnostics
 
Init NVRAM Log 
LED Test 
ROM CHKSUM 
DUAL PORT RAM r/w 
RAM r/w 
RAM address test 
Byte/Word Enable test 
RAM r/w 55aa 
RAM r/w aa55 
EARL test 
BOOTROM Version 2.1, Dated Dec  5 1996 16:49:40
BOOT date: 00/00/00 BOOT time: 03:18:57
SIMM RAM address test 
SIMM Ram r/w 55aa 
SIMM Ram r/w aa55 
Start to Uncompress Image ...
IP address for Catalyst not configured
BOOTP will commence after the ports are online
Ports are coming online ...
Cisco Systems Console
Enter password:
Thu Mar 21 1996  03:20:41    Module 1 is online
 
Enter Password: 
Thu Mar 21 1996  03:20:41    Module 2 is online
 
Enter Password: 
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Sending RARP request with address 00:40:0b:6c:2b:ff
Sending bootp request with address: 00:40:0b:6c:2b:ff
Console>
Console> enable
Enter password:
Console> (enable)

Note The system only initiates a BOOTP or Reverse Address Resolution Protocol (RARP) request when the sc0 interface is set to 0.0.0.0 or when you enter the command clear config all.

Setting the System Information

Although not required, it is recommended that you set several system parameters as part of the initial system setup. To set the system parameters, perform the following steps in privileged mode:

Task Command
Step 1 Set the system contact. set system contact contact_string
Step 2 Set the system location string. set system location location_string
Step 3 Set the system name. set system name name_string
Step 4 Set the system clock. set time day_of_week mm/dd/yy hh:mm:ss
Step 5 Set the system prompt. set prompt prompt_string
Step 6 Set password protection for entering the command line in normal mode. set password
Step 7 Set password protection for entering the command line in privileged mode. set enablepass

Setting the Interface Type

To set the interface type, perform these steps in privileged mode:

Task Command
Step 1 If you are using a local network connection to the console port, set the logical port sc0. Assign the Catalyst 5000 IP address to a VLAN. set interface sc0 up

set interface sc0 ip_address [netmask [broadcast]]

set interface sc0 vlan_num ip_address

Step 2 If you are using a SLIP connection to the console port, set the slip port sl0. set interface sl0 up

set interface slip_address dest_address

Step 3 Configure static routes. set ip route destination gateway [metric]
Step 4 Configure a default route, if desired. set ip route destination gateway metric
Step 5 Check the status of the configuration of the switch. show interface
Step 6 Display the route table entries of the configuration. show ip route

You need to configure static routes entering the set ip route command if your Telnet station or SNMP network management workstation is on a different network from the switch.

After entering the show interface command, you see this display:

Console> (enable) show interface
sl0:  flags=10<DOWN,POINTOPOINT>
        vlan1 inet 0.0.0.0 netmask 0.0.0.0 broadcast 0.0.0.0
sc0:  flags=863<UP,BROADCAST,RUNNING>
         inet 0.0.0.0 netmask 0.0.0.0 broadcast 0.0.0.0 
Console> (enable)

After entering the set interface sc0 up command and the set ip route command, you see this display:

Console> (enable) set interface sc0 up
Interface sc0 administratively up.
Console> (enable) set interface sc0 192.200.11.44 255.255.255.0 \
	192.200.11.255
Interface sc0 IP address and netmask set.
Console> (enable) set interface sl0 up 
Interface sl0 administratively up.
Console> (enable) set interface sl0 192.200.10.45 192.200.10.103
Interface sl0 SLIP and destination address set.
Console> (enable) set interface sc0 5 
Interface sc0 vlan set.
Console> (enable) set ip route default 192.122.173.42
Route added.

After the set interface command has been executed, the show interface command shows this configuration:

Console> (enable) show interface
sl0:  flags=10<DOWN,POINTOPOINT>
         inet 192.200.10.45 netmask 192.200.10.45 broadcast 192.200.10.103
sc0:  flags=863<UP,BROADCAST,RUNNING>
         inet 192.200.11.44 netmask 255.255.255.0 broadcast 192.200.11.255 
Console> (enable)

After entering the show ip route command, you see this display:

Console> (enable) show ip route
Redirect
--------
enabled
Destination     Gateway         Flags   Use         Interface
--------------- --------------- ------  ----------  ---------
default         192.122.173.42   UG           59444  sc0
192.22.74.0     192.22.74.223    U                5  sc0
Console> (enable)

Configuring SLIP on the Console Port

To configure the console port for SLIP, perform these steps:

Task Command
Step 1 Access the switch from a remote host with Telnet. None
Step 2 Set the IP address of the console port. set interface slip_address dest_address
Step 3 Enable the serial line interface protocol for the console port. slip attach
Caution  The SLIP connection must use the console port. While this connection is active, you lose your console port connection. If you are connected to the command line through the serial port and you enter the slip attach command, you will lose the console port connection. In that case, use Telnet to access the command line, enter privileged mode, and type slip detach to restore the console port or reset the switch.

Note The command line is not accessible from a direct local terminal. You must use SLIP to access it.

Creating a BOOTP Server

IP address information can be set using BOOTP protocol. You can configure a BOOTP server with the Media Access Control (MAC) and IP addresses of the switch. When the switch boots, it automatically retrieves the IP address from the BOOTP server.

The switch performs a BOOTP request only if the current IP address is set to 0.0.0.0. This is the default for a new switch or a switch with a cleared configuration file entering the clear config all command.

To configure a workstation as a BOOTP server, you must determine the MAC address of the switch and add that MAC address to the BOOTP configuration file on the server. To create a BOOTP server on a Sun workstation, perform these steps:

Task Command
Step 1 Install the BOOTP server code on the workstation, if it is not already installed. None
Step 2 Obtain the first address in the MAC address range for VLAN 1 in module 1 (the supervisor module). Choose the last address in the range on line 1 under the MAC-Address(es) heading. show module
Step 3 Add an entry in the BOOTP configuration file (usually /usr/etc/bootptab) for each Catalyst 5000 series switch. Press Return after each entry to create a blank line between each entry. None

Testing the Configuration

After you configure the IP address(es), test the connection between the switch and a host. The host can reside anywhere in your network. To test for connectivity, perform these steps:

Task Command
Step 1 Test the configuration by entering the ping command. The ping command sends an echo request to the host specified in the command line. ping host
Step 2 If necessary, reset the configuration to its default values, and reenter the configuration information. clear config

Note The host must be connected to a port with an address on the same IP network, or you must configure a static route entry to reach the host network. Refer to the set ip route command in the Catalyst 5000 Series Command Reference publication.

To test connectivity from the switch to a workstation with an IP address of 192.34.56.5, enter the command ping 192.34.56.5. If the switch receives a response, you see the following message:

192.34.56.5 is alive

Note Parameters set through the administrative interface remain set even if you disconnect power to the switch. The clear config all command returns all parameters to their default values.


Copyright 1989-1997 © Cisco Systems Inc.