22-55
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter22 Configuring IP Unicast Routing Configuring Protocol-Independent Features
Beginning in privileged EXEC mode, follow these steps to change the maximum number of parallel
paths installed in a routing table from the default:
Use the no maximum-paths router configuration command to restore the default value.
Configuring Static Routes
Static 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. They are also useful for specifying a gateway o f l a st resort to which all unroutable packets
are sent.
Beginning in privileged EXEC mode, follow these steps to configure a static route:
Use the no ip route prefix mask {address | interface} global configuration command to remove a static
route.
This is an example of output from the show ip route privileged EXEC command with a static route
configured:
Switch# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 172.20.135.193 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 172.20.135.193
C 172.20.0.0/14 is directly connected, Vlan1
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 router {rip | ospf | igrp | eigrp} Enter router configuration mode.
Step3 maximum-paths maximum Set the maximum number of parallel paths for t he pro toco l rout ing
table. The range is from 1 to 8; the default is 4.
Step4 end Return to privileged EXEC mode.
Step5 show ip protocols Verify the setting in the Maximum path field.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 ip route prefix mask {address | interface} [distance] Establish a static route.
Step3 end Return to privileged EXEC mode.
Step4 show ip route Display the current state of the routing table to verify
the configuration.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.