show pbr

Syntax

show pbr {interface <INTERFACE-NAME>|vrf <VRF-NAME>|summary} 

Description

Shows a detailed view of Policy Based Routing (PBR) in the system.

Command context

Operator (>) or Manager (#)

Parameters

<VRF-NAME>

Specifies name of the VRF.

<INTERFACE-NAME>

Specifies name of the interface.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

show pbr summary command when there is no active next-hop in the system:

switch# show pbr summary
VRF      
         Port   
                Policy    
                          PBR      Seq  Type       Nexthop
--------------------------------------------------------------------
No active PBR nexthop found  
--------------------------------------------------------------------

show pbr summary command when there are active next-hops in the system:

switch# show pbr summary

VRF      
         Port   
                Policy    
                          PBR      Seq  Type       Nexthop
--------------------------------------------------------------------
default  1/1/1  policy_1  pbr_1    10   nexthop    1.1.1.1 (active)
         1/1/2  policy_2  pbr_2    20   nexthop    5.5.5.5 (active)  
--------------------------------------------------------------------