JN0-281 practice question 1 of 35
Which of the following are correct methods for configuring VLANs on a Junos OS switch? (Choose two)
Full set: 271 questionsIn Junos OS for EX and QFX Series switches, VLANs are configured in two main parts. First, the VLAN itself is created under the [edit vlans] hierarchy. Second, interfaces (ports) are assigned to these VLANs under the [edit interfaces] hierarchy. The set interfaces unit 0 family ethernet-switching vlan members command assigns an access port to a single VLAN. For trunk ports, multiple VLANs can be listed. Therefore, using the set interfaces command is the correct method for assigning ports and their VLAN membership.
A. Using the set vlans command to assign an IP address to the VLAN: IP addresses are assigned to Layer 3 interfaces (like IRB interfaces) under [edit interfaces], not directly to the VLAN configuration under [edit vlans].
C. Using the show interfaces command to configure VLANs: show commands are used for verification and monitoring, not for configuration. Configuration is done using set commands in configuration mode.
1. Juniper Networks TechLibrary, "Configuring VLANs on Switches," Example: Configuring a Basic VLAN on a Single Switch. This guide shows the command set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members sales to assign a port to a VLAN.
2. Juniper Networks TechLibrary, "Understanding VLANs on Switches". Under the "Configuring VLANs" section, it details that after creating a VLAN, you must "Configure the interfaces that are to be members of the VLAN." This is done within the [edit interfaces] stanza.
Keep practicing
Take the free JN0-281 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other JN0-281 practice questions
- Question 2Which of the following best describes the OSPF router ID selection process?
- Question 3Which of the following is true about the OSPF Link-State Advertisement (LSA) types?
- Question 4Which OSPF packet type is used to establish and maintain neighbor relationships between O…
- Question 5What is the primary role of OSPF’s Link-State Advertisement (LSA)?
- Question 6What is the function of the OSPF Designated Router (DR)?
- Question 7Which high availability feature is used to ensure the network continues operating when a …
