port bridge enable
Use port bridge enable to enable bridging on a Layer 2 Ethernet interface.
Use undo port bridge enable to disable bridging on a Layer 2 Ethernet interface.
Syntax
port bridge enable
undo port bridge enable
Default
Bridging is disabled on Layer 2 Ethernet interfaces.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
When a packet arrives at an interface, the device looks up the destination MAC address of the packet in the MAC address table. If an entry is found and the outgoing interface is the same as the incoming interface, the device drops the packet.
After you configure this command on the Ethernet interface, the device forwards such packets rather than drop them.
Examples
# Enable bridging on Layer 2 Ethernet interface Ten-GigabitEthernet 1/0/1.
<Sysname> system-view [Sysname] interface ten-gigabitethernet1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] port bridge enable