CCNA Layer 2 Flashcards
802.3 defines what?
Ethernet
The “T” in ethernet standards (e.g. 1000Base-T) indicates what?
Twisted pair (copper)
What is the defining characteristic of a crossover cable?
Pins 1 and 2 connect to pins 3 and 6
What devices send over pins 1 and 2?
Routers, WAPs, and PC NICs
What devices send over pins 3 and 6?
Hubs and switches
Which fiber type can go longer distances?
Single mode
Which fiber type (single/multimode) is cheaper?
Multimode
Describe the ethernet FCS field.
4 bytes, in the trailer, used for error detection (not recovery)
How many bytes in a MAC address?
48 bytes
The original 802.3 standard describes what physical connection?
10Mbps ethernet over copper, 100m (10BASE-T)
The 802.3u standard describes what?
Fast ethernet, 100Mbps, 100BASE-T, 100m over copper
The 802.3z standard describes what?
Gigabit ethernet, 1000BASE-LX, 1000Mbps, 5000m over fiber
The 802.3ab standard describes what?
Gigabit ethernet, 1000BASE-T, 1000Mbps, 100m over copper
The 802.3an standard describes what?
10Gig ethernet, 10GBASE-T, 10Gbps, 100m over copper
List three types of pluggable ethernet transceivers.
Gigabit Ethernet Interface Converter (GBIC)
Small Form Pluggable (SPF), up to 1Gb
SPF+, up to 10Gb
What Cisco feature can compensate for the wrong type of cable?
auto-mdix
What light source is used in multimode fiber?
LED
What light source is used in single-mode fiber?
Laser
10GBASE-S defines what cable type and max distance?
MM, 400m
10GBASE-LX4 defines what cable type and max distance?
MM, 300m
10GBASE-LR defines what cable type and max distance?
SM, 10km (LR = Long Reach)
10GBASE-E defines what cable type and max distance?
SM, 30km
IEEE defines the “universal address” as what?
The universal uniqueness of the MAC address
In the ethernet header, how is IPv4 identified?
type 0800
In the ethernet header, how is IPv6 identified?
type 86DD
What field does Cisco add to the HDLC header and what does it do?
“Type,” and it indicates what L3 protocol is being used
Name two L2 WAN protocols.
HDLC and PPP
What is the max cable length of 1000BASE-ZX?
70km
List the four types of memory in a Cisco device and their functions.
RAM: running config and real-time data
ROM: bootstrap
Flash: IOS
NVRAM: startup config
By default, MAC addresses are aged out after how many seconds?
300 seconds
A MAC address table has space for about how many entries?
8000
What is 802.1Q?
VLAN trunking protocol
802.1Q can support how many VLANs?
4096 (really 4094)
What are the “normal” and “extended” ranges for VLANs?
Normal: 1 to 1005
Extended: 1006 to 4094
Is a tag added to frames in the native VLAN?
No
What command effectively disables VTP?
vtp mode transparent
DTP can be disabled at the interface with what command?
switchport nonegotiate
Describe the spanning tree bridge ID
2 byte priority plus a mac address
What three timers are included in a Hello BPDU?
Hello, MaxAge, and forward delay
The winner of the STP election will have the highest or lowest priority?
Lowest
If a switch has multiple candidates for root port, what are the three tiebreakers?
1) Lowest neighbor bridge ID
2) Lowest neighbor port priority
3) Lowest neighbor internal port number
What is the default STP cost of a 10Mbit port?
2,000,000
How long is the STP max age timer by default?
10 times the Hello time
What does the STP forward delay timer do?
After convergence, a port will change from blocking to forwarding. It will spend <forward> in listening state, then again in learning state, before switching to forwarding.</forward>
What happens during the listening phase?
The switch does not forward traffic; it removes MAC addresses from which no frames are received during this time.
What happens during the learning phase?
The switch does not forward traffic; it learns and keeps track of which MAC addresses are received on which ports.
The “alternate port” is what?
In RSTP, the alternate port is the port used if the root port fails.
Why does RSTP not need a listening or learning state?
When the root port fails, RSTP immediately flushes the MAC address cache and switches over to the alternate port.
Where should PortFast be enabled?
End-user ports only
What does BPDU Guard do?
Shuts down a port if a BPDU is detected (user ports primarily)
What are the three options for per-VLAN STP?
1) PVST+
2) RPVST+
3) MST
The STP system ID extension is made up from what two values?
The VLAN STP priority plus the VLAN number (ID).
What two protocols can be used to negotiate creation of an EtherChannel?
1) Port Aggregation Protocol (PAgP) which is Cisco-proprietary
2) Link Aggregation Control Protocol (LACP) which is IEEE 802.3ad
What are the maximum number of links in a PAgP-negotiated bundle?
8
What are the maximum number of links in an LACP-negotiated bundle?
16, but only 8 can be active at once.
In the channel-group command, what keywords configure PAgP?
desirable and auto
In the channel-group command, what keywords configure LACP?
active and passive
What command is necessary to enable layer 3 switching in a switch (e.g. 2960)?
sdm prefer lanbase-routing
What command is necessary on a layer 3 switch to enable IP routing functions?
ip routing
What command on a layer 3 switch moves a port out of switching mode and into routing mode?
no switchport
What are the two main commands when configuring layer 3 EtherChannel?
1) int port-channel (global command)
2) channel-group on the interfaces