STG

Note

This command belongs to the shell mode for newer (logical-table) switch chips and is not available on Trident 3.

Manage spanning tree groups

Built-in help

Usages:
      stg create [<id>]            - Create a STG; optionally specify ID
      stg destroy <id>             - Destroy a STG
      stg show [<id>]              - List STG(s)
      stg add <id> <vlan_id> [...] - Add VLAN(s) to a STG
      stg remove <id> <vlan_id> [...]
                                   - Remove VLAN(s) from a STG
      stg stp                      - Get span tree state, all ports/STGs
      stg stp <id>                 - Get span tree state of ports in STG
      stg stp <id> <pbmp> <state>  - Set span tree state of ports in STG
                                     (disable/block/listen/learn/forward)
      stg default [<id>]           - Show or set the default STG