Display PBR configuration. display ip policy-based-route setup
Display interface PBR configuration and
statistics (centralized devices).
display ip policy-based-route interface interface-type
interface-number
Display interface PBR configuration and
statistics (distributed devices–centralized IRF
devices–in standalone mode).
display ip policy-based-route interface interface-type
interface-number [ slot slot-number ]
Display interface PBR configuration and
statistics (distributed devices–in IRF mode).
display ip policy-based-route interface interface-type
interface-number [ chassis chassis-number slot slot-number ]
Clear PBR statistics. reset ip policy-based-route statistics [ policy policy-name ]
Packet type-based interface PBR configuration
example
Network requirements
As shown in Figure 70, configure PBR on Switch A to forward all TCP packets received on VLAN-interface
11 to the next hop 1.1.2.2. Switch A forwards other packets according to the routing table.
Figure 70 Network diagram
Configuration procedure
1. Configure Switch A:
# Configure ACL 3101 to match TCP packets.