SW1#configure terminal | Enter configuration mode |
SW1(config)# bridge 1 protocol rstp vlan-bridge | Create bridge |
SW1(config)#vlan database | Enter VLAN configuration mode |
SW1(config-vlan)#vlan 2-10 bridge 1 state enable | Create 2-10 vlans |
SW1(config-vlan)#exit | Exit VLAN configuration mode |
SW1(config)#interface xe6 | Enter interface configuration mode for xe6 |
SW1(config-if)#switchport | Configure switchport |
SW1(config-if)#bridge-group 1 | Associate interface with bridge-group 1 |
SW1(config-if)#switchport mode hybrid | Configure port mode as hybrid |
SW1(config-if)# switchport hybrid allowed vlan all | Allow all the vlans on the xe6 port |
SW1(config-if)#exit | Exit from interface mode |
SW1(config)#interface xe21 | Enter interface configuration mode for xe21 |
SW1(config-if)#switchport | Configure switchport |
SW1(config-if)#bridge-group 1 | Associate interface with bridge-group 1 |
SW1(config-if)#switchport mode hybrid | Configure port mode as hybrid |
SW1(config-if)# switchport hybrid allowed vlan all | Allow all the vlans on the xe21 port |
SW1(config-if)#exit | Exit from interface mode |
SW1(config)#commit | Commit the candidate configuration to the running configuration |
SW2#configure terminal | Enter configuration mode |
SW2(config)# bridge 1 protocol rstp vlan-bridge | Create bridge |
SW2(config)#vlan database | Enter VLAN configuration mode |
SW2(config-vlan)#vlan 2-10 bridge 1 state enable | Create 2-10 vlans |
SW2(config-vlan)#exit | Exit VLAN configuration mode |
SW2(config)#interface xe6 | Enter interface configuration mode for xe6 |
SW2(config-if)#switchport | Configure switchport |
SW2(config-if)#bridge-group 1 | Associate interface with bridge-group 1 |
SW2(config-if)#switchport mode hybrid | Configure port mode as hybrid |
SW2(config-if)# switchport hybrid allowed vlan all | Allow all the vlans on the xe6 port |
SW2(config-if)#exit | Exit from interface mode |
SW2(config)#interface xe13 | Enter interface configuration mode for xe13 |
SW2(config-if)#switchport | Configure switchport |
SW2(config-if)#bridge-group 1 | Associate interface with bridge-group 1 |
SW2(config-if)#switchport mode hybrid | Configure port mode as hybrid |
SW2(config-if)# switchport hybrid allowed vlan all | Allow all the vlans on the xe13 port |
SW2(config-if)#exit | Exit from interface mode |
SW2(config)#commit | Commit the candidate configuration to the running configuration |