187
View
Traffic behavior view
Default level
2: System level
Parameters
vlan-id
: Specifies a customer VLAN (CVLAN) ID, ranging from 1 to 4094.
Description
Use
remark customer-vlan-id
to add a CVLAN marking action to a traffic behavior.
Use
undo remark customer-vlan-id
to remove the action from the traffic behavior.
Examples
# Configure traffic behavior
b1
to mark matching packets with CVLAN 111.
<Sysname> system-view
[Sysname] traffic behavior b1
[Sysname-behavior-b1] remark customer-vlan-id 111
remark service-vlan-id
Syntax
remark service-vlan-id vlan-id
undo remark service-vlan-id
View
Traffic behavior view
Default level
2: System level
Parameters
vlan-id
: Specifies a service-provider VLAN (SVLAN) ID, ranging from 1 to 4094.
Description
Use
remark service-vlan-id
to add an SVLAN marking action to a traffic behavior.
Use
undo remark service-vlan-id
to remove the action from the traffic behavior.
Examples
# Configure traffic behavior
b1
to mark matching packets with SVLAN 222.
<Sysname> system-view
[Sysname] traffic behavior b1
[Sysname-behavior-b1] remark service-vlan-id 222