326
Appendix
■
Answers to Practice Test Questions
124. B. 802.1Q is the trunking protocol that should be used for tagging VLANs when you
are routing between VLANs on a router. 802.1x is a protocol that authenticates layer
2 communications. Inter-Switch Link (ISL) is a Cisco proprietary protocol and it’s not
always supported. The VLAN Trunking Protocol (VTP) is a Cisco proprietary protocol
that helps propagate VLAN configuration to other switches.
125. D. The command
encapsulation dot1q 2 will associate the subinterface with VLAN
2. If you specify the native tag after the command, it will make this subinterface the
native VLAN for the trunk. The command
switchport native vlan 2 is incorrect. The
command
interface gi 0/1.2 native is incorrect. The command native vlan 2 is
incorrect.
126. A. When configuring an IP address on an SVI, you must enter the interface of the VLAN.
Once in the pseudo interface, you enter the
ip address command and then enter no
shutdown. Entering the command interface vlan 10 and then configuring ip address
192.168.10.1/24 will not work because the commands are not followed by a no
shutdown command. The IP address is also entered in CIDR format and not the proper
dot-decimal notation. When entering
vlan 10, you will be placed inside the VLAN
configuration prompt and not the Switched Virtual Interface (SVI).
127. A. When you are configuring a router on a stick (ROAS), the switch port of the switch
must be in trunk mode. This is so that traffic can be tagged as it gets sent to the router,
which will see the tag and route it accordingly by the destination IP address. In an access
mode, the VLAN information is stripped from the frame before it enters or leaves the
interface. In routed mode, the interface performs as a routed interface. In switched mode,
the interface can perform as an access mode or trunk mode switch port.
128. B. A best practice is to always name the subinterface the same as the VLAN number
you are going to route. An example is if you are connected to Fa0/1 on the router and
you want to create an IP address on the subinterface for VLAN 2. Then you would name
the subinterface Fa0/1.2. The subinterface will not allow you to name it with a friendly
name, unlike Cisco switches that allow for a friendly name to be associated with VLANs.
Although you can configure a subinterface from 1 through 65535 and higher with various
IOS versions, the default gateway cannot be sensibly represented. Naming the subinterface
the same as the switch’s interface number is not very useful in identifying the VLAN.
129. C. The command
encapsulation dot1q 5, when configured inside of the subinterface,
will program the subinterface to accept frames for VLAN 5. The command
interface
gi 0/1.5 is incorrect. The command vlan 5 is incorrect. The command switchport
access vlan 5 is incorrect.
130. B. On 2960-XR switches, you must enable the Switching Database Manager (SDM) for
LAN Base routing to enable routing. The switch then requires a reload before you can
configure routable SVIs. The command
ip lanbase is incorrect. The command sdm
lanbase-routing is incorrect. The command sdm routing is incorrect.
Chapter 3: IP Connectivity (Domain 3)
Do'stlaringiz bilan baham: |