P2. Modules 1-4 Switching Concepts, VLANs, and InterVLAN Routing Flashcards

1
Q

Which two terms are associated with frames entering or leaving an interface?

A

Ingress : Entering the interface

Egress : Exiting the interface

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

How does switching work in networking?

A

The decision how a switch forwards traffic is made based on the flow of that traffic.

A LAN switch maintain a table that is referenced when forwarding traffic through the switch.

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

How does the switch MAC address table work? What are they used for?

A

A switch is made up of an integrated circuit and the accompanying software that controls the data paths through the switch.

And to transmit a frame, the switch needs to know which port it should go to. It does this by learning which device is on each port and then building a MAC address table which is stored in CAM.

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

What is the Learn and Forward method?

A
  1. Learn- Examines the source address
    Adds the source MAC if not in the table.
    Resets the time out setting it back to 5 minutes if the source is in the table.
  2. Forward - Examines Destination address
    If the destination MAC is in the MAC address table it is forwarded out the specified port.
    If a destination MAC is not in the table, it is flooded out all interfaces except the one it was received.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which forwarding methods does the switch have?

A

Store and forward switching: Receives the entire frame and ensures the frame is valid. Store-and-forward switching is Cisco’s preferred switching method.

Cut-through switching: Forwards the frame immediately after determining the destination MAC address and the egress port.

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

Which two primary characteristics does Store-and-Forward switching have?

A

Error checking: The switch will check the Frame Check Sequence (FCS) for CRC errors. Bad frames will be discarded

Buffering: The ingress interface will buffer the frame while it checks the FCS. This also allows the switch to adjust to a potential difference in speeds between the ingress and egress ports.

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

Which characteristics does the Cut-Through switching have?

A

Cut-through forwards the frame immediately after determining the destination MAC.
A fragment-free method with checking the destination and ensuring that the frame is at least 64 bytes to eliminate runts.
Concept of Cut-Through switching:

Is appropriate for switches needing latency to be under 10 microseconds

Does not check the FCS(FRAME CHECK SEQUENCE), so it can propagate errors

It May lead to bandwidth issues if the switch propagates to many errors

Cannot support ports with different speeds going from ingress to egress.

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

What is a collision domain, and what makes them disappear?

A

The network segments that share the same bandwidth between devices(half-duplex) are known as collision domains. When two or more devices within the same collision domain try to communicate at the same time, a collision will occur.

Switches eliminate collision domains and reduce congestion.

Full duplex eliminates collision domains

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

What is a broadcast domain? What can divide a layer 2 broadcast domain? And how can we expand it?

A

A collection of interconnected switches form a single broadcast domain, which extends across all Leyers 1 or layer 2 devices on a LAN. Only a router can break the broadcast domain.

Increasing devices at layer 1 or layer 2 will cause the broadcast domain to expand.

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

What happens when a layer 2 switch receives a broadcast domain? What happens if there are too many broadcasts?

A

The broadcast will flood it out all interfaces except for the ingress interface, if there are too many broadcasts it can cause congestion and poor network performance.

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

Which 4 features on the switch alleviate congestion?

A

Fast Port Speeds: Depending on the model, switches may have up to 100Gbps port speeds.

Fast Internal Switching: This uses a fast internal bus or shared memory to improve performance.

Large Frame Buffers This allows for temporary storage while processing large quantities of
frames.

High Port Density This provides many ports for devices to be connected to LAN with less cost.
This also provides for more local traffic with less congestion.

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

What are LAN and VLAN?

A

LAN: local area network; all components are
physically connected

VLAN Virtual LAN

A VLAN is a logical partition of a L2 network where logical connections between devices form a virtual network irrespective of user/device location. A broadcast domain spanning over multiple physical LANs

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

What are the 7 feature and/or benefits of VLAN?

A

Segmentation of devices on the same switch

Better organized networks based on requirements and resources (faculty vs students)

Isolation of broadcast, multicast and unicast in individual VLAN.

Dedicated Ip address range for each VLAN

Smaller broadcast domains = better performance, less waster BW

Extra security - only the same VLAN devices can communicate

Cost reduction (multiple VLAN per switch port)

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

What is a default VLAN?

A

○ All ports VLAN1 Default
○ Native VLAN is VLAN1 by default
○ Management VLAN is VLAN 1 by default
○ VLAN 1 cannot be renamed or deleted

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

Which ranges of VLAN do we have?

A

Normal Range VLAN 1 1-1005

Extended range VLAN 1006-4095

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

What is a VLAN trunk? Why do we need it?

A

VLAN trunks allow all VLan traffic to propagate between switches, This enables devices connected to different switches but in the same VLAN to communicate without going through a router.

More than one VLAN per link
Extend the VLAN accross the entire network
Supporting all VLANs and IEEE trunking

