04-16-2010 04:51 AM - edited 03-06-2019 10:39 AM
What is the best method to configure a different DG for each VLAN.I have two internet routers connected to the switch and I would like to route specific VLANs over each ISP connection. Can I simply define a unique DG for each VLAN interface ?
04-16-2010 04:56 AM
You can configure PBR to achieve that.
04-16-2010 06:09 AM
Thanks, will I be able to set and apply the route-map to a VLAN interface, instead of a physical port ?
04-16-2010 06:25 AM
Yes
you can apply PBR on vlan interface
04-17-2010 03:12 AM
I have created the following ACL and Route-map, to route all traffic in VLAN 161 to Router 192.168.161.19. However the last command does not work, how do I apply the route-map policy to the vlan interface 161 ? Also will the other Vlans continue to use the switch's Default Gateway?
!! define port for ATT Router
int gigabitethernetn/n/n
desc ATT EVPN Router
no switchport
!! create ACL to match traffic
access-list 101 permit ip 192.168.161.0 0.0.0.255 any
!! create route-map
route-map reroute161traffic permit 10
match ip address 101
set ip next-hop 192.168.161.19
!!! apply route-map to interface
int vlan161
ip policy route-map reroute161traffic (This does not work)
04-17-2010 03:36 AM
What software image are you running? Only "IP Services" support PBR on switch.
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