OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Provider Bridging Commands : switchport customer-network vlan
switchport customer-network vlan
Use this command to set the default SVLAN ID for the Customer Network Port. This CLI is supported only on Q2 platform.
Command Syntax
switchport customer-network vlan <2-4094>
no switchport customer-network vlan
Parameters
<2-4094>
Set the default VLAN ID for the interface.
Default
Default Customer Network VLAN is 1.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 6.2.0
Examples
In this example, the xe1 interface allows C-TAG/untagged traffic from customers, adding SVLAN ID 100 before forwarding to the provider network. While egressing out, the SVLAN ID 100 will be stripped out.
(config)#interface xe1
(config-if)#switchport
(config-if)#dot1ad ethertype 0x88a8
(config-if)#bridge-group 1
(config-if)#switchport mode customer-network
(config-if)#switchport customer-network allowed vlan add 100
(config-if)#switchport customer-network vlan 100
 
Last modified date: 10/12/2023