Last Updated on August 1, 2021 by Admin
Which IOS command sets the native VLAN to VLAN3?
- switchport mode trunk 3
- switchport native vlan 3
- switchport trunk native vlan 3
- switchport trunk allowed vlan 3
- switchport default native vlan 3
The IOS command switchport trunk native vlan 3 sets the native VLAN to VLAN3.
Use the following command to configure the native VLAN on an 802.1Q trunk:
switch(config-if)# switchport trunk native vlan vlan_id
The 802.1Q native VLAN is the VLAN from which or to which Layer 2 frames are transmitted untagged on the 802.1Q trunk port. The default native VLAN on an 802.1Q is VLAN 1. The native VLAN IDs should be set to the same value for both sides of an 802.1Q trunk.
The command switchport trunk allowed vlan 3 is used to assign VLANs whose frames are allowed to be passed over the trunk.
The other options are incorrect due to invalid syntax.
Layer 2 Technologies
Configure and verify trunking
View all comments