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

320
Default command level
1: Monitor level
Parameters
interface interface-type interface-number: Displays the statistics of PBR on the specified interface.
local: Displays the statistics of local PBR.
|: 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.
Usage guidelines
Packets matching a deny-mode node are forwarded according to the routing table. Therefore, no
statistics are available for such packets.
Examples
# Display the statistics of PBR on Ethernet 1/1.
<Sysname> display ip policy-based-route statistic interface ethernet 1/1
Interface Ethernet1/1 policy based routing statistics information:
policy-based-route: aaa
permit node 5
if-match acl 3101
apply output-interface Serial2/0
matched: 0
Total matched: 0
Table 62 Command output
Field Description
Interface Ethernet1/1 policy based
routing statistics information
PBR statistics on Ethernet 1/1.
policy-based-route: aaa Policy name.
permit node The match mode of node is permit.
if-match acl Match packets against ACL.
apply output-interface Output interface.
matched Matching packets on the node.
Total matched Total matching packets on all nodes.
display policy-based-route
Use display policy-based-route to display PBR policy information.
Syntax
display policy-based-route [ policy-name ] [ | { begin | exclude | include } regular-expression ]