1-26
remark-vlan remark-vlanid: Specified the target VLAN ID, to which the VLAN IDs of the packets
matching specific ACL rules are to be mapped.
Description
Use the traffic-remark-vlanid command to enable VLAN mapping and set the target VLAN ID for
packets matching specific ACL rules.
Use the undo traffic-remark-vlanid command to disable VLAN mapping for packets matching specific
ACL rules.
Related commands: display qos-interface traffic-remark-vlanid.
Examples
# Enable VLAN mapping on Ethernet 1/0/1 to map the VLAN IDs of the inbound packets sourced from
VLAN 5 to VLAN ID 1001.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule permit source 5
[Sysname-acl-ethernetframe-4000] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-remark-vlanid inbound link-group 4000 remark-vlan 1001
wred
Syntax
wred queue-index qstart probability
undo wred queue-index
View
Ethernet port view
Parameters
queue-index: Queue number in the range of 0 to 7.
qstart: Number of the packets contained in the queue, in the range 1 to 128.
probability: Dropping probability in the range of 0 to 92 (in percentage).
Description
Use the wred command to enable the WRED function.
Use the undo wred command to restore the default.
By default, the WRED function is disabled.