Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-20
Example
# Mirror packets that match ACL 2000 on VLAN 1 to Ethernet 1/0/2 through traffic
mirroring.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet1/0/2
[Sysname-Ethernet1/0/2] monitor-port
[Sysname-Ethernet1/0/2] quit
[Sysname] mirrored-to vlan 1 inbound ip-group 2000 monitor-interface
# Display the traffic mirroring configuration of VLAN 1.
<Sysname> display qos-vlan 1 mirrored-to
Vlan 1 mirrored-to
Inbound:
Matches: Acl 2000 rule 1 running
Mirrored to: monitor interface
1.1.20 priority
Syntax
priority
priority-level
undo priority
View
Ethernet port view
Parameter
priority-level
: Port priority, ranging from 0 to 7.
Description
Use the
priority
command to configure the priority of an Ethernet port.
Use the
undo priority
command to restore the default port priority.
By default, the priority of an Ethernet port is 0.
Example
# Set the priority of Ethernet 1/0/1 to 6.
<Sysname> system-view
System View: return to User View with Ctrl+Z.