Switches, Hubs, and Modems
1748269 Members
3531 Online
108760 Solutions
New Discussion

How to add multiple route with priority

 
Srinivasalu.r
Advisor

How to add multiple route with priority

Hi,

i have one 5412zl switch which is connected to cisco.
one link from 5412 is connected to one cisco switch 3750&one more link is connected to another cisco switch 3750 this two cisco switch is connected to core switch 4506.

now my concern is i want to add multiple route in 5412 saying that.
1.first link is connected to one cisco switch 3750 if this goes down then automatically the traffic sholud pass from secondary link which is connected to one more cisco switch.

can any one suggets me how configure 5412 in this case.
5412-192.168.10.1
cisco 3750-172.16.110.1
cisco 3750-172.10.200.1
core 4506-172.9.300.1
1 REPLY 1
Natasha Samoylenko
Trusted Contributor

Re: How to add multiple route with priority

Hi

You can play with metric or administrative distance values.

Examples with distance:
sw(config)# ip route 172.9.300.1/32 172.16.110.1 distance 10
sw(config)# ip route 172.9.300.1/32 172.16.200.1 distance 20

If 172.16.110.1 is up (link is up), then traffic will go through it.
If 172.16.110.1 go down then second route through 172.16.200.1 will replace it.