Chapter 3
Configuring the Switch IP Address and Default Gateway
To enable and attach SLIP on the console port, perform this task:
Task
Step 1
Access the switch from a remote host with Telnet. telnet {host_name | ip_addr}
Step 2
Enter privileged mode on the switch.
Step 3
Set the console port SLIP address and the
destination address of the attached host.
Step 4
Verify the SLIP interface configuration.
Step 5
Enable SLIP for the console port.
To disable SLIP on the console port, perform this task:
Task
Step 1
Access the switch from a remote host with Telnet. telnet {host_name | ip_addr}
Step 2
Enter privileged mode on the switch.
Step 3
Disable SLIP for the console port.
This example shows how to configure SLIP on the console port and verify the configuration:
sparc20% telnet 172.20.52.38
Trying 172.20.52.38 ...
Connected to 172.20.52.38.
Escape character is '^]'.
Cisco Systems, Inc. Console
Enter password:
Console> enable
Enter password:
Console> (enable) set interface sl0 10.1.1.1 10.1.1.2
Interface sl0 slip and destination address set.
Console> (enable) show interface
sl0: flags=51<UP,POINTOPOINT,RUNNING>
sc0: flags=63<UP,BROADCAST,RUNNING>
me1: flags=62<DOWN,BROADCAST,RUNNING>
Console> (enable) slip attach
Console Port now running SLIP.
Console> (enable) slip detach
SLIP detached on Console port.
Console> (enable)
78-12647-02
slip 10.1.1.1 dest 10.1.1.2
vlan 522 inet 172.20.52.38 netmask 255.255.255.240 broadcast 172.20.52.7
inet 10.1.1.100 netmask 255.255.255.0 broadcast 10.1.1.255
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Configuring the SLIP (sl0) Interface on the Console Port
Command
enable
set interface sl0 slip_addr dest_addr
show interface
slip attach
Command
enable
slip detach
3-9