Chapter 11 Flashcards

1
Q

Which of the following are reasons to configure VLANs on a switch as opposed to using switches without VLANs? (Select two.)

Increased security

Increased number of broadcast domains

Increased number of collision domains

Allowing broadcast traffic between subnets

Redundant paths between two hosts

A

Increased security

Increased number of broadcast domains

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You have two VLANs connected as shown. How many broadcast domains are in this network?

0

1

2

3

4

5

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following benefits only applies to creating VLANs with switches and not to segmenting the network with regular switches?

You can guarantee bandwidth between two devices.

You can segment the network based on physical location.

You can create multiple collision domains.

You can create multiple broadcast domains.

A

2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following statements describe how VLANs affect broadcast traffic within an internetwork? (Select two.)

Devices on the same VLAN have the same subnet address.

Devices on separate VLANs share the same subnet address.

Broadcast traffic is only transmitted within a VLAN.

Broadcast traffic is transmitted to all devices on all VLANs.

Broadcast traffic is only transmitted on VLAN1.

A

Devices on the same VLAN have the same subnet address.

Broadcast traffic is only transmitted within a VLAN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following are true regarding using multiple VLANs on a single switch? (Select two.)

The number of collision domains remains the same.

The number of collision domains increases.

The number of broadcast domains remains the same.

The number of collision domains decreases.

The number of broadcast domains increases.

The number of broadcast domains decreases.

A

The number of collision domains remains the same.

The number of broadcast domains increases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following statements accurately describes a VLAN ID?

  • VLAN IDs identify both the source and destination VLAN. They are like network addresses.
  • VLAN IDs are defined at the Network layer and help route the frame through the switch fabric.
  • Switches append a VLAN ID to the header of each frame to identify the virtual network to which the frame belongs.
  • VLAN IDs identify the VLAN where the frame originated so that the receiving host can reply.
A

-Switches append a VLAN ID to the header of each frame to identify the virtual network to which the frame belongs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You want to make interface fa0/2 a member of VLAN2 on a Catalyst 2950XL switch. Which commands must you enter? (Select two.)

  • int fastethernet 0/2
  • switchport access vlan 2
  • switchport vlan 2 fa0/2
  • membership vlan 2
  • create vlan 2
A

i-nt fastethernet 0/2

-switchport access vlan 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You want to show a list of VLANs on your system. Which command would you use?

-run vlan id

-show vlan brief

-show vlan id

-run vlan brief

A

-show vlan brief

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which command would you use to delete a VLAN?

  • show vlan id [1-1005]
  • vlan [1-1005]
  • no vlan [1-1005]
  • del vlan [1-1005]
A

-no vlan [1-1005]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following commands would you use to set the priority value for voice traffic?

  • switchport voice vlan [1-1005]
  • switchport priority voice vlan [1-1005]
  • switchport priority extend cos [0-7]
  • switchport voice priority extend cos [0-7]
A

-switchport priority extend cos [0-7]

sets the priority value that voice traffic will be tagged with (the default is 5).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Computers A and B are on the same VLAN and are separated by two switches as shown. Computer A sends a frame to Computer B.

Which of the following best describes the composition of the frame as it travels from A to B?

Computer A appends a VLAN ID to the frame. It travels from switch to switch and arrives at Computer B, where it removes the VLAN ID.

Computer A sends a normal frame. The first switch forwards the frame to the second switch, where the VLAN ID is appended to the frame and forwarded to Computer B.

Computer A sends a normal frame. The first switch appends a VLAN ID to the frame. The second switch removes the VLAN ID before forwarding it to Computer B.

Computer A sends a normal frame. The first switch appends a VLAN ID to the frame. The VLAN ID remains on the frame through the second switch, up to Computer B.

A

Computer A sends a normal frame. The first switch appends a VLAN ID to the frame. The second switch removes the VLAN ID before forwarding it to Computer B.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What primary advantages does the 802.1Q Trunking Protocol have over ISL? (Select two.)

  • Supports multiple spanning-tree instances per switch.
  • Is an IEEE standard.
  • Encapsulates the entire data-link frame between the tag header and trailer.
  • Can be used with a mix of Cisco and non-Cisco devices.
  • Performed by ASIC.
A
  • Is an IEEE standard.
  • Can be used with a mix of Cisco and non-Cisco devices.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following is true concerning the default VLAN and VLAN trunking? (Select two.)

  • If the default VLAN on one end of the trunk is different from the default VLAN on the other end, the traffic of the native VLANs on both sides cannot be transmitted correctly on the trunk.
  • Supports VLAN numbers 1-1005.
  • With 802.1Q trunking, frames from the default VLAN are not tagged.
  • The native VLAN is VLAN 0 by default and may not be configured.
  • 802.1Q tags all frames before forwarding them to another switch, including the native VLAN.
