Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-38
cos cos-value
: Sets the 802.1p precedence, in the range of 0 to 7. You can also enter a
keyword listed in
Table 1-14
for the
cos-value
argument.
local-precedence
pre-value
: Sets the local precedence. The
pre-value
argument
ranges from 0 to 3.
Description
Use the
traffic-priority vlan
command to mark the priority for packets that match
specific ACL rules and are of a VLAN.
Use the
undo traffic-priority vlan
to disable the priority marking for packets that
match specific ACL rules and are of a VLAN.
By default, priority marking is disabled on a VLAN.
Related command:
display qos-vlan
.
Note:
The priority marking function configured on a VLAN is only applicable to packets
tagged with 802.1Q header.
Example
# Set the 802.1p precedence to 1 for packets that match ACL 4000 and are of VLAN 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule permit cos 3 dest 000f-e200-1234
ffff-ffff-ffff
[Sysname] traffic-priority vlan 1 inbound link-group 4000 cos 1
1.1.34 traffic-redirect
Syntax
traffic-redirect
inbound
acl-rule
{
cpu
|
interface interface-type interface-number
}
undo traffic-redirect
inbound
acl-rule
View
System view, Ethernet port view, port group view
Parameter
inbound
: Redirects inbound packets.