Page 28 | AlliedWare Plus™ OS How To Note: Switching
Appendix: Complete configuration scripts
Script for MSTP example
!
service password-encryption
!
log record-priority
username manager privilege 15 password 8 $1$bJoVec4D$JwOJGPr7YqoExA0GVasdE0
!
platform jumboframe
platform routingratio ipv4only
!
service telnet
!
ip domain-lookup
!
no ip multicast-routing
!
spanning-tree mst config
instance 1 vlan 2
instance 1 vlan 3
instance 2 vlan 4
instance 2 priority 8192
region awplus
revision 1
!
maximum-paths 8
spanning-tree mode mstp
!
vlan database
vlan 2 name vlan2
vlan 3 name vlan3
vlan 4 name vlan4
vlan 2-4 state enable
!
interface eth0
!
interface port1.0.1
switchport
switchport mode trunk
switchport trunk allowed vlan add 2-4
!
interface port1.0.2
switchport
switchport mode access
switchport access vlan 2
spanning-tree mst instance 1
!
interface port1.0.3
switchport
switchport mode access
switchport access vlan 3
spanning-tree mst instance 1
!