CCNA 2 v7 Modules 1 – 4: Switching Concepts, VLANs, and InterVLAN Routing Flashcards
Which tasks can be accomplished by using the command history feature? (Choose two.)
View a list of commands entered in a previous session.
Recall up to 15 command lines by default.
Set the command history buffer size.
Recall previously entered commands.
Save command lines in a log file for future reference.
Set the command history buffer size.
Recall previously entered commands.
What is the first action in the boot sequence when a switch is powered on?
load the default Cisco IOS software
load boot loader software
low-level CPU initialization
load a power-on self-test program
load a power-on self-test program
What must an administrator have in order to reset a lost password on a router?
a TFTP server
a crossover cable
access to another router
physical access to the router
physical access to the router
When configuring a switch for SSH access, what other command that is associated with the login local command is required to be entered on the switch?
enable secret password
password password
username username secret secret
login block-for seconds attempts number withinseconds
username username secret secret
Which command displays information about the auto-MDIX setting for a specific interface?
show interfaces
show controllers
show processes
show running-config
show controllers
If one end of an Ethernet connection is configured for full duplex and the other end of the connection is configured for half duplex, where would late collisions be observed?
on both ends of the connection
on the full-duplex end of the connection
only on serial interfaces
on the half-duplex end of the connection
on the half-duplex end of the connection
Which command is used to set the BOOT environment variable that defines where to find the IOS image file on a switch?
config-register
boot system
boot loader
confreg
boot system
What does a switch use to locate and load the IOS image?
BOOT environment variable
IOS image file
POST
startup-config
NVRAM
BOOT environment variable
Which protocol adds security to remote connections?
FTP
HTTP
NetBEUI
POP
SSH
SSH
What is a characteristic of an IPv4 loopback interface on a Cisco IOS router?
The no shutdown command is required to place this interface in an UP state.
It is a logical interface internal to the router.
Only one loopback interface can be enabled on a router.
It is assigned to a physical port and can be connected to other devices
It is a logical interface internal to the router.
What is the minimum Ethernet frame size that will not be discarded by the receiver as a runt frame?
64 bytes
512 bytes
1024 bytes
1500 bytes
64 bytes
Which impact does adding a Layer 2 switch have on a network?
an increase in the number of dropped frames
an increase in the size of the broadcast domain
an increase in the number of network collisions
an increase in the size of the collision domain
an increase in the size of the broadcast domain
After which step of the switch bootup sequence is the boot loader executed?
after CPU initialization
after IOS localization
after flash file system initialization
after POST execution
after POST execution
Which characteristic describes cut-through switching?
Error-free fragments are forwarded, so switching occurs with lower latency.
Frames are forwarded without any error checking.
Only outgoing frames are checked for errors.
Buffering is used to support different Ethernet speeds.
Frames are forwarded without any error checking.
What is the significant difference between a hub and a Layer 2 LAN switch?
A hub extends a collision domain, and a switch divides collision domains.
A hub divides collision domains, and a switch divides broadcast domains.
Each port of a hub is a collision domain, and each port of a switch is a broadcast domain.
A hub forwards frames, and a switch forwards only packets.
A hub extends a collision domain, and a switch divides collision domains.
Which statement is correct about Ethernet switch frame forwarding decisions?
Frame forwarding decisions are based on MAC address and port mappings in the CAM table.
Cut-through frame forwarding ensures that invalid frames are always dropped.
Only frames with a broadcast destination address are forwarded out all active switch ports.
Unicast frames are always forwarded regardless of the destination MAC address.
Frame forwarding decisions are based on MAC address and port mappings in the CAM table.
How do switch buffers affect network performance?
They provide error checking on the data received.
They store frames received, thus preventing premature frame discarding when network congestion occurs.
They provide extra memory for a particular port if autonegotiation of speed or duplex fails.
They hold data temporarily when a collision occurs until normal data transmission resumes.
They store frames received, thus preventing premature frame discarding when network congestion occurs.
Which switch characteristic helps keep traffic local and alleviates network congestion?
high port density
fast port speed
large frame buffers
fast internal switching
high port density
Which switch component reduces the amount of packet handling time inside the switch?
ASIC
dual processors
large buffer size
store-and-forward RAM
ASIC
Refer to the exhibit. A switch receives a Layer 2 frame that contains a source MAC address of 000b.a023.c501 and a destination MAC address of 0050.0fae.75aa. Place the switch steps in the order they occur. (Not all options are used.)
S1# show mac-address-table
Mac Address Table
Vlan | Mac Address | Type | Ports
1 | 0050.Ofae.7518 | DYNAMIC | Fa0/24
2 | 0000.0cd1.e501 | DYNAMIC | Fa0/3
1 | 000b.beea.c5d4 | DYNAMIC | Fa0/3
1 | 00d0.d3b6.c26b | STATIC | Fa0/4
- occurs first
a) The switch drops the frame.
b) The switch adds the source MAC address to the MAC address table.
c) The switch adds the destination MAC address to the MAC address table.
d) Because the destination is not known, the switch forwards the frame out all ports except the port through which the frame arrived.
e) Because the source MAC address is not known, the switch broadcasts the frame out all ports except the port through which the frame arrived.
- occurs first -> b) The switch adds the source MAC address to the MAC address table.
- occurs second -> d) Because the destination is not known, the switch forwards the frame out all ports except the port through which the frame arrived.
What information is added to the switch table from incoming frames?
source MAC address and incoming port number
destination MAC address and incoming port number
source IP address and incoming port number
destination IP address and incoming port number
source MAC address and incoming port number
Which switching method ensures that the incoming frame is error-free before forwarding?
cut-through
FCS
fragment free
store-and-forward
store-and-forward
Refer to the exhibit. How many broadcast domains are displayed?
15 hosts (R2) 20 hosts (R3)
(R1)
8 hosts (R4) 12 hosts (R5)
1
4
8
16
55
8
Under which two occasions should an administrator disable DTP while managing a local area network? (Choose two.)
when connecting a Cisco switch to a non-Cisco switch
when a neighbor switch uses a DTP mode of dynamic auto
when a neighbor switch uses a DTP mode of dynamic desirable
on links that should not be trunking
on links that should dynamically attempt trunking
when connecting a Cisco switch to a non-Cisco switch
on links that should not be trunking
Which two characteristics describe the native VLAN? (Choose two.)
Designed to carry traffic that is generated by users, this type of VLAN is also known as the default VLAN.
The native VLAN traffic will be untagged across the trunk link.
This VLAN is necessary for remote management of a switch.
High priority traffic, such as voice traffic, uses the native VLAN.
The native VLAN provides a common identifier to both ends of a trunk.
The native VLAN traffic will be untagged across the trunk link.
The native VLAN provides a common identifier to both ends of a trunk.
On a switch that is configured with multiple VLANs, which command will remove only VLAN 100 from the switch?
Switch# delete flash:vlan.dat
Switch(config-if)# no switchport access vlan 100
Switch(config-if)# no switchport trunk allowed vlan 100
Switch(config)# no vlan 100
Switch(config)# no vlan 100
Refer to the exhibit. A network administrator is reviewing port and VLAN assignments on switch S2 and notices that interfaces Gi0/1 and Gi0/2 are not included in the output. Why would the interfaces be missing from the output?
S2———- S3 (G0/2)
| (G0/1)
S1
There is a native VLAN mismatch between the switches.
There is no media connected to the interfaces.
They are administratively shut down.
They are configured as trunk interfaces.
They are configured as trunk interfaces.
A network contains multiple VLANs spanning multiple switches. What happens when a device in VLAN 20 sends a broadcast Ethernet frame?
All devices in all VLANs see the frame.
Devices in VLAN 20 and the management VLAN see the frame.
Only devices in VLAN 20 see the frame.
Only devices that are connected to the local switch see the frame.
Only devices in VLAN 20 see the frame.
Refer to the exhibit. All workstations are configured correctly in VLAN 20. Workstations that are connected to switch SW1 are not able to send traffic to workstations on SW2. What could be done to remedy the problem?
Allow VLAN 20 on the trunk link.
Enable DTP on both ends of the trunk.
Configure all workstations on SW1 to be part of the default VLAN.
Configure all workstations on SW2 to be part of the native VLAN.
Allow VLAN 20 on the trunk link.
What happens to switch ports after the VLAN to which they are assigned is deleted?
The ports are disabled.
The ports are placed in trunk mode.
The ports are assigned to VLAN1, the default VLAN.
The ports stop communicating with the attached devices.
The ports stop communicating with the attached devices.
Match the IEEE 802.1Q standard VLAN tag field with the description. (Not all options are used.)
- Type
- VLAN ID
- User Priority
- Canonical Format Identifier
a. a value that supports level or service implementation
b. a value for the tag protocol ID value
c. an identifier that enables Token Ring frames to be carried across Ethernet links
d. a value for the application protocol of the user data in the frame
e. a VLAN number
- Type -> b. a value for the tag protocol ID value
- VLAN ID -> e. a VLAN number
- User Priority -> a. a value that supports level or service implementation
- Canonical Format Identifier -> c. an identifier that enables Token Ring frames to be carried across Ethernet links