Topic 2 - LAN Switching Technologies Flashcards

1
Q

What address table an switch maintains?

A

MAC Table

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

what it is, when an entry ages out and is discarded from the MAC address table?

A

MAC Aging

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

Store-and-forward switches

A

Store the entire frame in internal memory and check the frame for errors before forwarding the frame to its destination.

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

Cut-through switching

A

the LAN switch copies into its memory only the destination MAC address, which is located in the first 6 bytes of the frame following the preamble.

The switch looks up the destination MAC address in its switching table, determines the outgoing interface port, and forwards the frame on to its destination through the designated switch port.

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

Fragment-free switching

A
  • Fragment-free switching can be viewed as a compromise between store-and-forward switching and cut-through switching.
  • The reason fragment-free switching stores only the first 64 bytes of the frame is that most network errors and collisions occur during the first 64 bytes of a frame
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Frame flooding

A
  • Switches determine which port a frame must be sent out to reach its destination.
  • If the address is known, the frame is forwarded only on that port.
  • If the layer 2 MAC address is unknown, the frame is flooded to all ports except the one from which it originated.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Auto Negotiation

A
  • Switch and the Pc auto negotiate at what speed the data needs to be transferred.
  • should be enabled on only one end of the device
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Interpret Ethernet frame format

A
  1. Preamble – 7 bytes – used for synchronizing the Layer 2 hardware (indicates that a Ethernet Frame follows)
  2. Start Frame Delimiter – 1 byte – Indicates that the next byte begins the Destination Mac Field
  3. Destination Mac Address – 6 bytes
  4. Source Mac Address – 6 bytes
  5. Length Or Type
    Length – 2 bytes – defines the length of the data
    field of the frame
    Type – 2 bytes – defines the type of protocol
    listed inside the frame
  6. Date and Pad – 46 to 1500 bytes – Hold the PDU/IP packet
  7. Frame Check Sequence (FCS) – 4 bytes – contains a CRC check of the frame – used to check the frame for errors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Duplex and Speed?

A
  • Duplex and speed should match on both ends or else you will have problems
  • Traffic can still pass with mismatched duplex and speed, but you will experience re transmissions and reduced throughput
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What port and protocol does the following use?

1 - SSH
2 - Telent

A

SSH - TCP & port 22 by default.

Telnet -TCP & port 23 by default.

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

What is the protocol used on Trunk port?

A

802.1Q

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

What is the proprietary trunking protocol?

A

ISL ( Inter - Switch link )

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

What is a Native VLAN?

A

The native VLAN is a way of carrying untagged traffic across one or more switches. which comes in untagged on a trunk port.

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

What is the default Native VLAN?

A

VLAN 1

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

Spanning Tree protocol ( STP)

A
  • STP Monitors the network to find all links, making sure that no loops occurs by shutting down any redundant link
  • Adding redundant paths and prevent the loop/broadcast storms, unstable mac address table, duplicate frames
  • Not only does spanning-tree blocks redundant paths but also re-opens them in case of a link failure.
  • All switches communicate using Bridge Protocol Data Units (BPDU) with each other.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

STP Steps?

A

To obtain a loop-free topology STP uses three steps mentioned below

  • Elect one Root Bridge
  • Select one Root Port on the non-root bridges
  • Select one Designated Port on each segment
17
Q

Electing a Root Bridge:

A

Bridge with the Lowest Bridge ID is elected as the Root Bridge.

Bridge ID / System ID which is the burned in MAC address of the Switch.

Initially, all the switches with advertise themself as the Root bridge, once they receive the message from Superior BPDU, they start forwarding packets to them.

18
Q

Bridge priority range?

A

From 0-65535, with 32768 being default.

19
Q

Selecting Root Port ?

A

a port that has the lowest cost path towards the Root Bridge.

  • This is a port that has the lowest cumulative path cost towards the Root Bridge.
  • A Root Port is an upstream facing port that always points towards the Current Root Bridge.
20
Q

Selecting Designated Port?

A

The Port that advertises the lowest Root Path Cost onto the segment is elected as Designated Port.)

Ports on the neighbor switch opposite the root port are designated port. - Simple.

21
Q

What are the five STP Port states? and what do they do?

A
  • Disabled - All Ports when administratively shut down fall in the category of Disabled State.
  • Blocked port - A blocked port is the port that, in order to prevent loops, will not forward any frames, however listen to frames.
  • Listening - This port listens to the BPDU to make sure no loops occur on the network before forwarding data frames
  • Learning - This port listens to BPDU and learns all the path in the network
