286
Appendix
■
Answers to Practice Test Questions
16. C. The correct command is
switchport access vlan 9. This command entered into
the interface configuration prompt for the respective interface will place that interface in
VLAN 9. When you’re configuring an interface for a VLAN, only the VLAN number can
be used; therefore, the commands
switchport vlan research and switchport access
vlan research are incorrect. The command switchport vlan 9 is incorrect.
17. A. The
switchport voice vlan 4 command will configure the interface to switch
traffic with a CoS value of 5 (set by the phone) to the voice VLAN of 4. The command
switchport vlan voice 4 is incorrect. The command switchport voip vlan 4 is
incorrect. The command
switchport access vlan 4 voice is incorrect.
18. A. All VLAN tagging is removed from the frame before it egresses an access port to the
end device. Trunk ports carry the VLAN tagging from end to end. Voice ports tag packets
only when the CoS value is modified from the default. Native ports are used when frames
arrive on a trunk and do not contain any tagging information.
19. C. The client computer connected to an access port cannot see any VLAN tagging
information. It is removed before the frame egresses the interface. An access port cannot
carry VLAN tagging information because it is stripped. The client computer cannot
request the VLAN that it wants to operate in. The administrator must manually configure
the VLAN. A client computer cannot see the VLAN tagging information because it is
stripped out as it egresses an access port.
20. C. The command used to configure an access port for VLAN 8 is
switchport access
vlan 8, and the command to configure the VOIP phone is switchport voice vlan
6. The command combination of switchport vlan 8 and switchport vlan 6 voip
is incorrect. The command combination of
switchport mode access vlan 8 and
switchport voice vlan 6 is incorrect. The command switchport access vlan 8
voice 6 is incorrect.
21. D. The port is set up as a trunk. The phone is not misconfigured since the phone is
normally configured for 801.Q tagging of CoS values, and it will work for this example.
The computer is also not misconfigured; computers normally do not tag traffic for data. In
this example, the communications will be directed to the native VLAN on the configured
trunk. Configuring the command
switchport nonegotiate will only prevent the port
from participating in Dynamic Trunking Protocol (DTP), but either way, the port will
remain a trunk because it is manually configured as one.
22. A. When you are configuring port security on an interface, the switch port should have
a mode of access configured. This will also protect the switch from transitioning into
a trunk if another switch is connected. There is no such mode as dynamic mode. If the
interface is configured in trunk mode, port security will not be effective since many
different MAC addresses can traverse the link. Voice mode is not a mode; it is a function
of an access port that tags traffic when a CoS value is detected.
23. D. All switches are configured by default with all interfaces in VLAN 1. This simplifies
configuration if the switch is to be used as a direct replacement for a hub since nothing
needs to be configured. All of the other options are incorrect.
Chapter 2: Network Access (Domain 2)
Do'stlaringiz bilan baham: |