CCNP Switch FAQ: VLANs and Trunks
1. A VLAN is which of the following?
a. Collision domain
b. Spanning-tree domain
c. Broadcast domain
d. VTP domain
Figure: VLAN Functionality
2. Switches provide VLAN connectivity at which layer of the OSI model?
a. Layer 1
b. Layer 2
c. Layer 3
d. Layer 4
3. Which one of the following switch functions is needed to pass data between twoPCs, each connected to a different VLAN?
a. Layer 2 switch
b. Layer 3 switch
c. Trunk
d. Tunnel
4. Which Catalyst IOS switch command is used to assign a port to a VLAN?
a. access vlanvlan-id
b. switchport access vlanvlan-id
c. vlanvlan-id
d. set port vlanvlan-id
5. Which of the following is a standardized method of trunk encapsulation?
a. 802.1d
b. 802.1Q
c. 802.3z
d. 802.1a
6. What is the Cisco proprietary method for trunk encapsulation?
a. CDP
b. EIGRP
c. ISL
d. DSL
7. Which of these protocols dynamically negotiates trunking parameters?
a. PAgP
b. STP
c. CDP
d. DTP
8. How many different VLANs can an 802.1Q trunk support?
a. 256
b. 1024
c. 4096
d. 32,768
e. 65,536
9. Which of the following incorrectly describes a native VLAN?
a. Frames are untagged on an 802.1Q trunk.
b. Frames are untagged on an ISL trunk.
c. Frames can be interpreted by a nontrunking host.
d. The native VLAN can be configured for each trunking port.
10. If two switches each support all types of trunk encapsulation on a link between them, which one will be negotiated?
a. ISL
b. 802.1Q
c. DTP
d. VTP
11. Which VLANs are allowed on a trunk link by default?
a. None
b. Only the native VLAN
c. All active VLANs
d. Only negotiated VLANs
12. Which command configures a switch port to form a trunk without using negotiation?
a. switchport mode trunk
b. switchport mode trunk nonegotiate
c. switchport mode dynamic auto
d. switchport mode dynamic desirable
13. Two hosts are connected to switch interfaces Gigabit Ethernet 1/0/1 and 1/0/33, but they cannot communicate with each other. Their IP addresses are in the 192.168.10.0/24 subnet, which is carried over VLAN 10. Theshow vlan id 10 command generates the following output:
Switch#show vlan id 10 VLAN Name Status Ports ---- -------------------------------- --------- ----------------------------- Users active Gi1/0/1, Gi1/0/2, Gi1/0/3, Gi1/0/4, Gi1/0/5, Gi1/0/6, Gi1/0/7, Gi1/0/8, Gi1/0/9, Gi1/0/10, Gi1/0/11, Gi1/0/12, Gi1/0/13, Gi1/0/14, Gi1/0/15, Gi1/0/16, Gi1/0/17, Gi1/0/18, Gi1/0/19, Gi1/0/20, Gi1/0/21, Gi1/0/22, Gi1/0/23, Gi1/0/25, Gi1/0/26, Gi1/0/27, Gi1/0/28, Gi1/0/31, Gi1/0/32, Gi1/0/34, Gi1/0/35, Gi1/0/36, Gi1/0/37, Gi1/0/39, Gi1/0/40, Gi1/0/41, Gi1/0/42, Gi1/0/43, Gi1/0/46
The hosts are known to be up and connected. Which of the following reasons might be causing the problem? (Choose all that apply.)
a. The two hosts are assigned to VLAN 1.
b. The two hosts are assigned to different VLANs.
c. Interface Gigabit Ethernet 1/0/33 is a VLAN trunk.
d. The two hosts are using unregistered MAC addresses.
14. A trunk link between two switches did not come up as expected. The configuration
on Switch A is as follows:
Switch A#show running-config interface gigabitethernet1/0/1 interface GigabitEthernet1/0/1 switchport trunk encapsulation dot1q switchport trunk allowed vlan 1-10 switchport mode dynamic auto no shutdown
The interface configuration on Switch B is as follows:
Switch B#show running-config interface gigabitethernet1/0/1 interface GigabitEthernet1/0/1 switchport trunk encapsulation dot1q switchport mode dynamic auto switchport access vlan 5 no shutdown
Assuming the interfaces began with a default configuration before the commands were applied, which one of the following reasons is probably causing the problem?
a. The two switches do not have matchingswitchport trunk allowed vlan commands.
b. Neither switch has a native VLAN configured.
c. Both switches are configured in the dynamic auto mode.
d. Switch B is configured to use access VLAN 5.
15. What command configures an IP phone to use VLAN 9 for voice traffic?
a. switchport voice vlan 9
b. switchport voice-vlan 9
c. switchport voice 9
d. switchport voip 9
16. What is the default voice VLAN condition for a switch port?
a. switchport voice vlan 1
b. switchport voice vlan dot1p
c. switchport voice vlan untagged
d. switchport voice vlan none
17. If the following interface configuration commands have been used, what VLAN numbers will the voice and PC data be carried over, respectively?
interface gigabitethernet1/0/1 switchport access vlan 10 switchport trunk native vlan 20 switchport voice vlan 50 switchport mode access
a. VLAN 50, VLAN 20
b. VLAN 50, VLAN 1
c. VLAN 1, VLAN 50
d. VLAN 20, VLAN 50
e. VLAN 50, VLAN 10
18. A Cisco lightweight wireless access point is connected to switch interface Gigabit Ethernet 1/0/20. Which one of the following commands enables you to configure the interface on the switch?
a. switchport access vlan 50
switchport mode access
b. switchport trunk allowed vlan 1-100
switchport mode trunk
c. switchport ap vlan 50
d. no switchport mode dynamic autonomou
More Resources