1.16 CISC-L2-000210

Information

The Cisco switch must have all disabled switch ports assigned to an unused VLAN.

GROUP ID: V-220641RULE ID: SV-220641r991848

A disabled port that is assigned to a user or management VLAN may become enabled by accident or by an attacker and as a result may gain access to that VLAN as a member.

Solution

Assign all switch ports not in use to an inactive VLAN.

Step 1: Assign the disabled interfaces to an inactive VLAN:

SW3(config)#int range g0/0 - 9SW3(config-if-range)# switchport access vlan 999

Step 2: Configure trunk links to not allow traffic from the inactive VLAN:

SW3(config)#int g1/1SW3(config-if)#switchport trunk allowed vlan except 999

See Also

https://workbench.cisecurity.org/benchmarks/23798