F3215-HP Load Balancing Module Network Management Command Reference-6PW101
333
Examples
# Display information about local PBR and interface PBR.
<Sysname> display ip policy-based-route
Policy Name interface
pr02 local
pr02 Virtual-Template0
pr01 GigabitEthernet 0/1
Table 70 Command output
Field Descri
p
tion
Policy Name Policy name.
interface
PBR type.
This field displays local for a local PBR or a specific interface (such as GigabitEthernet
0/1) to which the policy has been applied to implement interface PBR.
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 | local } [ |
{ 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.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see System Management 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 GigabitEthernet0/1