Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Show Page Sections

Bridge Interface Commands

clear interfaces bridge counters

Clears bridge interface statistics.

clear interfaces bridge [if-name] counters

Statistics are cleared on all bridge interfaces.

if-name
The identifier for the interface whose bridging counters you wish to clear. This can be any interface on which bridging is supported.

Operational mode

Use this command to clear statistics on bridge interfaces.

If no interface is specified, then bridge statistics are cleared on all interfaces.

interfaces dataplane <interface-name> bridge-group

Adds a data plane interface to a bridge group.

set interfaces dataplane interface-name bridge-group [ admin-edge | auto-edge | bpdu-guard | bridge brx | cost cost | network-port | point-to-point status | priority priority | restrict-tcn | root-block ]
delete interfaces dataplane interface-name bridge-group [ admin-edge | auto-edge | bpdu-guard | bridge | cost | network-port | point-to-point | priority | restrict-tcn | root-block ]
show interfaces dataplane interface-name bridge-group
interface-name
The name of a data plane interface. For more information about the supported name formats of a data plane interface, refer to Supported Interface Types.

admin-edge
Sets the initial-edge state, specifying that the port connects to an end node instead of another spanning tree bridge. The default is off.
auto-edge
Allows the bridge to automatically determine the edge-port status. The default is off.
bpdu-guard

Enables the spanning tree BPDU guard. The BPDU guard is used at the network edge, where the port connects directly to an end node. The default is off.

bridge brx
The bridge group ID.
cost cost
The path cost for the interface within its bridge group. The spanning tree protocol (STP) uses this value to calculate the shortest path from this bridge group to the spanning tree root. The value can be a numerical value that ranges from 1 through 200000000 or the auto keyword. The default is auto. If you use the auto keyword, the vRouter determines the port cost from the line speed.
network-port
Enables Spanning Tree uni-directional link detection.
point-to-point status
Sets the point-to-point operational status to one of the following values:
  • auto: Determines the point-to-point operational status from the duplex setting.
  • off: Disable the point-to-point operational status.
  • on: Enable the point-to-point operational status.
priority
The path priority for the interface within its bridge group. The range is 0 to 63. The default is 0.
restrict-tcn
Restricts propagation of topology change notifications for the spanning tree.
root-block
Restricts the ability of ports to assume the spanning tree root role.

Configuration mode


interfaces {
       dataplane dpxpypz {
	             bridge-group {
                    admin-edge
                    auto-edge
                    bpdu-guard
                    bridge brx 
                    cost cost
                    network-port 
                    point-to-point status
                    priority priority
                    restrict-tcn
                    root-block
		            }
       }
}

Use this command to add a data plane interface to a bridge group, and to set the cost and priority values for the bridge on the interface.

Use the set form of this command to add the interface to the bridge group, or to specify cost or priority.

Use the delete form of this command to remove the interface from the bridge group, or to restore default values for cost and priority.

Use the show form of this command to view interface configuration for bridging.

interfaces dataplane <interface> vif <vif-id> bridge-group

Adds a data plane vif to a bridge group.

set interfaces dataplane interface vif vif-id bridge-group admin-edge | auto-edge | bpdu-guard | bridge brx | network-port | cost cost | point-to-point status | priority priority | restrict-tcn | root-block]
delete interfaces dataplane interface vif vif-id bridge-group [ admin-edge | auto-edge | bpdu-guard | bridge | network-port | cost | priority | restrict-tcn | root-block]
show interfaces dataplane interface vif vif-id bridge-group
interface
The name of a data plane interface. For more information about the supported name formats of a data plane interface, refer to Supported Interface Types.
vif-id
A virtual interface ID. The ID ranges from 1 through 4094.
admin-edge
Enables the Spanning Tree admin edge mode.
auto-edge
Enables Spanning Tree automatic admin edge detection.
bpdu-guard

Enables Spanning Tree Protocol PortFast Bridge Protocol Data Unit (BPDU) guard.

bridge brx
The bridge group ID.
cost
The path cost for the interface within its bridge group. The Spanning Tree Protocol (STP) uses this value to calculate the shortest path from this bridge group to the spanning tree root. The range is 1 to 200000000. The default is 19.
network-port
Enables Spanning Tree uni-directional link detection.
point-to-point status
Sets the point-to-point operational status to one of the following values:
  • auto: Determines the point-to-point operational status from the duplex setting.
  • off: Disable the point-to-point operational status.
  • on: Enable the point-to-point operational status.
priority
The path priority for the interface within its bridge group. The range is 0 to 15. The default is 8.
restrict-tcn
Restricts propagation of topology change notifications for Spanning Tree.
root-block
Restricts the ability of ports to assume the Spanning Tree root role.

Configuration mode


interfaces {
       dataplane interface {
	             vif vif-id {
   		                bridge-group {
   		                       admin-edge
   		                       auto-edge
   		                       bpdu-guard
   		                       bridge brx 
   		                       cost cost
   		                       network-port
   		                       point-to-point status
   		                       priority priority
   		                       restrict-tcn
   		                       root-block
   		                }
	             }
       }
}

Use this command to add a data plane vif to a bridge group, and to set the supported values for the bridge on the interface.

Use the set form of this command to add a data plane vif to a bridge group, or to set the supported values for the bridge on the interface.

Use the delete form of this command to remove the interface from the bridge group, or to restore default values.

Use the show form of this command to view interface configuration for bridging.

monitor interfaces bridge <brx>

Monitors traffic to the vRouter.

monitor interfaces bridge brx
brx

Bridge group ID.

Operational mode

monitor interfaces bridge

Use this command to monitor traffic to the vRouter and traffic forwarding.

show interfaces bridge

Shows bridge interface information.

show interfaces bridge [bridge-group [brief] | detail]
bridge-group
Displays information for the specified bridge group: one of br0 through br999.
brief
Shows a summary of information for a given bridge group.
detail
Shows detailed bridge interface information.

Operational mode

Use this command to display information about configured bridge interfaces.

When used with no option, this command displays information about all active bridge interfaces. When the identifier of a bridge group is provided, this command displays information for the specified bridge group.