Configuring bridge ports
This section provides a sample configuration for two bridges between Ethernet segments on two vRouter.
The following example shows two main types of bridge port configurations: a bridge-to-bridge port and an edge port. The same configuration applies to both bridges.
Ports are configured as edge ports if they are attached to a LAN that has no other bridges attached. These edge ports transition directly to the forwarding state. RSTP still continues to monitor the port for BPDUs if a bridge is connected. RSTP can also be configured to automatically detect edge ports. As soon as the bridge detects a BPDU coming to an edge port, the port becomes a nonedge port.
When you have finished, the system is configured as shown in the following figure.
Configuring bridge ports shows how to create the bridge interface and add the data plane interfaces and port configurations to both bridge groups.
To do this, perform the following steps on both R1 and R2 in configuration mode.
Step | Command |
---|---|
Create the bridge interface. |
|
Enable spanning tree. |
|
Add dp0s1 and dp0s2 interfaces to the bridge. |
|
Configure host-facing interfaces as edge ports. |
|
Commit the configuration. |
|
Use the show brief command to verify the following configurations.
|
|