A
  • If the default VLAN on one end of the trunk is different from the default VLAN on the other end, the traffic of the native VLANs on both sides cannot be transmitted correctly on the trunk.
  • With 802.1Q trunking, frames from the default VLAN are not tagged.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You are implementing a static VLAN trunking configuration on a Catalyst 3550 switch. You would like to keep the switch from tagging packets from VLAN 3 as they leave FastEthernet 0/1. Which command(s) would you use?

Switch(config)#int fa 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk encapsulation dot1q

Switch(config)#int fa 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk native vlan 3

Switch(config)#int fa 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport trunk native vlan 3

Switch(config)#int fa 0/1
Switch(config-if)#switchport mode trunk

A

Switch(config)#int fa 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk native vlan 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which command disables the trunking configuration on a switch interface?

  • switchport access
  • switchport mode trunk
  • switchport trunk disable
  • switchport mode access
A

switchport mode access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

You have implemented VLAN trunking on your network. You have two switches that are both configured to use dynamic auto mode. You discover that they are not trunking.

Which of the following trunking configuration options can be used to make these two switches trunk successfully? (Select two.)

  • Configure at least one of the switches to use dynamic desirable mode.
  • Configure at least one of the switches to use dynamic link mode.
  • Configure both switches to autonegotiate speed and duplex mode.
  • Configure at least one of the switches to use dynamic access mode.
  • Manually configure trunking on at least one of the switches.
A

iConfigure at least one of the switches to use dynamic desirable mode.

-Manually configure trunking on at least one of the switches.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Review the image to answer the following question.

You would like to manually configure the trunk status on each port for switch A so that the appropriate type is selected and so that a trunking protocol is not used. Match the command on the left with the correct port on switch A. (Commands on the left can be used once, more than once, or not at all.)

Interface Fa0/1

Interface Fa0/2

Interface Fa0/3

Interface Fa0/4

switchport mode dynamic desirable

switchport mode trunk

switchport mode access

A

Interface Fa0/1=switchport mode access

Interface Fa0/2=switchport mode access

Interface Fa0/3=switchport mode trunk

Interface Fa0/4=switchport mode access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

You have entered the following command to enable dynamic trunking configuration:

Switch(config-if)#switchport mode dynamic desirable

If the switch interface is connected to another switch, what will it attempt to do?

  • Negotiate a link only with a switch that is using dynamic auto mode.
  • Negotiate a link only with a switch that is using dynamic desirable mode.
  • Negotiate a link only with a switch that is using trunk mode.
  • Negotiate a link using the desired trunking protocol.
A

Negotiate a link using the desired trunking protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

You have two Cisco 2960 switches with 12 FastEthernet ports and 2 GigabitEthernet ports on each switch.

You connect Fa0/1 on SwitchA to Fa0/1 on SwitchB with a crossover cable. A partial configuration for both switches is shown below.

You notice that VLAN traffic for VLAN 2 is not being carried from SwitchA to SwitchB. What should you do?

  • Connect the switches using the Gi0/1 port.
  • For Fa0/1 on SwitchA, set the switchport mode to dynamic desirable.
  • For Fa0/1 on both switches, set the switchport mode to access.
  • Configure the encapsulation type on both switches to ISL.
  • Connect the switches using a straight-through cable.
A

-For Fa0/1 on SwitchA, set the switchport mode to dynamic desirable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

You want to verify that trunking is enabled between the Catalyst 2950XL switch and the Cisco 2600 router. Which command must you enter?

  • show interface fa0/1 trunk
  • show trunk
  • show vtp status
  • switchport mode trunk
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Which of the following are advantages of using the Spanning Tree Protocol (STP) in network segmented bridges? (Select two.)

  • STP minimizes the convergence time required for bridges to share network information.
  • STP identifies the most efficient path through a bridged network.
  • STP allows all bridges to forward packets.
  • STP prevents message loops from forming.
  • STP calculates all the possible paths through the network and performs load balancing.
A
  • STP prevents message loops from forming.
  • STP identifies the most efficient path through a bridged network.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Which problem does the Spanning Tree Protocol prevent?

  • It prevents message loops from developing when a switch or bridge is connected to the same location more than once.
  • It doesn’t prevent any problem. Instead, it creates an overall routing table (a span tree) for the entire network.
  • It prevents buffer overflows by defining source-quench messages that a receiving device sends to the transmitting device.
  • It prevents route tables from becoming outdated by decreasing the convergence time on a network.
A

-It prevents message loops from developing when a switch or bridge is connected to the same location more than once.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

You have three switches configured as shown.