- Forwarding - After another Forward Delay the port is transitioned to Forwarding state and now it can send and receive traffic and is a fully functional port.
Forward Delay (15 Seconds by Default
22
Q

Types of STP?

A

STP: Standard and normal stp - Uses one STP for all VLANs in LAN

RSTP: Rapid Spanning Tree OR 802.1w - Improved STP for rapid convergence - Improved Convergence time ( few seconds ) to find if there is any loop in the network and start forwarding and uses one STP for all VLANS on LAN

MSTP: Multiple Spanning Tree Protocol (MSTP) - Enables grouping and mapping VLANs into different spanning tree instance for load balancing

PVST+ - Per VLAN Spanning Tree Plus - Uses a separate Spanning tree instance on every VLAN. This is default on cisco switchesAnd, problem is longer Convergence time.

RSVST+ - Rapid Per VLAN Spanning Tree Plus - Uses separate ST instance too and has imprived convergence time than PVST+

23
Q

HSRP explain.

A

Hot Standby Router Protocol -

This should be configured to match spanning tree path,
Active router: The router that is currently forwarding packets for the virtual router

Standby router: The primary backup router

Standby group: The set of routers participating in HSRP that jointly emulate a virtual router.

24
Q

3 Timers used by STP?

A

Hello ( Default - 2 Seconds )

Max Age ( Defaults 10 times hello )

Forward Delay ( Default 15 sec)

25
Q

Command to check STP?

A

Show spanning-tree

26
Q

Command to set Priority on STP?

A

Spanning-tree Vlan1 Priority 4096 (Can be changed as needed)

27
Q

Command to set the root bridge?

A

Spanning - tree vlan 1 root primary

28
Q

Whats a port fast?

A

It can take up to 50 seconds for the spanning tree to transition a port to forwarding’s state when it becomes active.

  • a loop cannot be formed on ports where a single end host is plugged in.
  • We can make port transition to a forwarding state immediately when it becomes active by disabling Spanning tree on the ports using Port fast command
29
Q

Command to enable port fast?

A

Spanning - tree portfast

30
Q

BPDU Gaurd?

A

BPDU - bridge protocol data unit

we can enable BPDU on port fast port to guard against the loop happening.

IF BPDU is received the port will shut down.

31
Q

CDP explain?

A

CDP - Cisco Discovery protocol.

Layer 2 protocol.

Shares information with other directly connected cisco devices such as OS version and ip address.

Enabled by default on most devices

It works on layer 2 so not necessary for the device to have ip.

32
Q

LLDP?

A

LLDP ( Link Layer Discovery protocol )

- Its new protocol and only supported on newer devices.

33
Q

Ethernet Channel

A

Instead of having redundant link and allowing STP to put one link on blocked status, we can bundle the link and create a logical aggregation, so multiple link appears as one. Doing this will still provide the same redundancy as STP.

34
Q

Status of Static Ethernet channel?

A

ON / OFF - Static

35
Q

Status of PAGP Ethernet channel?

A

Cisco proprietary (Port Aggregation protocol )

Desirable/ Auto

36
Q

Status of LCAP Ethernet channel?

A

LACP - Negotiate (Link Aggregation protocol)
Active / Active
Active/ Passive

37
Q

Benefits of switch stacking?

A

• Simplified network administration: Whether a stackable switch operates alone or “stacked” with other units, there is always just a single management interface for the network administrator to deal with.
This simplifies the setup and operation of the network.

  • Scalability: A small network can be formed around a single stackable unit, and then the network can grow with additional units over time if and when needed, with little added management complexity.
  • Deployment flexibility: Stackable switches can operate together with other stackable switches or can operate independently. Units one day can be combined as a stack in a single site, and later can be run in different locations as independent switches.
  • Resilient connections: In some vendor architectures, active connections can be spread across multiple units so that should one unit in a stack be removed or fail, data will continue to flow through other units that remain functional.

Improving backplane: A series of switches, when stacked together, improves the backplane of the switches in stack also.

38
Q

Benefits of chassis aggregation:

A
  • For locations needing numerous ports, a modular chassis may cost less.
  • With modular switching, there is one enclosure and one set of power supplies. With stackable switching, each unit in a stack has its own enclosure and at minimum a single power supply, but normally two power supplies per switch.

High-end modular switches have high-resiliency / high-redundancy features not available in all stackable architectures.