Westermo PMI-110-F2G User Manual

Page 82

Advertising
background image

4.5.9 Command Lines: 

 

 

Feature 

Command Line 

Global (STP, RSTP, MSTP) 
Enable 

Switch(config)# spanning‐tree enable

Disable 

Switch (config)# spanning‐tree disable

Mode (Choose the 
Spanning Tree mode) 

Switch(config)# spanning‐tree mode 
    rst    the rapid spanning‐tree protocol (802.1w) 
    stp    the spanning‐tree prtotcol (802.1d) 

  mst    the multiple spanning‐tree protocol (802.1s) 

Bridge Priority 

Switch(config)# spanning‐tree priority 

  <0‐61440>    valid range is 0 to 61440 in multiple of 4096 

Switch(config)# spanning‐tree priority 4096

Bridge Times 

Switch(config)# spanning‐tree bridge‐times (forward Delay) (max‐age) 
(Hello Time) 
Switch(config)# spanning‐tree bridge‐times 15 20 2 
 

This command allows you configure all the timing in one time. 

Forward Delay 

Switch(config)# spanning‐tree forward‐time 

  <4‐30>    Valid range is 4~30 seconds 

Switch(config)# spanning‐tree forward‐time 15

Max Age 

Switch(config)# spanning‐tree max‐age 

  <6‐40>    Valid range is 6~40 seconds 

Switch(config)# spanning‐tree max‐age 20

Hello Time 

Switch(config)# spanning‐tree hello‐time 

  <1‐10>    Valid range is 1~10 seconds 

Switch(config)# spanning‐tree hello‐time 2

MSTP 
Enter the MSTP 
Configuration Tree 

Switch(config)# spanning‐tree mst 
    MSTMAP                  the mst instance number or range 
    configuration    enter mst configuration mode 
    forward‐time      the forward dleay time 
    hello‐time          the hello time 
    max‐age                the message maximum age time 
    max‐hops              the maximum hops 
    sync                      sync port state of exist vlan entry 

Switch(config)# spanning‐tree mst configuration 
Switch(config)# spanning‐tree mst configuration 
Switch(config‐mst)# 

  abort          exit current mode and discard all changes 
  end            exit current mode, change to enable mode and apply all 

changes 

  exit            exit current mode and apply all changes 
  instance    the mst instance 
  list            Print command list 
  name            the name of mst region 
  no                Negate a command or set its defaults 
  quit            exit current mode and apply all changes 
  revision    the revision of mst region 
  show            show mst configuration

Region Configuration 

Region Name: 
Switch(config‐mst)# name 
    NAME    the name string 
Switch(config‐mst)# name Westermo

78

Advertising