How could you guarantee that switch C becomes the root bridge?

  • Configure switch C with a lower priority value.
  • Configure Fa0/1 and Fa0/2 on switch C with a lower port priority.
  • Configure Fa0/1 and Fa0/2 on switch C with a higher cost value.
  • Configure switch C with a higher priority value.
  • Configure Fa0/1 and Fa0/2 on switch C with a higher port priority.
  • Configure Fa0/1 and Fa0/2 on switch C with a lower cost value.
A

-Configure switch C with a lower priority value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

You have four switches configured as shown.

Which switch becomes the root bridge?

A

B

C

D

A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

A switch running STP is a backup bridge. What state is it in?

  • Disabled
  • Learning
  • Listening
  • Forwarding
  • Blocking
A

Blocking

EXPLANATION
A backup bridge is in the blocking state. It receives packets addressed specifically to it and packets addressed to all bridges. It builds its database, but does not forward packets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

You have three switches configured as shown.

For each port, identify the port role and status after spanning tree convergence by matching the port states on the left with the ports on the graphic. (Port states on the left can be used once, more than once, or not at all.)

A Gi0/1

A Gi0/2

B Gi0/1

B Gi0/2

C Gi0/1

C Gi0/2

Backup and Blocked

Designated and Forwarding
Root and Forwarding

A

C=Designated and Forwarding

A Gi0/1=Root and Forwarding

A Gi0/2=Designated and Forwarding

B Gi0/1=Root and Forwarding

B Gi0/2=Backup and Blocked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

STP uses two timers to monitor connections, the hello timer and the max age timer. Which of the following describes the hello timer?

  • Is affected by network congestion and small hardware issues.
  • Initiates a new root bridge election process if convergence occurs and a new root switch is selected.
  • Measures the amount of time between the hello packets sent from the root bridge.
  • Specifies how long a particular switch should wait after not receiving a hello packet before initiating changes to the STP topology.
A

-Measures the amount of time between the hello packets sent from the root bridge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Which advanced Spanning Tree Protocol (STP) feature prevents certain switch ports from connecting to other switches to prevent switching loops and unauthorized connections?

  • Rapid STP
  • PortFast
  • BPDU Guard
  • EtherChannel
A

-BPDU Guard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

What is the effect of using the channel-group 3 mode desirable interface configuration command? (Select two.)

  • The command configures the interface in a passive negotiating state and forms an EtherChannel if the port receives PAgP packets.
  • A channel is formed with another port group interface in either the auto or desirable mode.
  • A channel is formed with another port group interface only if it is in desirable mode.
  • The command configures the interface into a passive negotiating state and forms an EtherChannel if the port receives LACP packets for channel group 3.
  • The command configures the interface to actively negotiate the EtherChannel for PAgP channel group 3.
A
  • A channel is formed with another port group interface in either the auto or desirable mode.
  • The command configures the interface to actively negotiate the EtherChannel for PAgP channel group 3.
30
Q

You have configured an EtherChannel between two switches. To verify the EtherChannel, you use the show etherchannel summary command and receive the output as shown.

Which of the following is true? (Select two.)

  • The EtherChannel is using the 802.3ad standard.
  • All interfaces in port channel 1 are down.
  • GigabitEthernet 0/1 and 0/2 are part of channel group 1.
  • The EtherChannel is using the default channel protocol in Cisco switches.
  • Group 1 is functioning at Layer3.
A
  • The EtherChannel is using the 802.3ad standard.
  • GigabitEthernet 0/1 and 0/2 are part of channel group 1.
31
Q

Which three statements about creating VLANs with Cisco switches are true? (Select three.)

  • Devices are connected to trunk ports on a switch to enable inter-VLAN communication.
  • All devices connected to the same switch port are on the same VLAN.
  • By default, Cisco switches use a filtering database to switch traffic between VLANs.
  • All switch ports are automatically joined to the default VLAN on the device.
  • VLANs are automatically created based on port auto-detection.
  • By default, all Cisco switches run the Spanning Tree Protocol.
  • Each VLAN runs an independent copy of the Spanning Tree Algorithm.
A
  • Each VLAN runs an independent copy of the Spanning Tree Algorithm.
  • All devices connected to the same switch port are on the same VLAN.
  • By default, all Cisco switches run the Spanning Tree Protocol.
32
Q

You use PVST+ on your Cisco switches. You’d like to start using rapid spanning tree instead.

  • Which of the following actions would you take? (Select two.)
  • On each switch, configure the mode with the spanning-tree mst command.
  • On each switch, configure the mode with the spanning-tree rapid-pvst command.
  • For each edge port on each switch, use no spanning-tree portfast.
  • Remove all switches from the network and add the switches back on the network after enabling Rapid Spanning Tree.
  • On each switch, use no spanning-tree uplinkfast.
A
  • On each switch, use no spanning-tree uplinkfast.
  • On each switch, configure the mode with the spanning-tree rapid-pvst command.
