home

Supported platforms

Vyatta documentation

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

show bridge <brx> spanning-tree <brief>

Displays spanning tree information for a bridge group.

show bridge brx spanning-tree [ brief ]
brx
The ID of the bridge group.
brief
Displays a summary of spanning tree information for a bridge group.

Operational mode

Use this command to display spanning tree information for a bridge group. Use the brief parameter to display a summary of the spanning tree information. You see a detailed information when you do not use the brief parameter.

The following example shows how to display a summary of spanning tree information for the br0 bridge group.


vyatta@R1:~$ show bridge br0 spanning-tree brief
	
Bridge                   br0
Designated Root          8.000.52:54:00:00:01:01
Designated Root Cost     2000
Designated Root Port     dp0p1s1 (2)
Bridge ID                8.000.52:54:00:00:02:01

Port                 State         Role   Cost       Prio  Type   Ver  
dp0p1s1 (2)          forwarding    Root   2000       8     p2p    rstp 
dp0p1s2 (3)          discarding    Altn   2000       8     p2p    rstp 
dp0p1s3 (4)          discarding    Back   2000       8     p2p    rstp 
dp0s8 (1)            forwarding    Desg   2000       8     p2p    rstp 

The following example shows how to display a detailed output of spanning tree information for the br0 bridge group.


vyatta@R1:~$ show bridge br0 spanning-tree
	
br0
  link enabled    yes
  stp enabled     yes
  version         rstp
  bridge id       8.000.52:54:00:00:02:01
  designated root 8.000.52:54:00:00:01:01
  root port       dp0p1s1 (2)
  path cost     2000       internal path cost   0
  max age       20         bridge max age       20
  forward delay 15         bridge forward delay 15
  tx hold count 6          max hops             20
  hello time    2          ageing time          300
  time since topology change 12931
  topology change count      4
  topology change            no
  topology change port       dp0p1s3 (1)
  last topology change port  dp0p1s3 (1)
 
br0:dp0p1s1 (2)
  link enabled       yes                     role                 Root
  port id            8.002                   state                forwarding
  port cost          2000                    admin cost           auto
  designated root    8.000.52:54:00:00:01:01 dsgn cost            0
  designated bridge  8.000.52:54:00:00:01:01 designated port      8.003
  admin edge port    no                      auto edge port       no
  oper edge port     no                      topology change ack  no
  point-to-point     no                      admin point-to-point no
  root block         no                      restricted TCN       no
  port hello time    2                       disputed             no
  bpdu guard port    no                      bpdu guard error     no
  network port       no                      BA inconsistent      no
  Num sent BPDU      9                       Num sent TCN         5
  Num rcvd BPDU      6487                    Num rcvd TCN         6
  Num Transition FWD 1                       Num Transition BLK   0
  Rcvd BPDU          none                    Send RSTP            yes
 
br0:dp0p1s2 (3)
  link enabled       yes                     role                 Alternate
  port id            8.003                   state                discarding
  port cost          2000                    admin cost           auto
  designated root    8.000.52:54:00:00:01:01 dsgn cost            0
  designated bridge  8.000.52:54:00:00:01:01 designated port      8.004
  admin edge port    no                      auto edge port       no
  oper edge port     no                      topology change ack  no
  point-to-point     no                      admin point-to-point no
  root block         no                      restricted TCN       no
  port hello time    2                       disputed             no
  bpdu guard port    no                      bpdu guard error     no
  network port       no                      BA inconsistent      no
  Num sent BPDU      5                       Num send TCN         0
  Num rcvd BPDU      6487                    Num rcvd TCN         8
  Num Transition FWD 0                       Num Transition BLK   0
  Rcvd BPDU          none                    Send RSTP            yes