Revision questions Flashcards
(49 cards)
What is the boot sequence for a switch?
Step 1: First, the switch loads a power-on self-test (POST) program stored in ROM.
POST checks the CPU subsystem. It tests the CPU, DRAM, and the portion of the flash
device that makes up the flash file system.
Step 2: Next, the switch loads the boot loader software. The boot loader is a small
program stored in ROM that is run immediately after POST successfully completes.
Step 3: The boot loader performs low-level CPU initialization. It initializes the CPU
registers, which control where physical memory is mapped, the quantity of memory, and
its speed.
**Step 4: The boot loader initializes the flash file system on the system board.
Step 5: Finally, the boot loader locates and loads a default IOS operating system
software image into memory and gives control of the switch over to the IOS.
What is the startup-config file called and where is it located?
The startup-config file is called config.text and is located in flash
Which feature on a switch is useful when the speed and duplex settings of the device connecting to the port are unknown or may change?
Autonegotiation
What are runt frames?
Ethernet frames that are shorter than the 64-byte minimum allowed
length are called runts.
Malfunctioning NICs are the usual cause of excessive runt
frames, but they can also be caused by collisions
What are Giants?
Ethernet frames that are larger than the maximum allowed size are called giants
Which statement is true about broadcast and collision domains?
Adding a switch to a network will increase the size of the broadcast domain.
Explain: A switch that receives a broadcast frame will forward the frame out all other interfaces, including interfaces that connect to other switches. These switches will also perform the same forwarding action. By adding more switches to the network, the size of the broadcast domain increases.
What is one function of a Layer 2 switch?
- Forwards data based on logical addressing
- Duplicates the electrical signal of each frame to every port
- Learns the port assigned to a host by examining the destination MAC address
- Determines which interface is used to forward a frame based on the destination MAC address
Determines which interface is used to forward a frame based on the destination MAC address
Explain:
A switch builds a MAC address table of MAC addresses and associated port numbers by examining the source MAC address found in inbound frames. To forward a frame onward, the switch examines the destination MAC address, looks in the MAC address for a port number associated with that destination MAC address, and sends it to the specific port. If the destination MAC address is not in the table, the switch forwards the frame out all ports except the inbound port that originated the frame.
What is the significant difference between a hub and a Layer 2 LAN switch?
A switch creates many smaller collision domains, and a hub increases the size of a single collision domain.
Explain: Hubs operate only at the physical layer, forwarding bits as wire signals out all ports, and extend the collision domain of a network. Switches forward frames at the data link layer and each switch port is a separate collision domain, and thus more, but smaller, collision domains are created. Switches do not manage broadcast domains because broadcast frames are always forwarded out all active ports.
What will a Cisco LAN switch do if it receives an incoming frame and the destination MAC address is not listed in the MAC address table?
Forward the frame out all ports except the port where the frame is received.
Explain:
A LAN switch populates the MAC address table based on source MAC addresses. When a switch receives an incoming frame with a destination MAC address that is not listed in the MAC address table, the switch forwards the frame out all ports except for the ingress port of the frame. When the destination device responds, the switch adds the source MAC address and the port on which it was received to the MAC address table.
Which switch characteristic helps alleviate network congestion when a 10 Gbps port is forwarding data to a 1 Gbps port?
Frame buffering
Explain:
The large frame buffers on a switch hold the ingress traffic until such time that the slower egress port can transmit the data. This reduces the number of dropped frames and alleviates network congestion.
Which switching method makes use of the FCS value?
Store-and-forward
Explain:
The store-and-forward method performs error checking on the frame using the frame-check sequence (FCS) value before sending the frame. The FCS value is the last field in the frame.
What does the term “port density” represent for an Ethernet switch?
The number of available ports
Explain:
The term port density represents the number of ports available in a switch. A one rack unit access switch can have up to 48 ports. Larger switches may support hundreds of ports.
Which information does a switch use to keep the MAC address table information current?
The source MAC address and the incoming port
Explain:
To maintain the MAC address table, the switch uses the source MAC address of the incoming packets and the port that the packets enter. The destination address is used to select the outgoing port.
Which two statements are true about half-duplex and full-duplex communications? (Choose two.)
- Full duplex offers 100 percent potential use of the bandwidth.
- Half duplex has only one channel.
- All modern NICs support both half-duplex and full-duplex communication.
- Full duplex allows both ends to transmit and receive simultaneously.
- Full duplex increases the effective bandwidth.
- Full duplex allows both ends to transmit and receive simultaneously.
- Full duplex increases the effective bandwidth.
Explain:
Full-duplex communication allows both ends to transmit and receive simultaneously, offering 100 percent efficiency in both directions for a 200 percent potential use of stated bandwidth. Half-duplex communication is unidirectional, or one direction at a time. Gigabit Ethernet and 10 Gb/s NICs require full duplex to operate, and do not support half-duplex operation.
Which type of address does a switch use to build the MAC address table?
- Destination IP address
- Source IP address
- Destination MAC address
- Source MAC address
- Source MAC address
Explain:
When a switch receives a frame with a source MAC address that is not in the MAC address table, the switch will add that MAC address to the table and map that address to a specific port. Switches do not use IP addressing in the MAC address table.
Which option correctly describes a switching method?
- Cut-through: makes a forwarding decision after receiving the entire frame
- Store-and-forward: forwards the frame immediately after examining its destination MAC address
- Cut-through: provides the flexibility to support any mix of Ethernet speeds
- Store-and-forward: ensures that the frame is free of physical and data-link errors
- Store-and-forward: ensures that the frame is free of physical and data-link errors
Explain:
Store-and-forward switching performs an error check on an incoming frame after receiving the entire frame on the ingress port. Switches which use this method have the flexibility to support any mix of Ethernet speeds. The cut-through method begins the forwarding process after the destination MAC address of an incoming frame is looked up and the egress port has been determined.
Which network device can serve as a boundary to divide a Layer 2 broadcast domain?
- Router
- Ethernet bridge
- Ethernet hub
- Access point
- Router
Explain:
Layer 1 and 2 devices (LAN switch and Ethernet hub) and access point devices do not filter MAC broadcast frames. Only a Layer 3 device, such as a router, can divide a Layer 2 broadcast domain.
What is the purpose of frame buffers on a switch?
- They provide a basic security scan on received frames.
- They provide temporary storage of the frame checksum.
- They execute checksum values before transmission.
- They hold traffic, thus alleviating network congestion.
- They hold traffic, thus alleviating network congestion.
Explain
Switches have large frame buffers that allow data waiting to be transmitted to be stored so the data will not be dropped. This feature is beneficial especially if the incoming traffic is from a faster port than the egress port used for transmitting.
Which network device can be used to eliminate collisions on an Ethernet network?
- Firewall
- Hub
- Router
- Switch
- Switch
A switch provides micro-segmentation so that no other device competes for the same Ethernet network bandwidth.
What happens to a port that is associated with VLAN 10 when the administrator deletes VLAN 10 from the switch?
- The port becomes inactive.
- The port goes back to the default VLAN.
- The port automatically associates itself with the native VLAN.
- The port creates the VLAN again.
- The port becomes inactive.
If the VLAN that is associated with a port is deleted, the port becomes inactive and cannot communicate with the network any more. To verify that a port is in an inactive state, use the show interfaces switchport command.
In which memory location are the VLAN configurations of normal range VLANs stored on a Catalyst switch?
- Flash
- NVRAM
- RAM
- ROM
- Flash
When a normal range VLAN is created the configuration information of the VLAN is stored in flash in the vlan.dat file.
An administrator is investigating a failure on a trunk link between a Cisco switch and a switch from another vendor. After a few show commands, the administrator notices that the switches are not negotiating a trunk. What is a probable cause for this issue?
- Both switches are in trunk mode.
- Both switches are in non-negotiate mode.
- Switches from other vendors do not support DTP.
- DTP frames are flooding the entire network.
- Switches from other vendors do not support DTP.
Explain:
DTP is a Cisco proprietary protocol. Non-Cisco switches do not support DTP.
What is the purpose of the vlan.dat file on a switch?
- It holds the running configuration.
- It holds the saved configuration.
- It holds the VLAN database.
- It holds the operating system.
- It holds the VLAN database.
Explain:
The VLAN database (vlan.dat) contains information about normal range VLANs such as the VLAN number, name, and VTP mode.
What is the purpose of setting the native VLAN separate from data VLANs?
- The native VLAN is for carrying VLAN management traffic only.
- The security of management frames that are carried in the native VLAN can be enhanced.
- A separate VLAN should be used to carry uncommon untagged frames to avoid bandwidth contention on data VLANs.
- The native VLAN is for routers and switches to exchange their management information, so it should be different from data VLANs.
- A separate VLAN should be used to carry uncommon untagged frames to avoid bandwidth contention on data VLANs.
Explain:
When a Cisco switch trunk port receives untagged frames (unusual in well-designed networks), it forwards these frames to the native VLAN. When the native VLAN is moved away from data VLANs, those untagged frames will not compete for bandwidth in the data VLANs.
The native VLAN is not designed for carrying management traffic, but rather it is for backward compatibility with legacy LAN scenarios.