33
Q

You need to configure spanning tree on a Cisco 2960 switch. You’d like to use a Spanning Tree Protocol that uses the 802.1w standards. You’d like to take advantage of fast convergence when the trunk link goes down and fast transition to the forwarding state for edge links.

Which commands will be part of your configuration? (Select two.)

Correct Answer:

switch(config)#spanning-tree uplinkfast

Correct Answer:

switch(config)#spanning-tree mode rapid-pvst

Correct Answer:

switch(config)#spanning-tree mode mst

Correct Answer:

switch(config-if)#spanning-tree portfast

Correct Answer:

switch(config)#spanning-tree mode pvst

You need to configure spanning tree on a Cisco 2960 switch. You’d like to use a Spanning Tree Protocol that uses the 802.1w standards. You’d like to take advantage of fast convergence when the trunk link goes down and fast transition to the forwarding state for edge links.

Which commands will be part of your configuration? (Select two.)

  • switch(config)#spanning-tree uplinkfast
  • switch(config)#spanning-tree mode rapid-pvst
  • switch(config)#spanning-tree mode mst
  • switch(config-if)#spanning-tree portfast

switch(config)#spanning-tree mode pvst

A

switch(config)#spanning-tree mode rapid-pvst

switch(config-if)#spanning-tree portfast

34
Q

You are verifying the configuration of spanning tree on a switch. You run the show spanning-tree command on switch A and see the following output:

VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address 000e.8411.68c0
Cost 19
Port 26 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0030.1940.8b80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
———— —- — ——— ——– ——————-
Fa0/5 Altn BLK 19 128.5 P2p
Gi0/1 Desg FWD 19 128.25 P2p
Gi0/2 Root FWD 19 128.26 P2p

Why isn’t this switch the root bridge?

  • The VLAN number was added to the configured bridge priority.
  • The MAC address for the root bridge is lower than the MAC address for switch A.
  • It is configured with a higher priority value than the root bridge priority.
  • The link cost assigned to Gi0/2 is higher than the link cost assigned at the root bridge.
A

-The VLAN number was added to the configured bridge priority.

35
Q

You are verifying Spanning Tree configuration on a switch. You run the show spanning-tree command on switch A and see the following output:

VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address 0030.1940.8b80
Cost 19
Port 26 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 61441 (priority 61440 sys-id-ext 1)
Address 000e.8411.68c0
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

What can you tell from this command output? (Select two.)

The root port on switch A is Gi0/2.

Switch A is the root bridge for VLAN 1.

The MAC address for switch A is 0030.1940.8b80.

Switch A is configured with the default priority value.

The MAC address for switch A is 000e.8411.68c0.

A

The root port on switch A is Gi0/2.

The MAC address for switch A is 000e.8411.68c0.

36
Q

You are verifying Spanning Tree configuration on a switch. You run the show spanning-tree command on switch A and see the following output:

VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 32768
Address 000e.8411.68c0
Cost 19
Port 26 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0030.1940.8b80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
———— —- — ——— ——– ——————-
Fa0/5 Altn BLK 19 128.5 P2p
Gi0/1 Desg FWD 19 128.25 P2p
Gi0/2 Root FWD 19 128.26 P2p

What is Spanning Tree mode for VLAN 1?

PVST+

The default Spanning Tree mode

Rapid PVST+

MSTP

A

Rapid PVST+

37
Q

You are verifying Spanning Tree configuration on a switch. You run the show spanning-tree command on switch A and see the following output. What is true concerning the role and state of interface Fa0/5 for VLAN 1? (Select two.)

  • The interface is in the Rapid PVST+ blocking state.
  • The interface is a backup to the root because it has a higher priority.
  • The interface receives and forwards frames.
  • If Gi0/2 stops receiving configuration BPDUs, Fa0/5 will transition to the STP root port state.
  • If Gi0/1 stops receiving configuration BPDUs, Fa0/5 will transition to the STP designated port state.
A
  • The interface is in the Rapid PVST+ blocking state.
  • If Gi0/2 stops receiving configuration BPDUs, Fa0/5 will transition to the STP root port state.
38
Q

Multiple VLANs exist on a switched internetwork.

How will these VLANs affect the function of the Spanning Tree Protocol?

  • Each port within a VLAN belongs to a separate Spanning Tree.
  • The creation of VLANs disables the Spanning Tree Protocol.
  • A separate Spanning Tree exists for each VLAN.
  • All of the VLANs belong to a single Spanning Tree.
A

-A separate Spanning Tree exists for each VLAN.

39
Q

You have just connected four switches as shown.

Assuming the default switch configuration, which switch will become the root bridge?

A

B

C

D

A

B

40
Q

You have three switches configured as shown.

