#configure terminal | Enter configure mode. |
(config)#bridge 1 protocol ieee vlan-bridge | Configure bridge |
#configure terminal | Enter configterminal mode |
(config)#vlan database | Enter into the vlan database |
(config-vlan)# vlan 30 bridge 1 state enable | Configure vlan 30 to bridge 1 |
(config-vlan)#Exit | Exit from the vlan database. |
(config)#int xe1 | Enter interface configuration mode for xe1 |
(config-if)#switchport | Configure switchport |
(config-if)#bridge-group 1 | Associate interface with bridge-group 1 |
(config-if)#switchport mode trunk | Set the switching characteristics of this interface as trunk |
(config-if)#switchport trunk allowed vlan add 30 | Configure vlan 30 |
(config-if)#switchport protected isolated | Configure interface as isolated port |
(config-if)#exit | Exit from interface |
(config)#int xe2 | Enter interface configuration mode for xe2 |
(config-if)#switchport | Configure switchport |
(config-if)#bridge-group 1 | Associate interface with bridge-group 1 |
(config-if)#switchport mode trunk | Set the switching characteristics of this interface as trunk |
(config-if)#switchport trunk allowed vlan add 30 | Configure vlan 30 |
(config-if)#switchport protected isolated | Configure interface as isolated port |
(config-if)#exit | Exit from interface mode |
(config)#commit | Commit the configure on the node. |