OcNOS-SP : Layer 2 Guide : Layer 2 Configuration Guide : Provider Bridging Configuration : Provider Bridging Untagged-pep Configuration
Provider Bridging Untagged-pep Configuration
This is a sample configuration to verify functionality to support provider-bridging with untagged-pep feature.
For the below topology configuration,
1. While sending tagged traffic untagged-pep CVLAN 2, it should drop in provider edge bridge.
2. And while sending tagged traffic CVLAN 3 to the provider network, will egress with CVLAN 3 and SVLAN 12 tag and the same CVLAN and SVLAN tag from provider network, will egress with only CVLAN tag
3. And also for untagged traffic to the provider network, will egress with SVLAN 11 tag
Topology
Figure 2-9: Provider bridging untagged-pep configuration
Configuration
SW1 (PEB)
 
SW1#configure terminal
Enter configuration mode
SW1(config)#bridge 1 protocol provider-rstp edge
Create bridge
SW1(config)#vlan database
Enter VLAN configuration mode
SW1(config-vlan)#vlan 2-10 type customer bridge 1 state enable
Create customer vlan VLAN 2-10
SW1(config-vlan)#vlan 11-15 type service point-point bridge 1 state enable
Create service vlan VLAN 11-15
SW1(config-vlan)#exit
Exit VLAN configuration mode
SW1(config)#cvlan registration table map1 bridge 1
Create cvlan registration table map1
SW1(config-cvlan-registration)#cvlan 2 svlan 11 untagged-pep
Map cvlan2 with svlan 11
SW1(config-cvlan-registration)#cvlan 3 svlan 12
Map cvlan3 with svlan 12
SW1(config-cvlan-registration)#cvlan 4 svlan 14
Map cvlan4 with svlan 14
SW1(config-cvlan-registration)#exit
Exit registration table
SW1(config)#interface eth1
Enter interface configuration mode for eth1
SW1(config-if)#switchport
Configure switchport
SW1(config-if)#bridge-group 1
Associate interface with bridge-group 1
SW1(config-if)#witchport mode customer-edge hybrid
Configure switchport mode customer edge
SW1(config-if)#switchport customer-edge hybrid vlan 2
Associate customer vlan2 with interface
SW1(config-if)#switchport customer-edge hybrid allowed vlan all
Associate all customer vlan with interface
SW1(config-if)#switchport customer-edge vlan registration map1
Attach registration table map1 with interface
SW1(config-if)#exit
Exit interface mode
SW1(config-if)#interface eth2
Enter interface configuration mode for eth2
SW1(config-if)#switchport
Make interface as switchport
SW1(config-if)#bridge-group 1
Associate interface with bridge-group 1
SW1(config-if)#switchport mode provider- network
Configure switchport pnp port
SW1(config-if)#switchport provider-network allowed vlan all
Associate all svlan to the port
SW1(config-if)#commit
Apply the commit
SW1(config-if)#exit
Exit interface configuration mode
SW1(config)#end
Exit configuration mode
SW2 (PB)
 
SW2#configure terminal
Enter configuration mode
SW2(config)#bridge 1 protocol provider-rstp
Create provider bridge
SW2(config)#vlan database
Enter VLAN configuration mode
SW2(config-vlan)# vlan 2-15 type service point-point bridge 1 state enable
Create service vlan VLAN2-15
SW2(config-vlan)#exit
Exit VLAN configuration mode
SW2(config)#interface eth1
Enter interface configuration mode for eth1
SW2(config-if)#switchport
Make interface as switchport
SW2(config-if)#bridge-group 1
Associate interface with bridge-group 1
SW2(config-if)#switchport mode provider- network
Configure switchport pnp port
SW2(config-if)#switchport provider-network allowed vlan all
Associate all svlan to the port
SW2(config-if)#exit
Exit interface configuration mode
SW2(config-if)#interface eth2
Enter interface configuration mode for eth2
SW2(config-if)#switchport
Make interface as switchport
SW2(config-if)#bridge-group 1
Associate interface with bridge-group 1
SW2(config-if)#switchport mode provider- network
Configure switchport pnp port
SW2(config-if)#switchport provider-network allowed vlan all
Associate all svlan to the port
SW2(config-if)#commit
Apply the commit
SW2(config-if)#exit
Exit interface configuration mode
SW2(config)#end
Exit configuration mode
SW3 (PEB)
 
SW3#configure terminal
Enter configuration mode
SW3(config)#bridge 1 protocol provider-rstp edge
Create bridge
SW3(config)#vlan database
Enter VLAN configuration mode
SW3(config-vlan)#vlan 2-10 type customer bridge 1 state enable
Create customer vlan VLAN 2-10
SW3(config-vlan)#vlan 11-15 type service point-point bridge 1 state enable
Create service vlan VLAN11-15
SW3(config-vlan)#exit
Exit VLAN configuration mode
SW3(config)#cvlan registration table map1 bridge 1
Create cvlan registration table map1
SW3(config-cvlan-registration)#cvlan 2 svlan 11 untagged-pep
Map cvlan2 with svlan 200
SW3(config-cvlan-registration)#cvlan 3 svlan 12
Map cvlan3 with svlan 12
SW3(config-cvlan-registration)#cvlan 4 svlan 14
Map cvlan4 with svlan 14
SW3(config-cvlan-registration)#exit
Exit registration table
SW3(config)#interface eth1
Enter interface configuration mode for eth1
SW3(config-if)#switchport
Configure switchport
SW3(config-if)#bridge-group 1
Associate interface with bridge-group 1
SW3(config-if)#witchport mode customer-edge hybrid
Configure switchport mode customer edge
SW3(config-if)#switchport customer-edge hybrid vlan 2
Associate customer vlan2 with interface
SW3(config-if)#switchport customer-edge hybrid allowed vlan all
Associate all customer vlan with interface
SW3(config-if)#switchport customer-edge vlan registration map1
Attach registration table map1 with interface
SW3(config-if)#exit
Exit interface mode
SW3(config-if)#interface eth2
Enter interface configuration mode for eth2
SW3(config-if)#switchport
Make interface as switchport
SW3(config-if)#bridge-group 1
Associate interface with bridge-group 1
SW3(config-if)#switchport mode provider- network
Configure switchport pnp port
SW3(config-if)#switchport provider-network allowed vlan all
Associate all svlan to the port
SW3(config-if)#commit
Apply the commit
SW3(config-if)#exit
Exit interface configuration mode
SW3(config)#end
Exit configuration mode
 
Validation
SW3#sh bridge
bridge 1 is running on provider-rstp edge
Ageout time is global and if something is configured for vxlan then it will be affected here also
Bridge CVLAN SVLAN BVLAN Port MAC Address FWD Time-out
---------+------+------+------+-----------+-----------------+-----+---------+
1 4 14 xe3 0000.0100.0007 1 300
 
SW1#sh bridge
bridge 1 is running on provider-rstp edge
Ageout time is global and if something is configured for vxlan then it will be affected here also
Bridge CVLAN SVLAN BVLAN Port MAC Address FWD Time-out
---------+------+------+------+-----------+-----------------+-----+---------+
1 14 eth1 0000.0100.0007 1 300
 
SW1#sh cvlan registration table map1
Bridge Table Name Port List
 
====== ========== =========
 
1 map1 ce2/2
 
CVLAN ID T-CVLAN ID SVLAN ID CCOS SCOS CCFI SCFI
======== ========== ======== ==== ==== ==== ====
3 - 12
2 - 11
4 - 14
 
Last modified date: 07/06/2023