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

aTCA-N700 SW Users Guide
47
- Set default VLAN tag for port(s)
Port bitmaps are read from the VTABLE entry for the VID.
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 [
stg destroy
stg show [
stg add
stg remove
stg stp - Get span tree state, all ports/STGs
stg stp
stg stp
(disable/block/listen/learn/forward)
stg default [
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.