OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Provider Bridging Commands : switchport provider-network vlan translation
switchport provider-network vlan translation
Use this command to add a translation table entry for CVLAN and SVLAN on a provider network port.
Use the no form of this command to delete a translation table entry for CVLAN and SVLAN on a provider network port.
Command Syntax
switchport provider-network vlan translation (cvlan <2-4094>| ) svlan <2-4094> (cvlan <2-4094> | ) svlan <2-4094>
no switchport (provider-network) vlan translation svlan VLAN_ID svlan VLAN_ID
no switchport (provider-network) vlan translation cvlan <1-4095> svlan <1-4095>
Parameters
cvlan
CVLAN to translate
<2-4094>
CVLAN identifier to translate
svlan
SVLAN to translate
<2-4094>
SVLAN identifier to translate
cvlan
Translated CVLAN
<2-4094>
Translated CVLAN identifier
svlan
Translated SVLAN
<2-4094>
Translated SVLAN identifier
scos
Class of Service in the Priority Code Point (PCP) field of the service provider tag (STAG)
<0-7>
Class-of-service value
scfi
Canonical Format Indicator in the Drop Eligible Indicator (DEI) field of the STAG
<0-1>
Canonical Format Indicator value
ccos
Class of Service in the PCP field of the customer tag (CTAG)
<0-7>
Class-of-service value
ccfi
Canonical Format Indicator in the DEI field of the CTAG
<0-1>
Canonical Format Indicator value
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#switchport
(config-if)#bridge-group 1
(config-if)#switchport mode provider-network
(config-if)#switchport provider-network allowed vlan all
(config-if)#switchport provider-network vlan translation cvlan 2 svlan 3 cvlan 4 svlan 5
Last modified date: 10/12/2023