Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

need help on route map configuration

We have 2 datacenters in 2 locations. we are running EIGRP in Datacenters and BGP between them. Now need to create route map for a new subnet so that traffic to and from the new datacenter uses secondary VPN link rather primary MPLS link

1 REPLY
Hall of Fame Super Blue

Re: need help on route map configuration

efnetwork wrote:

We have 2 datacenters in 2 locations. we are running EIGRP in Datacenters and BGP between them. Now need to create route map for a new subnet so that traffic to and from the new datacenter uses secondary VPN link rather primary MPLS link

Assuming subnet = 192.168.5.0 255.255.255.0

Destination DC subnet(s) = 192.168.10.0/24 192.168.11.0/24

access-list 101 permit ip 192.168.5.0 0.0.0.255 192.168.10.0 0.0.0.255

access-list 101 permit ip 192.168.5.0 0.0.0.255 192.168.11.0 0.0.0.255

route-map PBR permit 10

match ip address 101

set ip next-hop x.x.x.x  <-- where x.x.x.x is the IP address of the next-hop towards the VPN link

then on the new subnet interface -

int vlan 10

ip policy route-map PBR

So the above will send all traffic from 192.168.5.0/24 to 192.168.10.0/24 and 192.168.11.0/24 via the next-hop in your route-map.

Note whether or not PBR is supported depends on the device (and sometimes feature set) you are trying to apply it to.

Jon

191
Views
0
Helpful
1
Replies
CreatePlease to create content