06-21-2006 12:20 AM - edited 03-03-2019 03:44 AM
Hi,
I am working on anetwork design that requires 3 x Route-maps to be applied on a single VLAN (using a 4948-E). The purpose is that depending where the traffic is going i want to set a different next hope (1 of 2 firewalls)
but when i add in the route maps to teh vlan and the do "sh run" the VLAN interface has only the last added route-map ?
can a single VLAN hold more than one route-map ? i know a normal physical interface can and they are used in sequence
config
access-list 101 permit ip 10.1.3.0 255.255.255.0 host 10.1.1.60
access-list 102 permit ip 10.1.3.0 255.255.255.0 host 10.1.1.70
access-list 103 permit ip 10.1.3.0 255.255.255.0 host 10.1.1.55
route-map destdb permit 1
match ip address 101
set ip default next-hop 10.1.4.1
route-map destdb2 permit 2
match ip address 102
set ip default next-hop 10.1.4.1
route-map destdb3 permit 3
match ip address 103
set ip default next-hop 10.1.5.1
interface vlan 4
ip policy route-map destdb
ip policy route-map destdb2
ip policy route-map destdb3
Solved! Go to Solution.
06-21-2006 12:48 AM
Hello Nathan,
The switch allows you to apply only one route-map per interface.
If you need to match more than one source, you can merge the three route-maps into one route-map.
Here is an example:
route-map destdb permit 10
match ip address 101
set ip default next-hop 10.1.4.1
route-map destdb permit 20
match ip address 102
set ip default next-hop 10.1.4.1
route-map destdb permit 30
match ip address 103
set ip default next-hop 10.1.5.1
interface vlan 4
ip policy route-map destdb
HTH
--Leon
* Please rate posts.
06-21-2006 12:48 AM
Hello Nathan,
The switch allows you to apply only one route-map per interface.
If you need to match more than one source, you can merge the three route-maps into one route-map.
Here is an example:
route-map destdb permit 10
match ip address 101
set ip default next-hop 10.1.4.1
route-map destdb permit 20
match ip address 102
set ip default next-hop 10.1.4.1
route-map destdb permit 30
match ip address 103
set ip default next-hop 10.1.5.1
interface vlan 4
ip policy route-map destdb
HTH
--Leon
* Please rate posts.
06-21-2006 12:53 AM
Oh ok,
so in this situation there is a single route-map but depending on what the destination address is the switch will allocate the next hop based on the access list.
let me give this a try
I will rate if it works ;)
Thanks
06-21-2006 01:13 AM
Ok well the switch took the config and gave this output
"show route-map destdb
route-map destdb, permit, sequence 1
Match clauses:
ip address (access-lists): 101
Set clauses:
ip default next-hop 10.1.3.10 10.1.4.1
Policy routing matches: 0 packets, 0 bytes
route-map destdb, permit, sequence 2
Match clauses:
ip address (access-lists): 102
Set clauses:
ip default next-hop 10.1.4.1
Policy routing matches: 0 packets, 0 bytes
route-map destdb, permit, sequence 3
Match clauses:
ip address (access-lists): 103
Set clauses:
ip default next-hop 10.1.5.1
Policy routing matches: 0 packets, 0 bytes"
so it should be good to go
Thanks
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