#configure terminal | Enter the Configure mode. |
(config)#bridge 1 protocol mstp | Create a MSTP bridge. |
(config)#interface eth2 | Specify an interface to configure and enter the Interface mode. |
(config-if)#switchport | Configure eth2 as a Layer 2 port. |
(config-if)#bridge-group 1 | Associate interface to bridge 1. |
(config-if)#no shutdown | Start interface.eth2 |
(config-if)#commit | Commit the candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode |