# Test plans for switch port and vlan settings We design some common test plans for vlan settings for our ECG170 as follow: (1)WAN,LAN:P1,P2,P3 (2)Multi WAN:WAN,P1,LAN:P2,P3 (3)WAN,LAN:P1,P2,P3,VLAN 100:P1,VLAN 200:P2,VLAN 300:P3 (4)WAN,LAN:P1,VLAN 200:P2,VLAN 300:P3 (5)WAN,VLAN 400,LAN:P1,P2,P3 ![](https://i.imgur.com/au5W4Gt.jpg) ## Test plan 1: 1.Add VLAN ![](https://i.imgur.com/zgParZO.png) 2.Switches ports (No need) ![](https://i.imgur.com/E6IQKdV.png) 3.Switches VLANS (VLAN Groups) ![](https://i.imgur.com/jR8iwh7.png) 4.Interface Assignments ![](https://i.imgur.com/BC0zq1X.png) 5.Add firewall rules for interface. ## Test plan 2: 1.Add VLAN ![](https://i.imgur.com/zdB9BKC.png) 2.Interface Assignments ![](https://i.imgur.com/VlFJm8z.png) 3.Switches ports (No need) ![](https://i.imgur.com/kaxINGW.png) 4.Switches VLANS (VLAN Groups) ![](https://i.imgur.com/0ZEEKWJ.png) 5.ifconfig table ![](https://i.imgur.com/aLyWZxx.png) 6.etherswitchcfg table ![](https://i.imgur.com/R0slXrD.png) ## Test plan 3: 1.Add VLAN ![](https://i.imgur.com/wr3jY0C.png) 2.Interface Assignments ![](https://i.imgur.com/DOAJILY.png) 3.Switches VLANS (VLAN Groups) ![](https://i.imgur.com/2ALX4lB.png) 4.ifconfig table ![](https://i.imgur.com/qerGvnG.png) 5.etherswitchcfg table ![](https://i.imgur.com/6NFs5k4.png) ## Test plan 4: 1.Add VLAN ![](https://i.imgur.com/ds4UIya.png) 2.Interface Assignments ![](https://i.imgur.com/wGXIGSm.png) 3.Switches VLANS (VLAN Groups) ![](https://i.imgur.com/rTdULQu.png) 4.ifconfig table ![](https://i.imgur.com/EBSRH04.png) 5.etherswitchcfg table ![](https://i.imgur.com/rMuRcVb.png) ## Test plan 5: 1.Add VLAN ![](https://i.imgur.com/kP1FuQ6.png) 2.Interface Assignments (1)Disabled WAN1. (2)Set WAN2 wan type to DHCP. (3)Need another DUT send vlan 400 with tag. 3.Switches VLANS (VLAN Groups) ![](https://i.imgur.com/9JFYOBz.png) 4.etherswitchcfg table ![](https://i.imgur.com/OJN5x2p.png) (Vgroup0's members need to set to only 5t when test OS is Ubuntu.)