Which of the following ports listed below are designated ports following STP convergence? (Select two.)

  • Fa0/1 on switch A
  • Fa0/2 on switch A
  • Fa0/1 on switch C
  • Fa0/2 on switch C
  • Fa0/1 on switch B
A
  • Fa0/1 on switch A
  • Fa0/2 on switch A
41
Q

Use the image to answer this question.

To create separate broadcast domains, you enabled four VLANs on your Catalyst 2950 switch. Then you placed a single host computer in each VLAN. Now the computer in VLAN1 cannot communicate with the computers in the other VLANs.

What must you do to enable communication between VLANs?

  • Add a router on a stick.
  • Make each computer a member of all four VLANs.
  • There is nothing you can do to make communication occur between VLANs.
  • Configure the IP address of the switch to be the default gateway on each of the VLAN computers.
A

-Add a router on a stick.

42
Q

Use the image to answer this question.

A Catalyst 1900 switch with multiple VLANs is connected to a single physical interface on a Cisco 2600 router. The switch is using ISL trunking. You want to permit interVLAN routing between each of the VLANs.

What should you do? (Select two.)

  • Encapsulate ISL on each router subinterface for the VLAN it supports.
  • Assign the single interface to VLAN1 and assign a unique IP network address to the VLAN.
  • Configure a subinterface for each VLAN and assign a unique IP network address for each VLAN.
  • Encapsulate 802.1Q on each router subinterface for the VLAN it supports.

-Configure a subinterface for each VLAN and assign the same IP address to each VLAN.

A
  • Encapsulate ISL on each router subinterface for the VLAN it supports.
  • Configure a subinterface for each VLAN and assign a unique IP network address for each VLAN.
43
Q

Use the image to answer this question. Your network has four VLANs with multiple computers in each VLAN. You want to enable interVLAN routing.

How must you assign the IP addresses for each VLAN?

  • All the computers within the same VLAN must belong to separate IP subnets.
  • All the computers within the same VLAN must belong to the same IP subnet.
  • All the computers in all the VLANs must belong to the same IP subnet.
  • There is nothing you can do to make communication occur between VLANs.
A

-All the computers within the same VLAN must belong to the same IP subnet.

44
Q

You are configuring an 1841 Cisco router for interVLAN communication. You would like to use one physical interface to handle the incoming VLANs 2 and 10. The VLANs are encapsulated with 802.1Q tags.

Which commands would you use to configure the physical interface for VLAN 2? (Select three.)

  • router(config-subif)#encapsulation dot1q 2
  • router(config-if)#encapsulation dot1q 2
  • router(config-if)#encapsulation dot1q 10
  • router(config-if)#int fa 0/1.2
  • router(config-subif)#ip address 172.16.2.1 255.255.255.0
  • router(config-if)#int fa 0/2.10
  • router(config-if)#ip address 172.16.2.1 255.255.255.0
A

router(config-subif)#encapsulation dot1q 2

  • router(config-if)#int fa 0/1.2
  • router(config-subif)#ip address 172.16.2.1 255.255.255.0
45
Q

You are configuring an 1841 Cisco router for interVLAN communication. You would like to use one physical interface to handle the incoming traffic from VLANs 2 and 10. The switch connected to the router is sending 802.1Q encapsulated traffic for VLAN 2, but is not encapsulating VLAN 10.

Which command would you use to ensure that the router correctly handles traffic coming from the switch?

  • router(config-if)#encapsulation dot1q 2 native
  • router(config-subif)#encapsulation dot1q default native
  • router(config-subif)#encapsulation dot1q 10 native
  • router(config-if)#encapsulation dot1q 10 native
  • router(config-subif)#encapsulation dot1q 2 native
A

-router(config-subif)#encapsulation dot1q 10 native

46
Q

You are implementing interVLAN routing using a router-on-a-stick configuration as shown.

You configure the router as follows:

A(config)#int fa 0/1
A(config-if)#no shutdown
A(config-if)#int fa 0/1.1
A(config-subif)#encapsulation dot1q 1 native
A(config-subif)#ip address 192.168.1.1 255.255.255.0
A(config-subif)#int fa 0/1.2
A(config-subif)#encapsulation dot1q 2
A(config-subif)#ip address 192.168.2.1 255.255.255.0

Which of the following is true? (Select two.)

  • The hosts in VLAN 2 will have 192.168.2.1 as the default gateway IP address.
  • The router will use 802.1Q to encapsulate VLAN 1 traffic.
  • The router will encapsulate all VLAN traffic using 802.1Q.
  • The router will not use 802.1Q to encapsulate VLAN 1 traffic.
  • The router will not use 802.1Q to encapsulate VLAN 2 traffic.
