Owners Manual

Add a Linux bond interface to a VLAN domain—bond1 is a Linux interface that maps to a LAG port in the NPU. Use the command to add
the LAG port to the VLAN associated with the bridge instance in the NPU.
$ ip link add link bond1 name bond1.200 type vlan id 200
$ brctl addif br200 bond1.200
Remove VLAN member from VLAN
$ brctl delif br200 e101-001-0.100
Delete VLAN
$ brctl delbr br200
Link layer discovery protocol
OpenSwitch OPX supports the link layer discovery protocol (LLDP) daemon on Linux interfaces.
LLDP daemon
$ lldpcli show neighbors
---------------------------------------------------------------------
LLDP neighbors:
---------------------------------------------------------------------
Interface: e101-003-0, via: LLDP, RID: 3, Time: 0 day, 01:17:18
Chassis:
ChassisID: mac 90:b1:1c:f4:9d:3b
SysName: OPEN
Capability: Repeater, on
Capability: Bridge, on
Capability: Router, on
Port:
PortID: ifalias ethernet1/1/3
----------------------------------------------------------------------
Spanning-tree provisioning
OpenSwitch OPX supports spanning-tree provisioning (STP) using the CPS API including:
Create a new spanning-tree group
Add VLANs to a spanning-tree group
Remove VLANs from a spanning-tree group
Change the STP state of ports mapped to a spanning-tree group
Delete a spanning-tree group
This enables OpenSwitch OPX to run any of the spanning-tree protocols such as STP, RSTP, PVST, and MSTP.
Layer 2 bridging
11