Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Configure PBR on 3560 Layer 3 ports

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

2 REPLIES
New Member

Re: Configure PBR on 3560 Layer 3 ports

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?

New Member

Re: Configure PBR on 3560 Layer 3 ports

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

http://www.cisco.com/en/US/customer/products/sw/iosswrel/ps1828/products_configuration_guide_chapter09186a00800ca590.html#4766

128
Views
0
Helpful
2
Replies
CreatePlease to create content