A
  • The hosts in VLAN 2 will have 192.168.2.1 as the default gateway IP address.
  • The router will not use 802.1Q to encapsulate VLAN 1 traffic.
47
Q

You are implementing interVLAN routing using a multi-layer switch as shown.

You configure the switch as follows:

A(config)#int vlan 1
A(config-if)#ip address 192.168.1.1 255.255.255.0
A(config-if)#no shutdown
A(config-if)#int vlan 2
A(config-if)#ip address 192.168.2.1 255.255.255.0
A(config-if)#no shutdown

Which of the following is true? (Select two.)

  • The hosts in VLAN 1 will use 192.168.2.1 as the default gateway IP address.
  • The switch can route between VLAN interfaces 1 and 2 as if the interfaces were physical links.
  • Interface VLAN 2 will remain shut down until a host from VLAN 2 sends a frame to a host in VLAN 1.
  • The subinterface on the switch has not yet been configured, and interVLAN communication will fail.
  • The hosts in VLAN 1 will use 192.168.1.1 as the default gateway IP address.
A
  • The switch can route between VLAN interfaces 1 and 2 as if the interfaces were physical links.
  • The hosts in VLAN 1 will use 192.168.1.1 as the default gateway IP address.
48
Q

You are configuring a Catalyst 3550 switch for interVLAN routing. You are adding VLAN 11 to the switch. The VLAN 1 and 2 interfaces already have a configuration on the switch, and now you need to configure the VLAN 11 interface. Which commands would you use?

-Switch(config)#int vlan 11
Switch(config-if)#ip address 172.16.11.1 255.255.255.0

-Switch(config)#vlan 11
Switch(config-vlan)#ip address 172.16.11.1 255.255.255.0

-Switch(config)#int vlan 11
Switch(config-if)#ip address 172.16.11.1 255.255.255.0
Switch(config-if)#no shut

-Switch(config)#vlan 11
Switch(config-vlan)#ip address 172.16.11.1 255.255.255.0
Switch(config-vlan)#no shut

A

-Switch(config)#int vlan 11
Switch(config-if)#ip address 172.16.11.1 255.255.255.0
Switch(config-if)#no shut

49
Q

You have configured interVLAN routing on a Catalyst 3550 switch. Hosts belonging to VLAN 2 cannot contact servers belonging to VLAN 3. To troubleshoot the issue, you enter the show ip route command and receive the output as shown.

Which of the following may be true? (Select two.)

  • The VLANs need to be routed with an external router, and the output in the exhibit does not help troubleshoot the issue.
  • VLAN 2 does not have an interface IP address.
  • The IP address for interface VLAN 2 is found in the IP routing table.
  • The VLAN 2 interface is not enabled with the no shutdown command.
  • The VLAN 2 interface is enabled after you use the shutdown command.
A
  • VLAN 2 does not have an interface IP address.
  • The VLAN 2 interface is not enabled with the no shutdown command.
50
Q

You implemented a trunking configuration between two switches. On switch A, you have used the show interface fa 0/1 switchport command and received the output as shown.

If the other switch has default configurations, which of the following is true? (Select two.)

  • FastEthernet 0/1 is configured to trunk unconditionally.
  • Traffic on the native VLAN will not transmit correctly.
  • Traffic from VLAN 5 will not be forwarded from switch A.
  • Both switches in the trunk configuration negotiated 802.1Q as the encapsulation method.
  • The other switch interface connected to switch A’s FastEthernet 0/1 is configured as an access port.
A

Traffic from VLAN 5 will not be forwarded from switch A.

-Both switches in the trunk configuration negotiated 802.1Q as the encapsulation method.

51
Q

You have a Layer 3 switch that is capable of interVLAN routing. Which process must you complete to allow interVLAN routing on a Layer 3 switch interface?

  • Implement a three-tier network design with Access layer, Distribution layer, and Core layer switches.
  • Configure link-state routing, such as OSPF or EIGRP.
  • Configure the interface as a switch virtual interface.
  • Configure Spanning Tree Protocol (STP) to prevent interVLAN looping.
A

-Configure the interface as a switch virtual interface.

52
Q

Which of the following statements about Switch Virtual Interface (SVI) characteristics are true? (Select three.)

  • An SVI is configured with an IP address and associated with a single VLAN.
  • SVIs use software switching.
  • The IP address associated with the SVI cannot be used as a default gateway.
  • A Layer 3 switch treats each interface as a physical link through which it can route traffic.
  • The IP address associated with the SVI is the default gateway of the workstation.
  • An SVI can only be used to interconnect the VLANs between Distribution Layer and Access Layer switches.
  • An SVI is configured with the network address and associated with a multiple VLANs.
A

-An SVI is configured with an IP address and associated with a single VLAN.

  • The IP address associated with the SVI is the default gateway of the workstation.
  • A Layer 3 switch treats each interface as a physical link through which it can route traffic.
