Information
In a VLAN-based network, switches use the default VLAN (i.e., VLAN 1) for in-band management and to communicate with other networking devices using Spanning-Tree Protocol (STP), Dynamic Trunking Protocol (DTP), VLAN Trunking Protocol (VTP), and Port Aggregation Protocol (PAgP)-all untagged traffic. As a consequence, the default VLAN may unwisely span the entire network if not appropriately pruned. If its scope is large enough, the risk of compromise can increase significantly.
Solution
Configure the Arista MLS switch to remove the assignment of the default VLAN from all access switch ports.
Step 1: Configure the Default VLAN 1 to shut down by using the following command:
switch:(config#)interface vlan 1
switch(config-int-vlan1)#shutdown
Step 2: Configure all access switch ports to be placed in a VLAN other than the default (1):
switch(config)#interface ethernet 8
switch(config-eth8)#switchport access vlan 1000
switch(config-eth8)#exit