hit counter script

Configuring Static Unicast Routes - Cisco Catalyst 3550 series Software Configuration Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Chapter 31
Configuring IP Unicast Routing
Beginning in privileged EXEC mode, follow these steps to change the maximum number of parallel
paths installed in a routing table from the default:
Command
Step 1
configure terminal
Step 2
router {bgp |rip | ospf | igrp | eigrp}
Step 3
maximum-paths maximum
Step 4
end
Step 5
show ip protocols
Step 6
copy running-config startup-config
Use the no maximum-paths router configuration command to restore the default value.

Configuring Static Unicast Routes

Static unicast routes are user-defined routes that cause packets moving between a source and a
destination to take a specified path. Static routes can be important if the router cannot build a route to a
particular destination and are useful for specifying a gateway of last resort to which all unroutable
packets are sent.
Beginning in privileged EXEC mode, follow these steps to configure a static unicast route:
Command
Step 1
configure terminal
Step 2
ip route prefix mask {address | interface} [distance]
Step 3
end
Step 4
show ip route
Step 5
copy running-config startup-config
Use the no ip route prefix mask global configuration command to remove a static route.
The switch retains static routes until you remove them. However, you can override static routes with
dynamic routing information by assigning administrative distance values. Each dynamic routing
protocol has a default administrative distance, as listed in
overridden by information from a dynamic routing protocol, set the administrative distance of the static
route higher than that of the dynamic protocol.
Table 31-16 Dynamic Routing Protocol Default Administrative Distances
Route Source
Connected interface
Static route
78-11194-09
Purpose
Enter global configuration mode.
Enter router configuration mode.
Set the maximum number of parallel paths for the protocol routing
table. The range is from 1 to 8; the default is 4 for most IP routing
protocols, but only 1 for BGP.
Return to privileged EXEC mode.
Verify the setting in the Maximum path field.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Establish a static route.
Return to privileged EXEC mode.
Display the current state of the routing table to verify
the configuration.
(Optional) Save your entries in the configuration file.
Table
Default Distance
0
1
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring Protocol-Independent Features
31-16. If you want a static route to be
31-77

Advertisement

Table of Contents
loading

Table of Contents