Examine the following output from SwitchD.
Based on this output, what command MUST be executed for an 802.1q trunk to be created on port Fa0/1?
A.
switchport mode trunk
B.
switchport mode nonegotiate
C.
switchport trunk encapsulation 802.1q
D.
switchport trunk native VLAN
Explanation:
The command switchport mode trunk must be executed for a trunk to form. The output indicates that the Administrative Mode of the port is “static access,” which
means the port has been configured as a static (fixed) access port. Access mode disables trunking on an access port.
Below is a sample of the configuration required to allow a router to provide inter-VLAN routing between two VLANs residing on the switch:For this example, the following statements are true:
The trunk link connects to Fa0/0 on the router and Fa0/1 on the switch.
The physical interface F0/0 on the router has been divided into two subinterfaces, Fa0/0.1 and Fa0/0.2.
The encapsulation type of 802.1q has been specified on the two subinterfaces of the router.
The physical interface on the switch has been specified as a trunk link.
The IP addresses 192.168.10.1 and 192.168.20.1 should be the default gateways of the computers located in VLANs 1 and 2, respectively.
The switchport mode nonegotiate command does not need to be executed because the switch is already configured for non-negotiation, as indicated by the output
Negotiation of Trunking: Off. Trunk negotiation using the Dynamic Trunking Protocol (DTP) does not need to be enabled for a trunk to form.
The switchport trunk encapsulation 802.1q command does not need to be executed for a trunk to form. Also, the output Operational Trunking Encapsulation: dot1q
indicates that 802.1q encapsulation is already configured.
The switchport trunk native VLAN command does not need to be executed. This command is used to change the native VLAN from its default of 1, but leaving it set
to the default of 1 will not prevent the trunk from forming.
Objective:
Routing Fundamentals
Sub-Objective:
Configure, verify, and troubleshoot inter-VLAN routingCisco > Catalyst 3560 Switch Software Configuration Guide, Rel. 12.2(25)SEE > Configuring VLANs > Configuring VLAN Trunks > Trunking Overview