OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : Provider Bridging Commands : switchport customer-edge trunk
switchport customer-edge trunk
Use this command to set the Layer2 interface as trunk.
Command Syntax
switchport customer-edge trunk allowed vlan add VLAN_ID
switchport customer-edge trunk allowed vlan remove VLAN_ID
switchport customer-edge trunk allowed vlan all
switchport customer-edge trunk allowed vlan none
Parameters
add
Add a VLAN to the member set.
VLAN_ID
Specify a VLAN ID <2-4094>
remove
Remove a VLAN from the member set.
all
Allow all VLANs to transmit and receive through the Layer 2 interface.
none
Allow no VLANs to transmit and receive through the Layer 2 interface.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth1
(config-if)#switchport customer-edge trunk allowed vlan add 12
Last modified date: 07/13/2023