cancel
Showing results for 
Search instead for 
Did you mean: 

Spanning Tree Configuration Detailed step by Step

Spanning Tree Configuration Detailed step by Step

DDE_Server
New Contributor

Dear Gentleman and Ladies 

i hope you have a nice day

kindly guide me with command to create Spanning Tree configuration for two XG440 Switches 

Also if i want to clear the existing one could you provide how to do this ? Thanks in advance

3 REPLIES 3

Edsond
New Contributor II

Hi,

I use this configuration. 

#Carrier Vlan
create vlan "STP"
configure vlan STP tag 4000
configure vlan STP add ports <all ports> tagged

#SpanningTree
create stpd STP-DOMAIN
configure stpd STP-DOMAIN mode dot1w
enable stpd STP-DOMAIN rapid-root-failover
configure stpd STP-DOMAIN default-encapsulation dot1d
configure stpd STP-DOMAIN add vlan STP ports <all ports> dot1d
configure stpd STP-DOMAIN ports mode dot1d <all ports>

configure stpd STP-DOMAIN ports link-type edge <only access ports>
configure stpd STP-DOMAIN ports edge-safeguard enable <only access ports> recovery-timeout 60
configure stpd STP-DOMAIN ports bpdu-restrict enable <only access ports> recovery-timeout 60
configure stpd STP-DOMAIN ports restricted-tcn on <only access ports>
configure stpd STP-DOMAIN tag 4000
enable stpd STP-DOMAIN

-------------------------------------------------

Regards,

Edson

 

First of All thanks for your reply

I cannot See how to specify Priority like Cisco in your Commands
Also what about the ports which physically connect the the switches together will be the same Encapsulation dot1w
Could you specify this because we connect two two cables between the switches 

create stpd s0 description XXXXX
configure stpd s0 mode dot1w
enable stpd s0 auto-bind XXXXX
enable stpd

Above command the template which i have

Edsond
New Contributor II

Hi,

Use this:

configure stpd <DOMAIN> priority <PRIORITY>

Example:

configure stpd STP-DOMAIN priority 4096

GTM-P2G8KFN