R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
306
display ip policy-based-route setup
Use display ip policy-based-route setup to display PBR configuration.
Syntax
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 ]
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.
The following matrix shows the option and router compatibility:
Option 6602 HSR6602 6604/6608/6616
slot slot-number No Yes
Yes
|: 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:
if-match acl 3101
apply output-interface Serial2/2/0
# Display local PBR configuration.
<Sysname> display ip policy-based-route setup local