53
Q

Which of the following is required before you can create an SVI?

  • The interface must be on a Core layer switch.
  • A default gateway must be configured.
  • STP must be implemented on the network.
  • A VLAN must be created in the VLAN database.
A

-A VLAN must be created in the VLAN database.

54
Q

Which of the following best describes a switch virtual interface (SVI) on a multi-layer switch? (Select two.)

  • A multi-layer switch treats an SVI as a physical link through which it can route traffic.
  • An SVI behaves like a regular router interface except that it does not support subinterfaces.
  • An SVI is configured with an IP address and is not associated with a particular VLAN.
  • An SVI is most commonly implemented to interconnect the VLANs between distribution and access switches in a multi-switch network.
  • In a multi-switch network, SVIs connect Core Layer and Distribution Layer switches.
A
  • A multi-layer switch treats an SVI as a physical link through which it can route traffic.
  • An SVI is most commonly implemented to interconnect the VLANs between distribution and access switches in a multi-switch network.
55
Q

You want to verify that interface FastEthernet 0/2 is a member of VLAN0002. Which command displays the output shown here?

VLAN Name Status Ports
—- ——————— ——— ——————————-
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6,
Fa0/7, Fa0/8, Fa0/9, Fa0/10,
Fa0/11, Fa0/12, Gi0/1, Gi0/2
2 VLAN0002 active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
…(output suppressed)

  • show interface membership
  • show vtp status
  • show vlan brief
  • show port membership
A

-show vlan brief

56
Q

You have implemented a trunking configuration between two switches. On switch A, you used the show interface fa 0/1 trunk command and received the output as shown.

If the other switch has default configurations, which of the following is true? (Select two.)

  • FastEthernet 0/1 is configured to trunk unconditionally.
  • Traffic on the native VLAN will not transmit correctly.
  • Traffic from VLAN 5 will not forward from Switch A.
  • VLAN 5 is not configured on the switch.
  • VLAN 5 uses 802.1q encryption.
A
  • Traffic on the native VLAN will not transmit correctly.
  • Traffic from VLAN 5 will not forward from Switch A.
57
Q

You have implemented a trunking configuration between two switches. On switch A, you have used the show interface fa 0/1 trunk command and received the output as shown.

If the other switch has default configurations, which of the following is true? (Select two.)

  • VLAN 3 will be forwarded and not pruned.
  • Traffic from VLAN 5 is not forwarded from Switch A.
  • VLAN 3 is not configured on the switch.
  • Traffic on the native VLAN is not transmitted correctly.
  • FastEthernet 0/1 is configured to trunk unconditionally.
A
  • VLAN 3 is not configured on the switch.
  • FastEthernet 0/1 is configured to trunk unconditionally.
58
Q

You have a Catalyst 2950 switch with three defined VLANs: VLAN 1, VLAN 3, and VLAN 5.

You connect the switch to another switch using the Fa0/1 interface and use the switchport mode trunk command for Fa0/1.

Assuming that the other switch has the default configuration, what will now pass through Fa0/1 on the switch?

  • No traffic.
  • Traffic in all default VLANs, but not for VLAN 3 or VLAN 5.
  • Only traffic in VLAN 1.
  • Traffic for all VLANs defined on the switch.
A

-Traffic for all VLANs defined on the switch.

When you connect two switches, by default, a trunk port is automatically established. Using the switchport mode trunk command ensures that trunking will happen between the switches unless the other switch has trunking disabled. Trunk ports carry traffic from all VLANs defined on the switch; no additional configuration is required to enable the switch to send traffic for a specific VLAN.

59
Q

You have configured interVLAN routing on a Catalyst 3550 switch. You enter the show run command and receive the output as shown.

Which of the following is true? (Select two.)

  • InterVLAN routing will occur between VLAN 1 and VLAN 4.
  • Interface VLAN 4 is configured with an SVI.
  • InterVLAN 2 is configured with an 802.1q encryption for all forwarding packets.
  • Interface VLAN 2 is enabled with the no shutdown interface configuration command.
  • Traffic sent from VLAN 2 to VLAN 3 will not reach VLAN 3.
A
  • Interface VLAN 2 is enabled with the no shutdown interface configuration command.
  • Traffic sent from VLAN 2 to VLAN 3 will not reach VLAN 3.
60
Q

You have two configured switches as shown in the diagram. Each switch has hosts from two separate VLANs.

How would you connect the switches so that hosts in VLAN1 on one switch can communicate with hosts in the same VLAN on the other switch?

  • Connect both switches with a third switch using crossover cables.
  • Connect both switches with a straight-through cable.
  • Connect both switches with a router using straight-through cables.
  • Connect both switches with a crossover cable.
A

