Syntax
burst-mode enable
undo burst-mode enable
View
System view
Parameter
None
Description
Use the burst-mode enable command to
enable the burst function.
Use the undo burst-mode enable
command to disable the burst function.
By default, the burst function is disabled.
Example
# Enable the burst function.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
[Sysname] burst-mode enable
Syntax
display priority-trust
View
Any view
Parameters
None
Description
Use the display
priority-trust command to display the priority trust mode on the current
switch.
Related
command: priority-trust.
Examples
# Display the priority trust mode on the
current switch.
<Sysname> display priority-trust
Priority trust mode: dscp
Syntax
display qos cos-local-precedence-map
View
Any view
Parameter
None
Description
Use the display
qos cos-local-precedence-map command to display the CoS-precedence-to-local-precedence
mapping table.
Related
command: qos cos-local-precedence-map.
Example
# Display
the CoS-precedence-to-local-precedence mapping table.
<Sysname> display qos cos-local-precedence-map
cos-local-precedence-map:
cos(802.1p) :
0 1 2 3 4 5 6 7 --------------------------------------------------------------------------
local
precedence(queue) : 1 0 0 1 2 2 3 3
Syntax
display qos dscp-local-precedence-map
View
Any view
Parameter
None
Description
Use the display qos dscp-local-precedence-map
command to display the DSCP-precedence-to-local-precedence mapping table.
Related command: qos dscp-local-precedence-map.
Example
# Display the
DSCP-precedence-to-local-precedence mapping table.
<Sysname> display qos dscp-local-precedence-map
dscp-local-precedence-map:
dscp :
local-precedence(queue)
----------------------------------------------
0 : 0
1 : 0
2 : 0
3 : 0
4 : 0
5 : 0
6 : 0
7 : 0
8 : 0
9 : 0
10 : 0
11 : 0
12 : 0
13 : 0
14 : 0
15 : 0
16 : 1
17 : 1
18 : 1
19 : 1
20 : 1
21 : 1
22 : 1
23 : 1
24 : 1
25 : 1
26 : 1
27 : 1
28 : 1
29 : 1
30 : 1
31 : 1
32 : 2
33 : 2
34 : 2
35 : 2
36 : 2
37 : 2
38 : 2
39 : 2
40 : 2
41 : 2
42 : 2
43 : 2
44 : 2
45 : 2
46 : 2
47 : 2
48 : 3
49 : 3
50 : 3
51 : 3
52 : 3
53 : 3
54 : 3
55 : 3
56 : 3
57 : 3
58 : 3
59 : 3
60 : 3
61 : 3
62 : 3
63 : 3
1.1.5 display
qos-global
Syntax
display qos-global { all | mirrored-to | traffic-limit | traffic-priority
| traffic-redirect | traffic-statistic }
View
Any view
Parameter
all: Displays all the QoS-related
configuration.
traffic-limit: Displays the global traffic policing configuration.
traffic-priority: Displays the global priority marking configuration.
traffic-redirect: Displays the global traffic redirecting configuration.
traffic-statistics: Displays the global traffic accounting configuration.
Description
Use the display qos-global command
to display the QoS-related configuration performed for all the packets.
Example
# Display all the QoS configurations
performed for all the packets on an S3100 series switch.
<Sysname> display qos-global
all
global: traffic-limit inbound:
Matches: Acl 2000 rule 0 running
Target rate: 128 Kbps
Conform action: remark-cos
excellent-effort
Exceed action: drop
meter-statistic running
62284 byte outprofile
82521 byte inprofile
Table 1-1 Description on the fields of
the display qos-global command
|
Field
|
Description
|
|
Inbound
|
Packet direction
|
|
Matches
|
ACL rules for traffic classifying
|
|
Target rate
|
Traffic policing target rate
|
|
Conform action
|
Action conducted to packet conforming to
the traffic specification
|
|
Exceed action
|
Action conducted to packets exceeding the
traffic specification
|
|
meter-statistic running
|
The function of collecting traffic
policing statistics information is enabled (meter-statistic not running
indicates that the function is not enabled)
|
|
62284 byte outprofile
|
Size of the packets exceeding the traffic
specification (in bytes)
|
|
82521 byte inprofile
|
Size of the packets conforming to the
traffic specification (in bytes)
|
Syntax
display qos-interface { interface-type interface-number | unit-id } all
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the QoS
configuration information is to be displayed.
unit-id:
Unit ID, which is fixed to 1. With this argument specified, the QoS-related configuration
of all the ports on the device is displayed.
Description
Use the display qos-interface all
command to display the QoS-related configuration of a port or all the ports on
the device.
Example
# Display the QoS-related configuration of
Ethernet 1/0/1.
<Sysname> display qos-interface Ethernet
1/0/1 all
Ethernet1/0/1:
line-rate
Inbound: 1024 Kbps
Ethernet1/0/1:
Queue scheduling mode: weighted
round robin
weight of queue 0: 12
weight of queue 1: 8
weight of queue 2: 4
weight of queue 3: 1
Table 1-2 Description on the fields of
the display qos-interface all command
|
Field
|
Description
|
|
line-rate
|
Port with rate limiting configured
|
|
Inbound
|
Inbound direction. That is, rate limiting
is performed to the inbound packets
|
|
1024 Kbps
|
The target rate
|
|
Queue scheduling mode
|
Queue scheduling algorithm adopted
|
|
weight of queue 0
|
Scheduling weight for queue 0
|
Syntax
display qos-interface { interface-type interface-number | unit-id } line-rate
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the line rate
configuration information is to be displayed.
unit-id:
Unit ID, which is fixed to 1. With this argument specified, the rate limiting configuration
of all the ports on the device is displayed.
Description
Use the display qos-interface line-rate
command to display the rate limiting configuration of a port or all the ports
on the device.
Related command: line-rate.
Example
# Display the rate limiting configuration
of Ethernet 1/0/1.
<Sysname> display qos-interface
Ethernet 1/0/1 line-rate
Ethernet1/0/1: line-rate
Inbound: 128 Kbps
Refer to Table 1-2 for the description on the
output fields.
1.1.8 display qos-interface mirrored-to
Syntax
display qos-interface { interface-type interface-number | unit-id } mirrored-to
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the traffic mirroring
configuration information is to be displayed.
unit-id: Unit
ID, which is fixed to 1. With this argument specified, the traffic mirroring configuration
of all the ports on the device is displayed.
Description
Use the display qos-interface mirrored-to
command to display the traffic mirroring configuration of a port or all the
ports on the device.
Related command: mirrored-to.
Example
# Display the traffic mirroring configuration
of Ethernet 1/0/1 on an S3100 series switch.
<Sysname> display qos-interface
Ethernet 1/0/1 mirrored-to
Ethernet1/0/1: mirrored-to
Inbound:
Matches: Acl 2000 rule 0 running
Mirrored to: monitor interface
Table 1-3 Description on the fields of
the display qos-interface mirrored-to command
|
Field
|
Description
|
|
Ethernet1/0/1:
|
Port with traffic mirroring configured
|
|
Inbound
|
Inbound direction. That is, traffic
mirroring is performed to the inbound packets.
|
|
Matches
|
Match rule used for traffic
classification
|
|
Mirrored to
|
l
“monitor interface” indicates that
the packets are duplicated to a port.
l
“cpu” indicates that the packets
are duplicated to the CPU.
|
Syntax
display qos-interface { interface-type interface-number | unit-id } traffic-limit
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the traffic policing
configuration information is to be displayed.
unit-id: Unit
ID, which is fixed to 1. With this argument specified, the traffic policing configuration
of all the ports on the device is displayed.
Description
Use the display qos-interface traffic-limit
command to display the traffic policing configuration of a port or all the
ports on the device. This command also displays the traffic policing
statistics.
Related command: traffic-limit.
Example
# Display the traffic policing
configuration and the corresponding statistics on Ethernet 1/0/1.
<Sysname>
display qos-interface Ethernet 1/0/1 traffic-limit
Ethernet1/0/1:
traffic-limit
Inbound:
Matches: Acl 2001 rule 0 running
Target rate: 128 Kbps
Conform action: remark-cos video
Exceed action: drop
meter-statistic running
12 byte outprofile
24 byte inprofile
Refer to Table 1-1 for the description on the
output fields.
Syntax
display qos-interface { interface-type interface-number | unit-id } traffic-priority
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the priority
marking configuration information is to be displayed.
unit-id: Unit
ID, which is fixed to 1. With this argument specified, the priority marking configuration
of all the ports on the device is displayed.
Description
Use the display qos-interface
traffic-priority command to display the priority marking configuration of a
port or all the ports on the device.
Related command: traffic-priority.
Example
# Display the priority marking
configuration of Ethernet 1/0/1.
<Sysname> display qos-interface
Ethernet 1/0/1 traffic-priority
Ethernet1/0/1: traffic-priority
Inbound:
Matches: Acl 2000 rule 0 running
Priority action: cos
controlled-load
Table 1-4
Description on the fields of the display qos-interface
traffic-priority command
|
Field
|
Description
|
|
Ethernet1/0/1
|
Port with priority marking configured
|
|
Inbound
|
Packet direction
|
|
Matches
|
ACL rules for traffic classifying
|
|
Priority action
|
Priority marking action
l cos indicates that the CoS precedence of packets is marked
l dscp indicates that the DSCP precedence of packets is marked
l local-precedence indicates that the Local precedence of packets is
marked
|
Syntax
display qos-interface { interface-type interface-number | unit-id } traffic-redirect
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the traffic
redirecting configuration information is to be displayed.
unit-id: Unit
ID, which is fixed to 1. With this argument specified, the traffic redirecting configuration
of all the ports on the device is displayed.
Description
Use the display qos-interface traffic-redirect
command to display the traffic redirecting configuration of a port or all the
ports on the device.
Related command: traffic-redirect.
Example
# Display
the traffic redirecting configuration of Ethernet 1/0/1.
<Sysname> display qos-interface
Ethernet 1/0/1 traffic-redirect
Ethernet1/0/1: traffic-redirect
Inbound:
Matches: Acl 2000 rule 0 running
Redirected to: interface
Ethernet1/0/2
Table 1-5
Description on the fields of the display qos-interface
traffic-redirect command
|
Field
|
Description
|
|
Ethernet1/0/1
|
Port with traffic redirecting configured
|
|
Inbound
|
Packet direction
|
|
Matches
|
ACL rules for traffic classification
|
|
Redirected to
|
l
“interface” indicates that the
packets are redirected to the port.
l
“cpu” indicates that the packets are
redirected to the CPU.
|
Syntax
display qos-interface { interface-type interface-number | unit-id } traffic-shape
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the traffic
shaping configuration information is to be displayed.
unit-id: Unit
ID, which is fixed to 1. With this argument specified, the traffic shaping configuration
of all the ports is displayed.
Description
Use the display qos-interface traffic-shape
command to display the traffic shaping configuration of a port or all the ports
on the device.
Related command: traffic-shape.
Example
# Display the traffic shaping configuration
of Ethernet 1/0/1.
<Sysname> display qos-interface
Ethernet 1/0/1 traffic-shape
Ethernet1/0/1
QID: status max-rate(kbps)
burst-size(byte)
----------------------------------------------------
0 : Enable
64 8
1 : Enable
64 8
2 : Enable 640 16
3 : Disable
0 0
Table 1-6
Description on the fields of the display qos-interface
traffic-shape command
|
Field
|
Description
|
|
Ethernet1/0/1
|
Port with traffic shaping configured
|
|
QID
|
Queue ID
|
|
status
|
traffic shaping status of a queue
|
|
max-rate(kbps)
|
Maximum traffic rate of a queue
|
|
burst-size(byte)
|
Burst size of a queue
|
1.1.13 display qos-interface
traffic-statistic
Syntax
display qos-interface { interface-type interface-number | unit-id } traffic-statistic
View
Any view
Parameter
interface-type interface-number: Specifies the type and number of a port, for which the traffic
accounting configuration information is to be displayed.
unit-id: Unit
ID, which is fixed to 1. With this argument specified, the traffic accounting configuration
of all the ports on the device is displayed.
Description
Use the display
qos-interface traffic-statistic command to display the traffic accounting configuration
of a port or all the ports on the device. This command also displays traffic
statistics.
Related command: traffic-statistic.
Example
# Display the traffic accounting configuration
information and traffic statistics on Ethernet 1/0/1.
<Sysname> display qos-interface
Ethernet 1/0/1 traffic-statistic
Ethernet1/0/1: traffic-statistic
Inbound:
Matches: Acl 2000 rule 0 running
8251 packet
Table 1-7
Description on the fields of the display qos-interface
traffic-statistic command
|
Field
|
Description
|
|
Ethernet1/0/1
|
Port with the traffic accounting function
configured
|
|
Inbound
|
Packet direction
|
|
Matches
|
ACL rules for traffic classification
|
|
8251 packet
|
Statistics on matched packets
|
Syntax
display qos-port-group [ group-id ] { all | mirrored-to | traffic-limit
| traffic-priority | traffic-redirect | traffic-statistic
}
View
Any view
Parameter
group-id:
Port group ID, in the range 1 to 100. If this argument is not specified, the
QoS information of all the port groups is displayed.
all:
Displays all the QoS-related configurations of a port group.
traffic-limit: Displays the traffic policing configuration of a port group.
traffic-priority: Displays the priority marking configuration of a port group.
traffic-redirect: Displays the traffic redirecting configuration of a port group.
traffic-statistics: Displays the traffic accounting configuration of a port group.
Description
Use the display qos-port-group
command to display specific QoS-related configuration of a port group.
Example
# Display all the QoS-related configurations
of port group 1.
<Sysname> display
qos-port-group 1 all
Port-group 1 traffic-limit
Inbound:
Matches: Acl 3001 rule 0 running
Target rate: 128 Kbps
Exceed action: drop
meter-statistic not running
Refer to Table 1-1 for the description on the
output fields.
Syntax
display qos-vlan [ vlan-id ] { all | mirrored-to | traffic-limit
| traffic-priority | traffic-redirect | traffic-statistic
}
View
Any view
Parameter
vlan-id: VLAN ID, in the range 1 to 4094. If this argument is not
specified, the QoS configuration performed for all the VLANs is displayed.
all:
Displays all the QoS-related configurations performed for packets of a VLAN.
traffic-limit: Displays the traffic policing configuration performed for packets of
a VLAN.
traffic-priority: Displays the priority marking configuration performed for packets of
a VLAN.
traffic-redirect: Displays the traffic redirecting configuration performed for
packets of a VLAN.
traffic-statistics: Displays the traffic accounting configuration performed for packets
of a VLAN.
Description
Use the display qos-vlan command to
display the QoS-related configuration performed for a VLAN.
Example
# Display all the QoS-related configuration
performed for VLAN 1.
<Sysname> display qos-vlan 1 all
Vlan 1 traffic-limit
Inbound:
Matches: Acl 3001 rule 0 running
Target rate: 128 Kbps
Exceed action: drop
meter-statistic not running
Refer to Table 1-1 for the description on the
output fields.
Syntax
display queue-scheduler
View
Any view
Parameter
None
Description
Use the display queue-scheduler
command to display the queue scheduling mode and corresponding configuration.
Related command: queue-scheduler.
Example
# Display the queue scheduling mode and
corresponding configuration.
<Sysname> display queue-scheduler
Queue scheduling mode: weighted
round robin
weight of queue 0: 1
weight of queue 1: 2
weight of queue 2: 3
weight of queue 3: 4
Syntax
line-rate {
inbound | outbound } target-rate
undo line-rate{ inbound | outbound }
View
Ethernet port view
Parameter
inbound:
Limits the inbound packet rate.
outbound:
Limits the outbound packet rate.
target-rate:
Total target rate (in kbps). The range of this argument varies with port type
as follows:
l
Fast Ethernet port: 64 to 99,968;
l
GigabitEthernet port: 64 to 1,000,000.
The granularity of port rate limit is 64
Kbps. Assume that the value you provide for the target-rate argument is
in the range N*64 to (N+1)*64 (N is a natural number), it will be rounded off
to (N+1)*64.
Description
Use the line-rate command to limit
the rate of the inbound or outbound packets on a port.
Use the undo line-rate command to
cancel the port rate limiting configuration.
By default, rate limiting is disabled on a
port.
Related command: display qos-interface
line-rate.
With multicast
storm suppression or traffic policing configured on a device, the line rate
(LR) function is not applicable to any port of the device. Refer to the Port
Basic Configuration module for the detailed information about multicast
storm suppression.
Example
# Limit the outbound traffic rate to 128
kbps on Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] line-rate outbound
128
# Display the line rate configuration
on Ethernet 1/0/1.
[Sysname-Ethernet1/0/1] display
qos-interface Ethernet 1/0/1 line-rate
Ethernet1/0/1: line-rate
Outbound: 128