Which IOS command sets the native VLAN to VLAN3?

QuestionsCategory: 300-115Which IOS command sets the native VLAN to VLAN3?
Admin Staff asked 3 months ago
Which IOS command sets the native VLAN to VLAN3?

A. switchport mode trunk 3

B. switchport native vlan 3

C. switchport trunk native vlan 3

D. switchport trunk allowed vlan 3

E. switchport default native vlan 3 C






 

Suggested Answer: 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 -
References:
Cisco > Cisco IOS Interface and Hardware Component Command Reference > switchport trunk

This question is in 300-115 Implementing Cisco IP Switched Networks (SWITCH) Exam
For getting Cisco Certified Network Professional (CCNP) Routing and Switching Certificate





Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Cisco.
Trademarks, certification & product names are used for reference only and belong to Cisco.
The website does not contain actual questions and answers from Cisco's Certification Exam.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.