In a multi-switch environment, intra-VLAN communication needs a trunking protocol and L3 device.

16
Q

How do we identify VLANs?

A

We identify VLANs by tagging them. This happens by using the IEEE 802.1Q header and inserting a 4-byte tag within the original ethernet frame header, specifying the VLAN to which the frame belongs.

17
Q

What are the rules of tagged and untagged frames on NATIVE VLAN

A

Tagging on all VLANs

Native VLAN for legacy use (hub or management frames between switches)

Untagged traffic gets sent to native VLAN
Tagged traffic with the same VLAN id as native VLAN is dropped.

VLAN 1 is native unless changed.

Both ends of the trunk link must be configured with the same native VLAN

Possible to have different native VLANs on separate trunks.

18
Q

What is Voice VLAN tagging?

A

Voice VLAN tagging
A separate voice VLAN is required to support VoIP. This enables quality of service QoS and security policies to be applied to voice traffic.

Access port uses two VLANs (voice, data)
The switch uses CDP to inform the phone about Voice VLAN

19
Q

What is the Dynamic Trunking Protocol (DTP)

A

DTP (Cisco properiatary)

DTP manages trunk port establishment and allows for L2-level management of trunk negotiation between two VLAN-aware switches.

20
Q

Which 5 DTP trunking modes do we have?

A

– Switchport mode access: interface becomes (and negotiates for) a nontrunk interface.

– Switchport mode dynamic auto: interface becomes a trunk if the neighboring interface
is set to trunk or desirable mode.

-Switchport mode dynamic desirable: interface becomes a trunk if the neighboring
interface is set to trunk, desirable, or dynamic auto mode.

– Switchport mode trunk: interface becomes a trunk even if the neighboring interface is
not a trunk interface

– Switchport nonegotiate: prevents the interface from generating DTP frames.

21
Q

VLAN trunking Protocol (VPT) and VTP server

A

Basically the VTP shares VLAN info across several switches

Allows to manage VLANs on a swtiches configured as a VTP server

The VTP server distributes and syncs VLAN information over trunked links via IEEE 802.1q to VTP enabled switches across the network.

22
Q

How does the VTP work?

A

1.First a new VLAN gets added

2.Then we get a VTP summary advertisment which contains (VTP domain name and the config revision number)

3.Then we get a advertisement request(response to summary adverisement)

4.Subset advertisements, contains VLAN information including any changes.

23
Q

What is Inter-VLAN routing? Which three inter-VLAN routing options do we have?

A

Inter-VLAN routing is the process of forwarding network traffic from one VLAN to another VLAN.

Legacy Inter-VLAN routing

Router-on-a-Stick

Layer 3 switch using switched virtual interfaces (SVIs)

24
Q

What is Legacy Inter-VLAN Routing?

A

Legacy Inter-VLAN routing relied on using a router with multiple Ethernet interfaces.
Each router interface was connected to a switch port in different VLANs. The Router interfaces served as the default gateways to the local hosts on the VLAN subnet.

Basically, a router is connected to the switches on each VLAN. Limited by the amount of ethernet interfaces on the router.

25
Q

What is Router-on-a-stick Inter VLAN Routing?

A

Only requires one Ethernet interface.

When VLAN-tagged traffic enters the router interface, it is forwarded to the VLAN subinterface. After a routing decision is made based on the destination IP network address, the router determines the exit interface for the traffic. If the exit interface is configured as an 802.Q subinterface, the data frames are VLAN-tagged with the new VLAN and sent back out the physical interface.

TLDR:
When a client sends information it goes to a router, this router changes which VLAN this information is tagged on. The information goes from router to the desired target, then goes back to the router, and back to original client.

26
Q

What is Data VLAN?

A

○ VLANS configured to seperate user-generated traffic
○ User VLAN
○ Seperated into groups of users or devices.

27
Q

What is Native VLAN?

A

○ User traffic from a VLAN must be tagged with its VLAN ID when it is sent to another switch.
○ Trunk ports are used between switches to support the transmission of tagged traffic.

28
Q

What is management VLAN?

A

○ Configured for network management traffic, SSH, Telnet, HTTPS, HTTP and SNMP. Layer 2 switch.

29
Q

What do we use Voice VLAN for?

A

○ A seperate VLAN needed to support VOICE over IP

30
Q

Switch Virtual Interface Routing (SVI)

A

Virtual interface on a L3 switch(Multi layer switch).

Provides a GW for a VLAN to route trafffic to/from, L3 IP connectivity on the switch.

It is faster than router-on-stick, does not need external links to router and not limited to one link.

A physical port and acts similar to a router interface.
Not associated to any VLAN and does not support subinterfaces (unlike router-on-stick)
Primarily between core and distro layer switches.