R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
304
display ip policy-based-route setup
Use display ip policy-based-route setup to display PBR configuration.
Syntax
In standalone mode:
display ip policy-based-route setup { policy-name | interface interface-type interface-number [ slot
slot-number ] | local [ slot slot-number ] } [ | { begin | exclude | include } regular-expression ]
In IRF mode:
display ip policy-based-route setup { policy-name | interface interface-type interface-number [ chassis
chassis-number slot slot-number ] | local [ chassis chassis-number slot slot-number ] } [ | { begin |
exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
policy-name: Displays the PBR configuration of the specified policy by its name, a string of 1 to 19
characters.
interface interface-type interface-number: Displays the PBR configuration on the specified interface.
local: Displays the local PBR information.
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument represents the ID of the IRF member device, and the slot-number argument represents the
number of the slot that holds the card. (In IRF mode.)
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display PBR configuration for policy pr01.
<Sysname> display ip policy-based-route setup pr01
policy Name interface
pr01 GigabitEthernet2/1/1
# Display PBR configuration on GigabitEthernet 2/1/1.
<Sysname> display ip policy-based-route setup interface gigabitethernet2/1/1
Interface GigabitEthernet2/1/1 policy based routing configuration information:
policy-based-route:pr01
permit node 1: