OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Provider Bridging Commands : cvlan svlan
cvlan svlan
Use this command to map one or more customer VLANs (CVLANs) to a service provider VLAN (SVLAN).
To update the optional QoS parameters cos-to-queue and remark-cos, execute the complete command along with the optional parameters. To remove these options, execute the same command by removing the optional parameters.
Refer qos profile commands from configuration guide for more details about qos profiles.
Use the no forms of this command to delete a mapping.
Command Syntax
cvlan VLAN_RANGE2 (cvlan VLAN_ID|) svlan VLAN_ID ({untagged-pep|untagged-cep}|)({cos-to-queue NAME | remark-cos}|)
no cvlan VLAN_RANGE2 svlan VLAN_ID
Parameters
cvlan
CVLAN
VLAN_RANGE2
VLAN identifier <1-4094> or range such as 2-5,10 or 2-5,7-19
cvlan
Translation of CVID
VLAN_ID
Translated CVID <1-4095>
svlan
SVLAN corresponding to the C-VLAN
VLAN_ID
VLAN identifier 1-4094>
untagged-pep
Provider edge port is untagged for this CVLAN
untagged-cep
Customer edge port is untagged for this CVLAN
cos-to-queue
 
Configure cos-to-queue map for cvlan
NAME
Ingress profile to modify queue/color on basis of c-cos
remark-cos
Remark Egress COS
Command Mode
CVLAN Registration mode
Applicability
This command was introduced before OcNOS version 1.3 and updated in OcNOS version 3.0.
Example
#configure terminal
(config)#cvlan registration table customer1 bridge 1
(config-cvlan-registration)#cvlan 2 svlan 3
(config-cvlan-registration)#cvlan 3 svlan 3 cos-to-queue c1 remark-cos
(config-cvlan-registration)#cvlan 100 cvlan 101 svlan 200 cos-to-queue p1 remark-cos
(config-cvlanregistration)#cvlan 3 svlan 3 remark-cos
(config-cvlan-registration)#cvlan 4 svlan 5 untagged-pep
(config-cvlan-registration)#cvlan 5 svlan 6 untagged-cep
(config-cvlan-registration)#no cvlan 3 svlan 3
(config-cvlan-registration)#cvlan 23 svlan 31 untagged-pep untagged-cep cos-to-queue p1 remark-cos
(config-cvlan-registration)#cvlan 15-16 svlan 18 untagged-cep remark-cos
Last modified date: 10/12/2023