beautypg.com

Spanning-tree group configuration – ADLINK aTCA-N700 User Manual

Page 53

background image

aTCA-N700 SW Users Guide

47

- Set default VLAN tag for port(s)
Port bitmaps are read from the VTABLE entry for the VID.
must have been created and all ports in must
belong to that VLAN.


Some examples of the pvlan command are described in the following.

** Set port xe0, xe2 default vlan= 2.


BCM.0> pvlan xe0,xe2 2


** Display port xe0, xe2 default vlan information.


BCM.0> pvlan show xe0,xe2
Port xe0 default VLAN is 2
Port xe2 default VLAN is 2


8.3.4. Spanning-tree group configuration


For STG (Spanning-Tree Group) STG 1 contains all vlans and forwards all ports. STG
usage is as shown below.


Usage (STG): Usages:

stg create [] - Create a STG; optionally specify ID

stg destroy - Destroy a STG

stg show [] - List STG(s)

stg add [...] - Add VLAN(s) to a STG

stg remove [...] - Remove VLAN(s) from a STG

stg stp - Get span tree state, all ports/STGs

stg stp - Get span tree state of ports in STG

stg stp - Set span tree state of ports in STG

(disable/block/listen/learn/forward)

stg default [] - Show or set the default STG


Some examples of the STG command are described in the following.

** Create STG 2.


BCM.0> stg create 2
BCM.0> stg show 2
STG 2: contains 0 VLANs


** Add vlan 3 in STG 2.


BCM.0> stg add 2 3
BCM.0> stg show 2
STG 2: contains 1 VLAN (3)


** Configure span tree state to be forward for STG 2 port xe0, xe2.


BCM.0> stg stp 2 xe0,xe2 forward
BCM.0> stg stp 2
STG 2:
Disable: xe1,xe3-xe34

Forward: xe0,xe2


** Remove vlan 3 from STG 2.