The remark cvlan-id command configures an action of re-marking the inner VLAN tag in QinQ packets in a traffic behavior.
The undo remark cvlan-id command deletes the configuration.
By default, an action of re-marking the inner VLAN tag in QinQ packets is not configured in a traffic behavior.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
Parameter |
Description |
Value |
---|---|---|
cvlan-id |
Specifies the inner VLAN tag of QinQ packets to be re-marked. |
The value is an integer that ranges from 1 to 4094. |
Usage Scenario
You can use the remark cvlan-id command to re-mark the inner VLAN tag in QinQ packets in a traffic behavior so that the downstream device can identify packets and provide differentiated services.
Follow-up Procedure
Run the traffic policy command to create a traffic policy and run the classifier behavior command in the traffic policy view to bind the traffic classifier to the traffic behavior containing the action of re-marking the inner VLAN tag in QinQ packets.
Precautions
The remark cvlan-id command is valid for only QinQ packets that carry two or more layers of tags.
After the remark cvlan-id, remark 8021p, add-tag vlan-id, and remark vlan-id commands are used, the system modifies VLAN tags of packets according to the configuration. These actions are called VLAN-based actions.
You must configure the VLAN-based action and non-VLAN-based action in different traffic behaviors bound to the same traffic policy.
If you run the remark cvlan-id command in the same traffic classifier view multiple times, only the latest configuration takes effect.