Ccna
Ccna
[email protected]
What is carrier sense multiple access collision detect (CSMA/CD)?
CSMA/CD describes the Ethernet access method. In CSMA/CD, many stations
can transmit on the same cable, and no station has priority over any other.
Before a station transmits, it listens on the wire to make sure no other station is
transmitting. If no other station is transmitting, the station transmits across the
wire. CSMA/CD is all about devices taking turns using the wire.
What devices can you use to segment a LAN at Layer 1, Layer 2, and Layer 3?
Three devices you can use to segment a LAN are:
Hubs/repeaters (Layer 1)
Bridges/switches (Layer 2) - physical addresses
Routers (Layer 3) - logical addresses
What are the advantages and disadvantages of segmenting the LAN with
routers?
An advantage of segmenting the LAN with routers is that each interface on a
router creates a single broadcast and collision domain. Routers operate at Layer
3 of the OSI model and do not propagate broadcasts. Some disadvantages are
that routers are not transparent and are implemented in software, thus
introducing latency in the network.
What two key concepts does STP calculation use to create a loop-free topology?
The two key concepts that STP uses to calculate a loop-free topology are
Bridge ID (BID)
Path cost
What is the default bridge priority in a Bridge ID for all Cisco switches?
32,768
What is the spanning tree path cost for each of the following?
10 Mbps
100 Mbps
1 Gbps
The path costs are as follows:
10 Mbps - 100
100 Mbps - 19
1 Gbps - 4
How do nonroot bridges decide which port they will elect as a root port?
Nonroot bridges use root path cost to determine which port will be the root port.
Root path cost is the cumulative cost of all links to the root bridge. The port with
the lowest root path cost is elected the bridge's root port and is placed in the
forwarding state.
What is the difference between path cost and root path cost?
Path cost is the value assigned to each port. It is added to BPDUs received on
that port to calculate the root path cost. Root path cost is defined as the
cumulative cost to the root bridge. In a BPDU, this is the value transmitted in the
cost field. In a bridge, this value is calculated by adding the receiving port's path
cost to the value contained in the BPDU.
If a nonroot bridge has two redundant ports with the same root path cost, how
does the bridge choose which port will be the root port?
If a nonroot bridge has redundant ports with the same root path cost, the
deciding factor is the port with the lowest port ID (port number).
After the root bridge and root ports are selected, the last step in spanning tree is
to elect designated ports. How do bridges elect designated ports?
In spanning tree, each segment in a bridged network has one designated port.
This port is a single port that both sends and receives traffic to and from that
segment and the root bridge. All other ports are placed in a blocking state. This
ensures that only one port on any segment can send and receive traffic to and
from the root bridge, ensuring a loop-free topology. The bridge containing the
designated port for a segment is called the designated bridge for that segment.
Designated ports are chosen based on cumulative root path cost to the root
bridge.
Note: Every active port on the root bridge becomes a designated port.
If a bridge is faced with a tie in electing designated ports, how does it decide
which port will be the designated port?
In the event of a tie, STP uses the four-step decision process discussed in
Question 30. It first looks for the BPDU with the lowest BID; this is always the
root bridge. If the switch is not the root bridge, it moves to the next step: the
BPDU with the lowest path cost to the root bridge. If both paths are equal, STP
looks for the BPDU with the lowest sender BID. If these are equal, STP uses the
link with the lowest port ID as the final tiebreaker.
What is the default time a port takes to transition from the blocking state to the
forwarding state?
The default time a port takes to transition from the blocking state to the
forwarding state is 50 seconds: 20 seconds for Max Age, 15 seconds for
listening, and 15 seconds for learning.
What does STP do when it detects a topology change in the network due to a
bridge or link failure?
If spanning tree detects a change in the network due to a bridge or link failure, at
least one bridge interface changes from the blocking state to the forwarding
state, or vice versa.