show policy-routing

Displays information on policy-based routing (PBR) at the global or interface level.
Syntax
show policy-routing { ipv4 | ipv6 { global | interface { all | ethernet [ unit/slot/port ] |lag [ id ] | ve [ id ] } } }
Parameters
ipv4
Specifies that PBR information be shown for IPv4 protocol.
ipv6
Specifies that PBR information be shown for IPv6 protocol.
global
Displays IPv4 or IPv6 global PBR configuration and ports.
interface
Displays interface-level PBR information.
all
Displays information for all interfaces configured with PBR.
ethernet [unit/slot/port ]
Displays PBR information for all Ethernet interfaces or for a specified port.
lag [ id ]
Displays PBR information for all LAGs or for a specified LAG.
ve [ id ]
Displays PBR information for all virtual interfaces or for a specified virtual interface.
Modes

User EXEC mode

Examples

The following examples show the IPv4 policy-based routing applied on device interfaces.

device# show policy-routing ipv4 global 
        Configured, pbrmap, Active
        Active Port List: 
        ethernet 
                1/1/2, 1/1/3, 1/1/4, 1/1/5, 1/1/6, 1/1/7, 1/1/8, 1/1/9
        ve 
                Ve 131, Ve 132
device# show policy-routing ipv4 interface all
ve 11 :
        Configured, pbrmap, Active
device# show policy-routing ipv4 interface ethernet
ethernet 1/1/1: 
        Configured, pbrmap, Active
device# show policy-routing ipv4 interface ethernet 1/1/1
ethernet 1/1/1: 
        Configured, pbrmap, Active

The following examples show the IPv6 policy-based routing applied on device interfaces.

device# show policy-routing ipv6 global 
        Configured, pbrv6_rmap, Active
        Active Port List: 
        ve 
                Ve 131, Ve 132
device# show policy-routing ipv6 interface all
ve 11 :
        Configured, pbrv6_rmap, Active
device# show policy-routing ipv6 interface ve   
ve 11 :
        Configured, pbrv6_rmap, Active
device# show policy-routing ipv6 interface ve 11
ve 11: 
        Configured, pbrv6_rmap, Active
History
Release version Command history
08.0.95 This command was introduced.