Which IOS command sets the native VLAN to VLAN3?

Last Updated on August 1, 2021 by Admin 2

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
Explanation:

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.

Objective:
Layer 2 Technologies
Sub-Objective:
Configure and verify trunking

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments