Bridge domains are configured independently of the different switching technologies that they support.
There is an example at the end of this task that shows all the configuration steps in order.
Perform the following task to configure a bridge domain.
device# configure terminal
device(config)# bridge-domain 5 p2p
Note
Logical interfaces representing bridge-domain endpoints must be created before they can be bound to a bridge domain. For further information, refer to Logical Interfaces.device(config-bridge-domain-5)# logical-interface ethernet 0/6.400
device(config-bridge-domain-5)# logical-interface port-channel 2.200
device(config-bridge-domain-5)# local-switching
device(config-bridge-domain-5)# bpdu-drop-enable
The following example creates bridge domain 5. It binds ethernet and port-channel logical interfaces to the bridge domain. It configures local switching, and enables dropping of L2 BPDUs.
device# configure terminal device(config)# bridge-domain 5 device(config-bridge-domain-5)# logical-interface ethernet 0/6.400 device(config-bridge-domain-5)# logical-interface port-channel 2.200 device(config-bridge-domain-5)# local-switching device(config-bridge-domain-5)# bpdu-drop-enable