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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Policy based routing qry!


I have a question regarding PBR that i have set up and the packet forward behaviour that is confusing me..

Setup as below

[Network A]--- Router with PBR---- Router with PBR----- Switch with PBR ----- (Interface a shared Trunk)Cisco ASA (multicontext FW) ---- [Network B]

                                                                                          |_ _ _ _ _ _ _ _(Interface b dedicated Vlan) _ _|

I have configured PBR along the path till Switch and can see packets being matched in route-map... when i set next hop ip as IP of Cisco ASA interface that is shared i dont see any packets being matched on the switch. While if i change next hop ip as IP of Cisco ASA dedicated inteface i see packets being matched.

Switch is learning same MAC for shared interface which is running multiple VLANS, is switch confusing on where to send the frame/packet when multiple IPs/networks are on same mac address?

I guess my question would be how can i achieve PBR on trunk interface? How would switch forward packets to appropriate IP on ASA?

Any help will be appreciated.



Hall of Fame Super Silver

Policy based routing qry!

Hello Amar,

what is the switch model and the IOS version running on it?

PBR works inbound and should be able to support an SVI L3 interface that is associated to a VLAN permitted on a L2 trunk.

However, there are caveats and limitations that are platform specific so it is important to provide further information on the involved switch

Hope to help


New Member

Policy based routing qry!

Hi Giuseppe,

Please refer below

Switch Ports Model              SW Version            SW Image                

------ ----- -----              ----------            ----------              

*    1 24    WS-C3750G-24T      12.2(50)SE2           C3750-IPSERVICESK9-M

The current template is "desktop routing" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

  number of unicast mac addresses:                  3K
  number of IPv4 IGMP groups + multicast routes:    1K
  number of IPv4 unicast routes:                    11K
    number of directly-connected IPv4 hosts:        3K
    number of indirect IPv4 routes:                 8K
  number of IPv4 policy based routing aces:         0.5K
  number of IPv4/MAC qos aces:                      0.5K
  number of IPv4/MAC security aces:                 1K

let me know if require further information....


Hall of Fame Super Silver

Policy based routing qry!

Hello Amar,

your switch should be fine for PBR

you can find PBR configuration guidelines here


This software release does not support PBR when processing IPv4 and IPv6 traffic. 

there are other constraints that are described in the configuration guide.

Hope to help