3-9
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 3 Configuring the Switch IP Address and Default Gateway
Configuring the SLIP (sl0) Interface on the Console Port
Console> (enable)
set ip route default 10.1.1.10
Route added.
Console> (enable)
set ip route default 10.1.1.20
Route added.
Console> (enable)
set ip route default 10.1.1.1 primary
Route added.
Console> (enable)
show ip route
Fragmentation Redirect Unreachable
------------- -------- -----------
enabled enabled enabled
The primary gateway: 10.1.1.1
Destination Gateway RouteMask Flags Use Interface
--------------- --------------- ---------- ----- -------- ---------
default 10.1.1.1 0x0 UG 6 sc0
default 10.1.1.20 0x0 G 0 sc0
default 10.1.1.10 0x0 G 0 sc0
10.0.0.0 10.1.1.100 0xff000000 U 75 sc0
default default 0xff000000 UH 0 sl0
Console> (enable)
Configuring the SLIP (sl0) Interface on the Console Port
Use the SLIP (sl0) interface for point-to-point SLIP connections between the switch and an IP host.
Caution
You
must
use the console port for the SLIP connection. When the SLIP connection is enabled and SLIP
is attached on the console port, an EIA/TIA-232 terminal cannot connect through the console port. If you
are connected to the switch CLI through the console port and you enter the
slip attach
command, you
will lose the console port connection. Use Telnet to access the switch, enter privileged mode, and enter
the
slip detach
command to restore the console port connection.
To enable and attach SLIP on the console port, perform this task:
To disable SLIP on the console port, perform this task:
Task
Command
Step 1
Access the switch from a remote host with Telnet.
telnet
{
host_name
|
ip_addr
}
Step 2
Enter privileged mode on the switch.
enable
Step 3
Set the console port SLIP address and the
destination address of the attached host.
set interface sl0
slip_addr dest_addr
Step 4
Verify the SLIP interface configuration.
show interface
Step 5
Enable SLIP for the console port.
slip attach
Task
Command
Step 1
Access the switch from a remote host with Telnet.
telnet
{
host_name
|
ip_addr
}
Step 2
Enter privileged mode on the switch.
enable
Step 3
Disable SLIP for the console port.
slip detach