vlan dtag
Use this command to enable or disable double tagging packets with an outer-VLAN identifier and an inner-VLAN identifier.
An example of when to use this command is in a GPON application, where an S-tag uniquely identifies an OLT channel partition and a C-tag uniquely identifies a subscriber/service on that channel partition.
Use the no form of this command to not double tag packets.
Command Syntax
vlan dtag DTAG-VLAN-IDs bridge <1-32> state (enable|disable) subscriber
no vlan dtag DTAG-VLAN-IDs bridge <1-32>
Parameters
DTAG-VLAN-IDs
Outer-VLAN identifier and inner-VLAN identifier in the format 100.200, where 100 is the outer tag and 200 is the inner tag
<1-32>
Bridge number
enable
Enable double tagging
disable
Suspend double tagging
Default
No default value is specified
Command Mode
VLAN database mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
(config)#vlan database
(config-vlan)#vlan dtag 2000.3001 bridge 1 state enable subscriber
Last modified date: 07/13/2023