VLANs Flashcards

1
Q

What is a VLAN (Virtual Local Area Network)?

A

A VLAN is a logical grouping of devices within a network that can communicate as if they are on the same physical network, even if they are geographically separated.

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

What are the benefits of using VLANs?

A

VLANs improve network performance by reducing broadcast traffic, enhance security by segmenting traffic, and provide more flexible network management.

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

How do you create a VLAN in Junos OS?

A

You can create a VLAN in Junos OS by using the command: set vlans <vlan-name> vlan-id <vlan-id>.</vlan-id></vlan-name>

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

What is the difference between a tagged and untagged VLAN?

A

A tagged VLAN is used for communication between devices on different VLANs, where the VLAN ID is added to the frame. An untagged VLAN is used for communication within a single VLAN, where no VLAN tag is added.

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

What is the purpose of a VLAN trunk?

A

A VLAN trunk allows multiple VLANs to pass through a single link between switches, using tags to differentiate between VLANs.

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

How do you assign an interface to a specific VLAN in Junos OS?

A

To assign an interface to a VLAN in Junos OS, use the command: set interfaces <interface-name> unit 0 family ethernet-switching vlan members <vlan-name>.</vlan-name></interface-name>

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

What is the role of a VLAN ID?

A

The VLAN ID is a unique identifier used to tag frames belonging to a particular VLAN, enabling switches to differentiate between VLANs.

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

What is the difference between a Layer 2 and Layer 3 VLAN?

A

A Layer 2 VLAN is used for segmenting traffic at the Data Link Layer, while a Layer 3 VLAN involves routing between VLANs at the Network Layer.

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

What is the command to delete a VLAN in Junos OS?

A

You can delete a VLAN in Junos OS using the command: delete vlans <vlan-name>.</vlan-name>

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

Can a single port belong to multiple VLANs?

A

Yes, a single port can belong to multiple VLANs if it is configured as a trunk port, which allows multiple VLANs to traverse the same physical interface.

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