Appendix: Configuration scripts for
Edge switch 2
Edge switch 2 is connected to port 50 of edge switch 1. The configuration is similar to edge switch
# System configuration
set system name="Edge Switch 2"
#VLAN general configuration create vlan=Voice vid=100 private create vlan=Video vid=200 private create vlan=Data vid=300 private create vlan=Management vid=400 private create vlan=EAN_Management vid=500 private
#STP general configuration
enable stp=default
set stp=default mode=rapid
#VLAN port configuration
#ports 1 and 2 are not in any VLANs
add vlan=100
add vlan=100 port=14 frame=tagged
add vlan=200
add vlan=200 port=14 frame=tagged
add vlan=300
add vlan=300 port=14 frame=tagged
add vlan=400
add vlan=400 port=14 frame=tagged
add vlan=500
# STP port configuration
set stp="default" port=1-48 edgeport=yes
#DHCP Snooping configuration enable dhcpsnooping
enable dhcpsnooping arpsecurity enable dhcpsnooping option82
set dhcpsnooping port=14 maxleases=4 set dhcpsnooping port=15 maxleases=4 set dhcpsnooping port=49 trusted=yes set dhcpsnooping port=50 trusted=yes
add dhcpsnooping
add dhcpsnooping
#IP configuration
enable ip
add ip int=vlan500 ip=172.16.5.102 mask=255.255.255.0
#MACFF configuration enable macff int=vlan100 enable macff int=vlan200 enable macff int=vlan300 enable macff int=vlan400 enable macff int=vlan500
Create A Secure Network With Allied Telesis Managed Layer 3 Switches | 28 |