-Connect both switches with a crossover cable.

61
Q

A 5-port hub is attached to interface fa 0/1 on your switch. Users of the workstations attached to the hub are complaining that their pings are erratic.

When you run the show interfaces fa 0/1 command, you receive the following output.

FastEthernet0/1 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 0019.e744.7401 (bia 0019.e744.7401)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX

  • What is the problem?
  • Giant packets
  • 100Mb/s port
  • FIFO queuing strategy
  • Duplex mismatch
A

Duplex mismatch

62
Q

You are troubleshooting Physical layer issues with the Gi0/1 interface in a router. You need to view and analyze the number of collisions detected on the interface.

Which command should you use?

show interfaces gi0/1

show interfaces gi0/1 description

show interfaces gi0/1 status

show controllers gi0/1

A

show interfaces gi0/1

63
Q

You are troubleshooting physical layer issues with the Gi0/1 interface in a router. You suspect that a duplex mismatch error has occurred, and you need to determine the duplex settings configured on the interface.

Which commands could you use? (Select two. Each response is a complete solution.)

  • show interfaces counters
  • show interfaces gi0/1 description
  • show interfaces gi0/1 status
  • show interfaces gi0/1
  • show controllers gi0/1
A
  • show interfaces gi0/1 status
  • show interfaces gi0/1
64
Q

Review the output from the show interfaces fa0/1 command on the switch2 switch in the image.

What is wrong with the fa0/1 interface in this example?

  • The line status is administratively down.
  • The cable connecting the interface with the device on the other end is a straight-through cable, but it should be crossed-over.
  • A duplex mismatch exists with the device on the other end of the connection.
  • The protocol status is down.
A

-A duplex mismatch exists with the device on the other end of the connection.

65
Q

Consider the network shown.

When you run the show interfaces command on Switch1, you observe a significant number of runts on the Gi0/1 interface.

What does this statistic indicate?

  • There is EMI or cross-talk on the cable connected to this interface, and it is corrupting frames.
  • Collisions are occurring.
  • The cable connected to this interface is a straight-through cable, but it should be a cross-over cable.
  • The cable connected to this interface is a cross-over cable, but it should be a straight-through cable.
A

-Collisions are occurring.

66
Q

You are reviewing the output of the show interfaces command for the Gi0/1 interface on a switch.

Which interface statistic displays the number of collisions that occurred after the 64th byte of the frame was transmitted?

  • CRC errors
  • Late collisions
  • Giants
  • Runts
A

-Late collisions

67
Q

You are reviewing the output of the show interfaces command for the Gi0/1 interface on a switch. You notice a significant number of CRC errors displayed.

What are the most likely causes? (Select two.)

  • The cable connected to this interface is a cross-over cable, but should be a straight-through cable.
  • The cable connected to this interface is a straight-through cable, but should be a cross-over cable.
  • Collisions are causing frame contents to arrive at this interface in a corrupted state.
  • The destination device is powered off or the interface is administratively shut down.
  • EMI, or cross-talk, on the UTP cabling is damaging frames in transit to this interface.
A
  • Collisions are causing frame contents to arrive at this interface in a corrupted state.
  • EMI, or cross-talk, on the UTP cabling is damaging frames in transit to this interface.
68
Q

Wrk1 is connected to port Fa0/16 on your Cisco 2960 switch. A cable has been plugged in to the port and is connected to a device. The port should be using full-duplex communication at 100 Mbps.

You press the Mode button to select Stat, Duplex, and Speed. The results are:

Stat = Solid green
Duplex = Off
Speed = Solid green
Which command(s) should you use for the interface to configure the appropriate settings?
  • no shutdown
  • speed 100
  • duplex full

-no shutdown
duplex full

-no shutdown
duplex full
speed 100

-duplex full
speed 100

A

duplex full

69
Q

You have two Cisco 2960 switches with 12 FastEthernet ports and 2 GigabitEthernet ports on each switch.

You connect Fa0/1 on SwitchA to Fa0/1 on SwitchB with a crossover cable. A partial configuration for both switches is shown below.

You notice that VLAN traffic for VLAN 2 is not being carried from SwitchA to SwitchB. What should you do?

  • Configure the encapsulation type on both switches to ISL.
  • For Fa0/1 on both switches, set the switchport mode to access.
  • Connect the switches using a straight-through cable.
  • Connect the switches using the Gi0/1 port.
  • For Fa0/1 on SwitchA, set the switchport mode to dynamic desirable.
A

-For Fa0/1 on SwitchA, set the switchport mode to dynamic desirable.

70
Q

You want to verify that interface FastEthernet 0/2 is a member of VLAN0002. Which command displays the output shown here?

  • show interface membership
  • show vtp status
  • show port membership
  • show vlan brief
A

-show vlan brief