10-18-2007 09:03 PM - edited 03-03-2019 07:14 PM
Hi,
Does this command
ip route 10.64.0.0 255.240.0.0 192.168.50.2 20 tag 102
overwrites this command
ip route 10.64.0.0 255.240.0.0 192.168.50.2 10 tag 101
? or vise versa?
Thanks in advance
Abd Alqader
Solved! Go to Solution.
10-18-2007 11:27 PM
Routes must have different next-hop in order to be different, otherwise they're considered as the same route so second command overwrites first one.
10-18-2007 10:16 PM
Hi,
The tag is use to reference a route in a route map for making policy decision.
You have two floating static route diferrentiated by their administrative distance of 10 and 20. I don't think the routes overwrite each other by the tag.
Regards,
Dandy
10-18-2007 11:22 PM
Hi Dandy,
Yes, this is right. But, why when i apply these two static routes at Cisco 6509 switch, the last one applied is the one appeared at the show running?
Thanks
Abd Alqader
10-18-2007 11:27 PM
Routes must have different next-hop in order to be different, otherwise they're considered as the same route so second command overwrites first one.
10-19-2007 12:18 AM
Hi,
I didn't noticed the next hop which is the same. The second one will overwrite the first one with or without tag.
Regards,
Dandy
10-19-2007 02:21 AM
yes, you are right.
Thanks
10-29-2007 11:10 PM
Hi i have 2 ISP connected to cisco 2811 router, i want to configure a failover on wan side what can i do. i made some configuration on it using route-map ang policy list but it didnt work
my config is
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 2 permit 192.168.2.0 0.0.0.255
!
ip policy-list group1-s1/0 permit
match ip add 1
match int s1/0
!
ip policy-list group1-s1/1 permit
match ip add 1
match int s1/1
!
ip policy-list group2-s1/0 permit
match ip add 2
match int s1/0
!
ip policy-list group2-s1/1 permit
match ip add 2
match int s1/1
!
route-map group 1 permit 1
match policy-list group1-s1/0
match policy-list group1-s1/1
!
route-map group 2 permit
match policy-list group1-s1/0
match policy-list group1-s1/1
!
int s1/0
ip nat outside
ip policy route-map group1
!
int s1/1
ip nat outside
ip policy route-map group2
!
ip nat inside source list route-map group1 int s1/0
ip nat inside source list route-map group2 int s1/1
06-27-2018 09:55 PM
You're correct. It's been almost 11 years since you wrote this post. I thought you might like to hear that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide