Chapter 3
Configuring the Switch IP Address and Default Gateway
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
-------------
enabled
The primary gateway: 10.1.1.1
Destination
---------------
default
default
default
10.0.0.0
default
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:
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.
OL-8978-04
Redirect
Unreachable
--------
-----------
enabled
enabled
Gateway
RouteMask
---------------
----------
10.1.1.1
0x0
10.1.1.20
0x0
10.1.1.10
0x0
10.1.1.100
0xff000000
default
0xff000000
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Configuring the SLIP (sl0) Interface on the Console Port
Flags
Use
Interface
-----
--------
---------
UG
6
sc0
G
0
sc0
G
0
sc0
U
75
sc0
UH
0
sl0
Command
enable
set interface sl0 slip_addr dest_addr
show interface
slip attach
Command
enable
slip detach
3-9