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 100,200 type service point-point bridge 1 state enable | Create service vlan VLAN 100, 200 |
SW1(config-vlan)#exit | Exit VLAN configuration mode |
SW1(config)#interface eth1 | Enter interface configuration mode for eth1 |
SW1(config-if)#switchport | Configure switchport |
SW1(config-if)#dot1ad ethertype 0x88a8 | Add Provider Bridging Service VLAN tag identifier |
SW1(config-if)#switchport mode customer-network | Configure switchport mode for CNP(customer network port) |
SW1(config-if)#switchport customer-network allowed vlan add 200 | Associate vlan 200 with interface |
SW1(config-if)#switchport customer-network vlan 200 | Add vlan 200 as default SVLAN-ID for traffic with CVLAN/untagged |
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 | Commit the configuration. |
SW1(config-if)#exit | Exit interface 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 200 type service point-point bridge 1 state enable | Create service vlan VLAN200 |
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 | Commit the configuration. |
SW2(config-if)#exit | Exit interface 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 200 type service point-point bridge 1 state enable | Create service vlan VLAN200 |
SW3(config-vlan)#exit | Exit VLAN configuration mode |
SW3(config)#interface eth1 | Enter interface configuration mode for eth1 |
SW3(config-if)#switchport | Configure switchport |
SW3(config-if)#dot1ad ethertype 0x88a8 | Add Provider Bridging Service VLAN tag identifier |
SW3(config-if)#bridge-group 1 | Associate interface with bridge-group 1 |
SW3(config-if)#switchport mode customer-network | Configure switchport CNP port |
SW3(config-if)#switchport customer-network allowed vlan add 200 | Associate vlan 200 with interface |
SW3(config-if)#switchport customer-network vlan 200 | Add vlan 200 as default SVLAN-ID for traffic with CVLAN/untagged |
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 | Commit the configuration. |
SW3(config-if)#exit | Exit interface configuration mode |