switchport customer-edge hybrid
Use this command to set the switching characteristics of the Layer 2 customer-facing interface to hybrid. Both tagged and untagged frames will be classified over hybrid interfaces.
Command Syntax
switchport customer-edge hybrid allowed vlan add VLAN_ID
switchport customer-edge hybrid allowed vlan remove VLAN_ID
switchport customer-edge hybrid allowed vlan all
switchport customer-edge hybrid allowed vlan none
Parameters
add
Add a VLAN to transmit and receive through the Layer 2 interface.
VLAN_ID
ID of the VLAN <2-4094>.
remove
Remove a VLAN from the member set.
VLAN_ID
ID of the VLAN <2-4094>.
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
(config)#interface eth0
(config-if)#switchport customer-edge hybrid allowed vlan add 2
Last modified date: 07/13/2023