5. Ethernet LAN Switching Flashcards

1
Q

Which of the following statements describes part of the process of how a switch
decides to forward a frame destined for a known unicast MAC address?
a. It compares the unicast destination address to the bridging, or MAC address, table.
b. It compares the unicast source address to the bridging, or MAC address, table.
c. It forwards the frame out all interfaces in the same VLAN except for the incoming
interface.
d. It compares the destination IP address to the destination MAC address.
e. It compares the frame’s incoming interface to the source MAC entry in the MAC
address table.

A

a. It compares the unicast destination address to the bridging, or MAC address, table.

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

Which of the following statements describes part of the process of how a LAN switch
decides to forward a frame destined for a broadcast MAC address?
a. It compares the unicast destination address to the bridging, or MAC address, table.
b. It compares the unicast source address to the bridging, or MAC address, table.
c. It forwards the frame out all interfaces in the same VLAN except for the incoming
interface.
d. It compares the destination IP address to the destination MAC address.
e. It compares the frame’s incoming interface to the source MAC entry in the MAC
address table.

A

c. It forwards the frame out all interfaces in the same VLAN except for the incoming
interface.

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

Which of the following statements best describes what a switch does with a frame
destined for an unknown unicast address?
a. It forwards out all interfaces in the same VLAN except for the incoming interface.
b. It forwards the frame out the one interface identified by the matching entry in the
MAC address table.
c. It compares the destination IP address to the destination MAC address.
d. It compares the frame’s incoming interface to the source MAC entry in the MAC
address table.

A

a. It forwards out all interfaces in the same VLAN except for the incoming interface.

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

Which of the following comparisons does a switch make when deciding whether a
new MAC address should be added to its MAC address table?
a. It compares the unicast destination address to the bridging, or MAC address, table.
b. It compares the unicast source address to the bridging, or MAC address, table.
c. It compares the VLAN ID to the bridging, or MAC address, table.
d. It compares the destination IP address’s ARP cache entry to the bridging, or MAC
address, table.

A

b. It compares the unicast source address to the bridging, or MAC address, table.

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

A Cisco Catalyst switch has 24 10/100 ports, numbered 0/1 through 0/24. Ten PCs
connect to the 10 lowest numbered ports, with those PCs working and sending data
over the network. The other ports are not connected to any device. Which of the following
answers lists facts displayed by the show interfaces status command?
a. Port Ethernet 0/1 is in a connected state.
b. Port Fast Ethernet 0/11 is in a connected state.
c. Port Fast Ethernet 0/5 is in a connected state.
d. Port Ethernet 0/15 is in a notconnected state.

A

c. Port Fast Ethernet 0/5 is in a connected state.

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

Consider the following output from a Cisco Catalyst switch:
SW1# show mac address-table dynamic
Mac Address Table
——————————————-
Vlan Mac Address Type Ports
—- ———– ——– —–
1 02AA.AAAA.AAAA DYNAMIC Gi0/1
1 02BB.BBBB.BBBB DYNAMIC Gi0/2
1 02CC.CCCC.CCCC DYNAMIC Gi0/3
Total Mac Addresses for this criterion: 3
Which of the following answers is true about this switch?
a. The output proves that port Gi0/2 connects directly to a device that uses address
02BB.BBBB.BBBB.
b. The switch has learned three MAC addresses since the switch powered on.
c. The three listed MAC addresses were learned based on the destination MAC
address of frames forwarded by the switch.
d. 02CC.CCCC.CCCC was learned from the source MAC address of a frame that
entered port Gi0/3.

A

d. 02CC.CCCC.CCCC was learned from the source MAC address of a frame that
entered port Gi0/3.

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

What are the three main actions switches perform

A
  1. When to forward a fram or when to filter based on the destination MAC address
  2. Prepare to forward frames by learning MAC address by examining the source MAC address of each frame received
  3. Forward only one copy of the frame to the destination by creating a Layer2 loop free environment with other switches using STP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is STP

A

Spanning Tree Protocol

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

What are other names for a MAC address table

A

Switching table
Briding table
Content Addressable Memory (CAM) table

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

What does the switch use to build MAC address tables

A

Source MAC addresses

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

How does a switch build a MAC address table

A
  1. Listen to incoming frames and examine source MAC and interface it was received
  2. If MAC is not in the table then add it to the table with the entry interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a frame whose destination address is unknown to the switch

A

unknown unicast

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

What does a switch do with an unknown unicast

A

Flood the frame

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

What does flooding a frame mean

A

Forward frame out all ports except the port on which the frame was received

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

What can happen without STP

A

Any flooded frame would loop for an indefinite amount in ethernet networks with redundant links

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

How does STP prevent loop

A

Cause some interfaces to go into blocking state where they do not send or receive frames

17
Q

What are some default settings of a Catalyst switch(5)

A

all interfaces enabled by default
all interfaces on VLAN 1
10/100 and 10/100/1000 use autonegotiation by default
MAC learning, forwarding and flooding logic works by default
STP enabled by default

18
Q

How to see the dynamically learned MAC address entries

A

show mac address-table dynamic

19
Q

How to erase the VLAN config

A

delete vlan.dat

20
Q

How do you see the status of the interfaces on a switch

A

show interface status

21
Q

How do you see for port fa0/1, the stats about incoming and outgoing frames on the interface

A

show interface fa0/1 counters

22
Q

what does show interface counters show

A

number of unicast, multicast, broadcast frames in and out in bytes

23
Q

How do you see the mac address entry for fa0/1

A

show mac address-table dynamic interface fa0/1

24
Q

How do you see all the mac address entries in VLAN 2

A

show mac addres-table dynamic vlan 2

25
Q

How do you see how long the switch holds onto a MAC address entry

A

show mac address-table aging-time

26
Q

What is the default amount of time a switch will hold onto a MAC table entry

A

300 seconds

27
Q

How do you clear all MAC table entries for VLAN 3

A

clear mac address-table dynamic vlan 3

28
Q

How do you see the total number of entries in the MAC address table

A

show mac address-table count

29
Q

What memory does the MAC address table use

A

Content addressable memory

30
Q

How do you see the MAC address entry aging for VLAN 5 to 600 sec

A

mac address-table aging-time 600 vlan 5