VLANs Flashcards
What is a VLAN (Virtual Local Area Network)?
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.
What are the benefits of using VLANs?
VLANs improve network performance by reducing broadcast traffic, enhance security by segmenting traffic, and provide more flexible network management.
How do you create a VLAN in Junos OS?
You can create a VLAN in Junos OS by using the command: set vlans <vlan-name> vlan-id <vlan-id>.</vlan-id></vlan-name>
What is the difference between a tagged and untagged VLAN?
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.
What is the purpose of a VLAN trunk?
A VLAN trunk allows multiple VLANs to pass through a single link between switches, using tags to differentiate between VLANs.
How do you assign an interface to a specific VLAN in Junos OS?
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>
What is the role of a VLAN ID?
The VLAN ID is a unique identifier used to tag frames belonging to a particular VLAN, enabling switches to differentiate between VLANs.
What is the difference between a Layer 2 and Layer 3 VLAN?
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.
What is the command to delete a VLAN in Junos OS?
You can delete a VLAN in Junos OS using the command: delete vlans <vlan-name>.</vlan-name>
Can a single port belong to multiple VLANs?
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.