A network administrator is configuring a secure interswitch 802.1Q trunk link on Cisco switch interface GigabitEthernet0/1. The task requires statically enabling trunking, stopping DTP frame negotiation, reassigning the native VLAN to VLAN 99, and removing VLAN 1 from the trunk's allowed list. Place the CLI commands and actions in the correct logical configuration order.
- 1Access the target interface configuration mode (interface GigabitEthernet0/1).
- 2Statically configure the interface into trunk mode (switchport mode trunk).
- 3Disable Dynamic Trunking Protocol negotiation (switchport nonegotiate).
- 4Reassign the untagged native VLAN to VLAN 99 (switchport trunk native vlan 99).
- 5Prune VLAN 1 from passing traffic over the link (switchport trunk allowed vlan remove 1).
Cevap
The correct sequence begins by entering interface mode, enforcing static trunking, disabling DTP negotiation, setting native VLAN 99, and finally removing VLAN 1 from the allowed VLAN list.
Configuring a static 802.1Q trunk on a Cisco Catalyst switch requires stepping into interface configuration mode first. Setting switchport mode trunk must precede switchport nonegotiate because DTP disabling is rejected by Cisco IOS on dynamic interfaces. Configuring native VLAN 99 and pruning VLAN 1 completes the trunk hardening workflow.
Adım Adım Çözüm
Anahtar Kavram
802.1Q Trunk CLI Configuration Order and DTP Prerequisites