03-08-2006 08:31 AM - edited 03-03-2019 11:59 AM
The 3560 switch has two WAN routes, I want to force all ip traffic out int g0/1 not g0/26. Even though the default route is set to router on port g0/1, the traffic is going out g0/26. Can someone give me the commands to accomplish this? Thanks!
int g0/1
description "To DSS Router"
no switchport
ip address 10.10.100.2 255.255.255.252
interface GigabitEthernet0/26
description "to MM CommCampus"
no switchport
ip address 10.0.100.1 255.255.255.252
ip route 0.0.0.0 0.0.0.0 10.10.100.1
03-08-2006 08:48 AM
your default route points to Gi0/1 but maybe you have better route (best match) via Gi0/26... Could you check? Or provide a "sh ip route" from this device?
03-08-2006 10:13 AM
1. create a route map
route-map whatever permit 10
match ip address 101
set ip next-hop verify-availability ip-of-next-hop 10 track 10
2. create an acces-list to create a match criteria
access-list 101 permit whatever to whaterver
3.apply the policy to the interface
int g0/1
ip policy route-map whatever
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