OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Provider Bridging Commands : switchport customer-edge
switchport customer-edge
Use this command to set the switching characteristics of the layer 2 interface and the default customer VLAN.
Use the no form of this command to remove a customer VLAN.
Command Syntax
switchport customer-edge (access|hybrid) vlan <1-4094>
no switchport customer-edge (access|hybrid) vlan
Parameters
access
Set the layer 2 interface as access.
hybrid
Set the layer 2 interface as hybrid.
<1-4094>
Set the default VID for the interface.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#switchport customer-edge access vlan 3
 
(config)#interface eth0
(config-if)#no switchport customer-edge access vlan
Last modified date: 07/06/2023