R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
477
Examples
# Display information about IPv6 local PBR and IPv6 interface PBR.
<Sysname> display ipv6 policy-based-route
Policy Name interface
pr02 local
pr01 GigabitEthernet 2//1
Table 104 Command output
Field Description
Policy Name Routing policy name.
Local Local PBR.
GigabitEthernet 2//1 The policy is applied to GigabitEthernet 2//1 to implement IPv6 PBR.
display ipv6 policy-based-route setup
Use display ipv6 policy-based-route setup to display PBR configuration.
Syntax
In standalone mode:
display ipv6 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 ipv6 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: Specifies a policy name, a string of 1 to 19 characters.
interface interface-type interface-number: Displays the IPv6 PBR configuration on the specified interface.
local: Displays the IPv6 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.