R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

319
Examples
# Display PBR configuration for policy pr01.
<Sysname> display ip policy-based-route setup pr01
policy Name interface
pr01 Ethernet1/1
# Display PBR configuration on Ethernet 1/1.
<Sysname> display ip policy-based-route setup interface ethernet 1/1
Interface Ethernet1/1 policy based routing configuration information:
policy-based-route: pr01
permit node 1
if-match acl 3101
apply output-interface Serial2/0
# Display local PBR configuration.
<Sysname> display ip policy-based-route setup local
Local policy based routing configuration information:
policy-based-route: pr01
permit node 1:
if-match acl 3101
apply output-interface Serial2/0
Table 61 Command output
Field Description
policy Name Policy name.
interface
Interface where the policy is applied. Local means the
policy is applied locally.
Interface Ethernet1/1 policy based routing
configuration information
PBR configuration on Ethernet 1/1.
Local policy based routing configuration information
Local PBR information.
policy-based-route Policy name.
permit node The match mode is permit.
if-match acl Match packets against ACL.
apply output-interface Serial2/0 Specify the output interface.
display ip policy-based-route statistics
Use display ip policy-based-route statistics to display PBR statistics.
Syntax
display ip policy-based-route statistics { interface interface-type interface-number | local } [ | { begin |
exclude | include } regular-expression ]
Views
Any view