2.1 VLANs Flashcards

Configure and verify VLANs (normal range) spanning multiple switches, including access ports (data and voice), default VLAN, and InterVLAN connectivity. (30 cards)

1
Q

Define:

VLAN

A

A logical grouping of network devices.

VLANs allow for network segmentation, improving security, reducing broadcast traffic, and simplifying network management. They enable devices on different physical networks to communicate as if they were on the same network.

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

List the types of VLANs commonly used in networks.

A
  1. Default VLAN
  2. Data VLAN
  3. Voice VLAN
  4. Management VLAN
  5. Native VLAN

Default VLAN: The VLAN assigned to all ports by default, typically VLAN 1.

Data VLAN: Used for user traffic and general network communication.

Voice VLAN: Dedicated to VoIP traffic to prioritize voice communication.

Management VLAN: Used for network management and monitoring traffic.

Native VLAN: Handles untagged frames on a trunk link, usually VLAN 1 by default.

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

What is the default VLAN for all ports on a Cisco switch?

A

VLAN 1

By default, all ports on a Cisco switch are assigned to VLAN 1 unless otherwise configured. This is a standard setting across Cisco devices.

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

What is VLAN trunking?

A

A method for carrying traffic from multiple VLANs over a single link.

Trunking is essential for inter-switch communication, enabling VLAN traffic to be transmitted across switches using protocols like 802.1Q.

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

Fill in the blank:

The protocol used for VLAN trunking in modern networks is ________.

A

802.1Q

802.1Q is the industry-standard protocol for VLAN tagging, allowing multiple VLANs to be carried over a single trunk link.

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

What is the size of the VLAN ID field in the 802.1Q header?

A

12 bits

The VLAN ID field occupies 12 bits within the 4-byte header of the 802.1Q protocol, which is used for tagging frames in a network.

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

True or False:

The default VLAN is always VLAN 2 on Cisco switches.

A

False

The default VLAN on Cisco switches is VLAN 1, not VLAN 2. It cannot be deleted, though it can be reassigned.

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

Fill in the blank:

A switch forwards a frame lacking an _______ header on a trunk.

A

802.1Q

Frames without an 802.1Q header are sent to the native VLAN, which defaults to VLAN 1.

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

If a switch has two broadcast domains, how many VLANs does it have?

A

Two

Each broadcast domain corresponds to a VLAN. Therefore, two broadcast domains indicate the presence of two VLANs.

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

What can be said about the VLAN ID of a native VLAN?

A

It can have its VLAN ID changed and is VLAN 1 by default.

A native VLAN can be configured to any VLAN ID, but it starts as VLAN 1 by default.

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

How can broadcast traffic be reduced in a multi-department network?

A

By implementing VLANs.

VLANs create separate broadcast domains, which limits broadcast traffic to only the relevant department, thus reducing overall network congestion.

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

True or False:

A Layer 2 switch can’t forward traffic between VLANs without a router.

A

True

A Layer 2 switch cannot route traffic between VLANs; InterVLAN routing requires either a router or a Layer 3 switch.

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

What are the four components found in the tag of an 802.1Q frame.

A
  1. VID (VLAN Identifier)
  2. CFI (Canonical Format Indicator)
  3. PRI (Priority)
  4. TPID (Tag Protocol Identifier)

VID: Identifies the VLAN to which the frame belongs.

CFI: Indicates the MAC address format.

PRI: Specifies the priority level for the frame.

TPID: Marks the frame as an 802.1Q tagged frame.

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

What are the characteristics of access interfaces on a switch?

A

They do not use VLAN trunking and are configured for one VLAN only.

Access ports are dedicated to a single VLAN and do not participate in trunking, which is reserved for inter-switch connections.

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

Which subfield in an 802.1Q frame identifies the VLAN?

A

VID

The VLAN Identifier (VID) is crucial for specifying the VLAN to which the frame belongs, allowing for proper traffic management.

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

What are two identifying features of a switch’s default VLAN?

A

It cannot have its VLAN ID changed and has a default VLAN ID of 1.

The default VLAN remains at ID 1 and cannot be modified; it is essential for basic switch operations.

17
Q

True or False:

VLAN 1 is the default VLAN for interfaces and cannot be deleted.

A

True

VLAN 1 is a fundamental component of Cisco switches, serving as the default and undeletable VLAN.

18
Q

Fill in the blank:

VLANs ______ CPU workload on network devices.

A

reduce

By isolating broadcast domains, VLANs ensure that devices only process relevant broadcasts, preventing unnecessary processing of every broadcast frame and improving overall performance.

19
Q

What command is used to designate VLAN 2 as the native VLAN on a switch?

A

switchport trunk native vlan 2.

This command configures the specified VLAN as the native VLAN for trunk ports, allowing untagged traffic to flow correctly.

20
Q

Which command checks a switch interface’s administrative mode?

A

show interfaces gigabit 0/1 switchport.

This command provides detailed information about the specified interface, including its VLAN configuration.

21
Q

How many VLANs are available by default on a Cisco switch?

A

5

Cisco switches come with five default VLANs: 1, 1002, 1003, 1004, and 1005, with VLAN 1 being the active default for interfaces.

22
Q

List three advantages of implementing VLANs in a network.

A
  1. Flexible network design.
  2. Improved security by isolating VLAN traffic.
  3. Fewer hosts processing unnecessary broadcasts.

VLANs allow for organized traffic management, improved security, and decreased unnecessary load on devices.

23
Q

How can you delete a VLAN from a Cisco switch?

A

By using the command “no vlan [VLAN_ID]”.

This command removes the VLAN configuration, but you may also need to remove the VLAN from any trunk configurations to fully delete it.

24
Q

Which command configures an access port for VLAN 10, ignoring DTP?

A

switchport mode access.

This command ensures the port operates solely as an access interface, preventing it from being influenced by trunking protocols.

25
# Fill in the blank: The **size of the header** added to Ethernet frames by 802.1Q is \_\_\_\_\_\_ bytes.
4 ## Footnote The *4-byte header* includes essential information such as the VLAN ID, which is critical for frame processing.
26
What command **configures an interface** for the voice VLAN on an IP phone?
switchport voice vlan 20 ## Footnote This **command** ensures that the interface is configured to handle voice traffic on VLAN 20, while a *separate command* is required for data traffic on VLAN 10.
27
# True or False: The command vlan 2 **creates** a VLAN with ID 2.
True ## Footnote This **command** is executed in *configuration mode* to create a VLAN with the specified ID. Other commands mentioned do not perform this function.
28
What is the **correct command** to assign an interface to a VLAN with ID 10?
switchport access vlan 10 ## Footnote This command statically *assigns* the interface to VLAN 10, while other options pertain to VLAN creation or trunking configurations.
29
What is **needed** for a Layer 2 switch to forward packets between VLANs?
A router ## Footnote *Layer 2 switches* do not have routing capabilities and thus rely on routers for inter-VLAN communication.
30
Which command shows the VLANs configured on a switch?
show vlan brief ## Footnote This command provides a concise overview of all VLANs, including their IDs and associated ports, making it essential for VLAN management.