![H3C S5500-EI series Скачать руководство пользователя страница 403](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960403.webp)
386
To do…
Use the command…
Remarks
Display the specified PBR routing
information
display ip policy-based-route setup
{
interface
interface-type interface-number
|
local
|
policy-name
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display PBR statistics
display ip policy-based-route statistics
{
interface
interface-type interface-number
|
local
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display the PBR policy information
display policy-based-route
[
policy-name
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Clear PBR statistics
reset policy-based-route statistics
[
policy-name
]
Available in user view
NOTE:
•
If a policy has a node with no
if-match
or
apply
clause configured, all packets can pass the policy.
However, no action is taken and the packets will not go to the next policy node for a match. The statistics
of PBR will be changed.
•
If a policy node has
if-match
clauses, but no
apply
clauses configured, packets will match against these
if-match
clauses. However, no
apply
clauses are applicable to the permitted packets, and the packets
will not go to the next policy node for a match. The statistics of PBR will be changed.
•
If a policy node has no
if-match
clause, but
apply
clauses configured, all packets can pass the policy,
and then are forwarded according to the
apply
clauses if the
permit
keyword is specified for the node,
or are denied if the
deny
keyword is specified. The packets will not go to the next policy node for a
match. The statistics of PBR will be changed.
•
If the match mode of a policy node is
deny
, no
apply
clause will be executed for the packets satisfying
all the
if-match
clauses, and the packets will not go to the next policy node for a match. They will be
forwarded according to the routing table instead. Neither debugging information nor statistics for the
deny
match mode can be displayed.
PBR configuration (using a QoS policy)
To do…
Use the command…
Remarks
Display user-defined QoS policy
configuration information
display qos policy user-defined
[
policy-name
[
classifier
tcl-name
]
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in
any view
Display QoS policy configuration on
the specified interface or on all
interfaces
display qos policy interface
[
interface-type
interface-number
] [
inbound
|
outbound
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in
any view
Display VLAN QoS policy
information
display qos vlan-policy
{
name
policy-name
|
vlan
vlan-id
} [
slot
slot-number
] [
inbound
|
outbound
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in
any view
Display information about global
QoS policies
display qos policy global
[
slot
slot-number
]
[
inbound
|
outbound
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in
user view