Configure PBR on 3560 Layer 3 ports

Unanswered Question
Mar 8th, 2006
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
c.lemaire Wed, 03/08/2006 - 08:48
User Badges:

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?

todd.martin-02@... Wed, 03/08/2006 - 10:13
User Badges:


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




Actions

This Discussion