This article describes the configuration of interface types and mapping of VLAN.
CLI Configurations
At Switch2
- 
Set the interface as CustomerEdgePort. 
 your product(config)# interface gigabitethernet 0/2
 your product(config-if)# bridge port-type customerEdgePort
- 
Create the VLAN and make interfaces as member ports of this VLAN and Port P2 as untagged member. 
 your product(config)# vlan 4
 your product(config-vlan)# ports gigabitethernet 0/2,0/3,0/4,0/5 untagged gigabitethernet 0/2
- 
Configure the CVID Registration table for the interface with CVLAN to map with SVLAN. 
 your product(config)# interface gigabitethernet 0/2
 your product(config-if)# switchport dot1q customer vlan 2
 your product(config-if)# switchport customer-vlan 2 service-vlan 4 untagged-pep false
- 
Configure the interface type as providerNetworkPort. 
 your product(config)# interface gigabitethernet 0/3
 your product(config-if)# bridge port-type providerNetworkPort
 your product(config-if)# exit
 your product(config)# interface gigabitethernet 0/4
 your product(config-if)# bridge port-type providerNetworkPort
 your product(config-if)# exit
 your product(config)# interface gigabitethernet 0/5
 your product(config-if)# bridge port-type providerNetworkPort
 your product(config-if)# exit
At Switch6
- Configure the interface type as customerNetworkPort port-based.
your product(config)# interface gigabitethernet 0/2
your product(config-if)# bridge port-type customerNetworkPort port-based
your product(config-if)# exit
- 
Create the VLAN and make interfaces as member ports of this VLAN and Port P2 as untagged member. 
 your product(config)# vlan 4
 your product(config-vlan)# ports gigabitethernet 0/2,0/3,0/4,0/5 untagged gigabitethernet 0/2
 your product(config-vlan)# exit
- 
Set the Primary Vlan (PVID) for an interface. 
 your product(config)# interface gigabitethernet 0/2
 your product(config-if)# switchport pvid 4
 your product(config-if)# exit
- 
Configure the interface type as providerNetworkPort. 
 your product(config)# interface gigabitethernet 0/3
 your product(config-if)# bridge port-type providerNetworkPort
 your product(config-if)# exit
 your product(config)# interface gigabitethernet 0/4
 your product(config-if)# bridge port-type providerNetworkPort
 your product(config-if)# exit
 your product(config)# interface gigabitethernet 0/5
 your product(config-if)# bridge port-type providerNetworkPort
 your product(config-if)# exit
SNMP Configurations
At Switch2
- 
Set the interface as customerEdgePort. [Index: Interface Number = 2] 
 % snmp0 set {{ifMainBrgPortType.2 customerEdgePort }}
- 
Create the VLAN and make interfaces as member ports of this VLAN and Port P2 as untagged member. 
 [Index: ContextID = 0, Vlan-ID = 4]
 % snmp0 set {{fsDot1qVlanStaticRowStatus.0.4 createAndWait }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 2]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.2 addUntagged }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 3]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.3 addTagged }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 4]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.4 addTagged }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 5]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.5 addTagged }}
 [Index: ContextID = 0, Vlan-ID = 4]
 % snmp0 set {{fsDot1qVlanStaticRowStatus.0.4 active }}
- 
Configure the CVID Registration table for interface with CVLAN to map with SVLAN. 
 [Index: Interface Number = 2]
 % snmp0 set {{fsMIPbPortCVlan.2 2 }}
 [Index: Interface Number = 2, Vlan-ID =2]
 % snmp0 set {{dot1adMICVidRegistrationRowStatus.2.2 createAndWait }}
 % snmp0 set {{dot1adMICVidRegistrationSVid.2.2 4 }}
 % snmp0 set {{dot1adMICVidRegistrationUntaggedPep.2.2 false }}
 % snmp0 set {{dot1adMICVidRegistrationUntaggedCep.2.2 false }}
 % snmp0 set {{dot1adMICVidRegistrationRowStatus.2.2 active }}
- 
Configure the interface type as providerNetworkPort. 
 [Index: Interface Number = 3]
 % snmp0 set {{ifMainBrgPortType.3 providerNetworkPort }}
 [Index: Interface Number = 4]
 % snmp0 set {{ifMainBrgPortType.4 providerNetworkPort }}
 [Index: Interface Number = 5]
 % snmp0 set {{ifMainBrgPortType.5 providerNetworkPort }}
At Switch6
- 
Configure the interface type as customerNetworkPortPortBased. [Index: Interface Number = 2] 
 % snmp0 set {{ifMainBrgPortType.2 customerNetworkPortPortBased }}
- 
Create the VLAN and make interfaces as member ports of this VLAN and Port P2 as untagged member. 
 [Index: ContextID = 0, Vlan-ID = 4]
 % snmp0 set {{fsDot1qVlanStaticRowStatus.0.4 createAndWait }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 2]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.2 addUntagged }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 3]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.3 addTagged }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 4]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.4 addTagged }}
 [Index: ContextID = 0, Vlan-ID = 4, Interface Number = 5]
 % snmp0 set {{fsDot1qVlanStaticPort.0.4.5 addTagged }}
 [Index: ContextID = 0, Vlan-ID = 4]
 % snmp0 set {{fsDot1qVlanStaticRowStatus.0.4 active }}
- 
Set the Primary VLAN (PVID) for an interface. [Index: Interface Number = 2] 
 % snmp0 set {{fsDot1qPvid.2 4 }}
- 
Configure interface type as providerNetworkPort 
 [Index: Interface Number = 3]
 % snmp0 set {{ifMainBrgPortType.3 providerNetworkPort }}
 [Index: Interface Number = 4]
 % snmp0 set {{ifMainBrgPortType.4 providerNetworkPort }}
 [Index: Interface Number = 5]
 % snmp0 set {{ifMainBrgPortType.5 providerNetworkPort }}
© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
 For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and trademarks
