[e-nsp] mapping vlans to mstp instances

Samit janasamit at wlink.com.np
Sun May 23 06:07:53 EDT 2010


Seems like this looks something like below....its cumbersome if you have
large no. of Vlan....and painful without script...Extreme make the work
really hard..assuming that port 1 and  24 are uplink trunk
port...appreciate if anyone comment on this if there are any error...

# Module vlan configuration.
#
create vlan "Vlan_2"
configure vlan Vlan_2 tag 2
create vlan "Vlan_3"
configure vlan Vlan_3 tag 3
create vlan "Vlan_4"
configure vlan Vlan_4 tag 4
create vlan "Vlan_5"
configure vlan Vlan_5 tag 5
create vlan "Vlan_6"
configure vlan Vlan_6 tag 6

cont....

configure vlan Vlan_2 add ports 1, 24 tagged
configure vlan Vlan_3 add ports 1, 24 tagged
configure vlan Vlan_4 add ports 1, 24 tagged
configure vlan Vlan_5 add ports 1, 24 tagged
configure vlan Vlan_6 add ports 1, 24 tagged

cont....


# Module stp configuration.
#
configure mstp region Region1
configure mstp revision 3
configure mstp format 0
create stpd mst0
configure stpd mst0 mode mstp cist
configure stpd mst0 forwarddelay 15
configure stpd mst0 hellotime 2
configure stpd mst0 maxage 20
configure stpd mst0 max-hop-count 20
configure stpd mst0 priority 28672
configure stpd mst0 default-encapsulation dot1d
create stpd mst1
configure stpd mst1 mode mstp msti 1
configure stpd mst1 max-hop-count 20
configure stpd mst1 priority 28672
configure stpd mst1 default-encapsulation dot1d
create stpd mst2
configure stpd mst2 mode mstp msti 2
configure stpd mst2 max-hop-count 20
configure stpd mst2 priority 28672
configure stpd mst2 default-encapsulation dot1d
create stpd mst3
configure stpd mst3 mode mstp msti 3
configure stpd mst3 max-hop-count 20
configure stpd mst3 priority 28672
configure stpd mst3 default-encapsulation dot1d
configure stpd s0 mode dot1d
configure stpd s0 forwarddelay 15
configure stpd s0 hellotime 2
configure stpd s0 maxage 20
configure stpd s0 priority 32768
disable stpd s0 rapid-root-failover
configure stpd s0 default-encapsulation dot1d
enable stpd s0 auto-bind vlan Default
configure stpd mst1 add vlan Vlan_2 ports 1 dot1d
configure stpd mst1 add vlan Vlan_3 ports 1 dot1d
configure stpd mst1 add vlan Vlan_4 ports 1 dot1d
configure stpd mst1 add vlan Vlan_5 ports 1 dot1d
configure stpd mst1 add vlan Vlan_6 ports 1 dot1d

cont...

configure stpd mst1 add vlan Vlan_2 ports 24 dot1d
configure stpd mst1 add vlan Vlan_3 ports 24 dot1d
configure stpd mst1 add vlan Vlan_4 ports 24 dot1d
configure stpd mst1 add vlan Vlan_5 ports 24 dot1d
configure stpd mst1 add vlan Vlan_6 ports 24 dot1d

cont...


enable stpd mst0
enable stpd mst1
enable stpd mst2
enable stpd mst3
configure stpd s0 tag 0
disable stpd s0

Samit wrote:
> Hi, I need little bit help out here.
> 
> Cisco config:
> 
> spanning-tree mst configuration
>  name Region1
>  revision 3
>  instance 1 vlan 2-10
>  instance 2 vlan 10-20
>  instance 3 vlan  20-30
> !
> 
> Extreme config? How to map vlans in each instance?   #configure stpd
> mst1 add vlan Vlan_10 ports ?? why it should be associated with physical
> ports?
> 
> configure mstp region Region1
> configure mstp revision 3
> configure mstp format 0
> create stpd mst0
> configure stpd mst0 mode mstp cist
> configure stpd mst0 forwarddelay 15
> configure stpd mst0 hellotime 2
> configure stpd mst0 maxage 20
> configure stpd mst0 max-hop-count 20
> configure stpd mst0 priority 28672
> configure stpd mst0 default-encapsulation dot1d
> create stpd mst1
> configure stpd mst1 mode mstp msti 1
> configure stpd mst1 max-hop-count 20
> configure stpd mst1 priority 28672
> configure stpd mst1 default-encapsulation dot1d
> create stpd mst2
> configure stpd mst2 mode mstp msti 2
> configure stpd mst2 max-hop-count 20
> configure stpd mst2 priority 28672
> configure stpd mst2 default-encapsulation dot1d
> create stpd mst3
> configure stpd mst3 mode mstp msti 3
> configure stpd mst3 max-hop-count 20
> configure stpd mst3 priority 28672
> configure stpd mst3 default-encapsulation dot1d
> configure stpd s0 mode dot1d
> configure stpd s0 forwarddelay 15
> configure stpd s0 hellotime 2
> configure stpd s0 maxage 20
> configure stpd s0 priority 32768
> disable stpd s0 rapid-root-failover
> configure stpd s0 default-encapsulation dot1d
> enable stpd s0 auto-bind vlan Default
> 
> Regards,
> Samit
> 
> 
> 



More information about the extreme-nsp mailing list