R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
502
# Display the PBR routing information on GigabitEthernet 0/1.
<Sysname> display ip policy-based-route setup interface GigabitEthernet 0/1
Interface GigabitEthernet0/1 policy based routing configuration information:
policy-based-route: pr01
permit node 1
if-match acl 3101
apply output-interface GigabitEthernet0/2
# Display the local PBR routing information.
<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 GigabitEthernet0/2
Table 107 Command output
Field Description
policy Name Policy name
interface
Interface where the policy is applied. Local means the
policy is applied locally.
Interface GigabitEthernet0/1 policy based routing
configuration information
PBR routing information on GigabitEthernet 0/1
Local policy based routing configuration information
Local PBR information
policy-based-route Policy name
permit node 1
The match mode is permit, and the policy has a node
(node 1).
if-match acl 3101 Match packets against ACL 3101
apply output-interface GigabitEthernet0/2 The outgoing interface is GigabitEthernet 0/2.
display ip policy-based-route statistics
Syntax
display ip policy-based-route statistics { interface interface-type interface-number | local } [ | { begin |
exclude | include } regular-expression ]
View
Any view
Default 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.