Other IP Commands
5-164 Configuring the Internet Protocol
Mode
Globalconfiguration:XSR(config)#
Examples
Thisexample,showninFigure 58,sets2staticroutestonetworks192.1.2.0and193.62.5.0through
gateway192.31.7.65.Notethatthedistanceis1(default),makingtheseroutespreferredincasea
dynamicroutingprotocolisrunningonthesamerouterwithitsownroutesforthesedestinations.
XSR(config)#ip route 192.1.2.0 255.255.255.0 192.31.7.65
XSR(config)#ip route 193.62.5.0 255.255.255.0 192.31.7.65
Figure 5-8 Static Route Example

ip route maximum_multiple

Thiscommandspecifiesthemaximumnumberofmultiplestaticrouteswhicharestaticroutes
havingthesamedestinationbutdifferentnexthops.
Syntax
ip route maximum_multiple value
Syntax of the “no” Form
Thenoformofthiscommandresetsthemaximumnumberofmultiplestaticroutestothedefault:
no ip route maximum_multiple
Mode
Globalconfiguration:XSR(config)#
Default
4
Example
Thefollowingexamplesetsthemaximumvalueto6:
XSR(config)#ip route maximum-multiple 6
192.1.2.0
193.62.5.0
192.31.7.65
INTERNET
Router 1 Router 2
value Maximumnumberofmultiplestaticroutesallowed,rangingfrom2to8.