OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : Provider Bridging Commands : switchport provider-network
switchport provider-network
Use this command to set the switching characteristics of the provider-network interface.
Command Syntax
switchport provider-network allowed vlan add VLAN_RANGE2
switchport provider-network allowed vlan remove VLAN_RANGE2
switchport provider-network allowed vlan except VLAN_RANGE2
switchport provider-network allowed vlan all
switchport provider-network allowed vlan none
Parameters
add
Add a VLAN to transmit and receive through the Layer 2 interface.
VLAN_RANGE2
VLAN ID 1-4094 or range(s): 2-5 10 or 2-5 7-20.
remove
Remove a VLAN from the member set.
VLAN_RANGE2
VLAN ID 1-4094 or range(s): 2-5 10 or 2-5 7-20.
Except
All VLANs except these VLANs are part of the member set.
VLAN_RANGE2
VLAN ID 1-4094 or range(s): 2-5 10 or 2-5 7-20.
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 provider-network allowed vlan add 2
 
Last modified date: 07/13/2023