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#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#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 |