JNCIS-ENT Layer 2 Switching And VLANs Practice Question
An administrator needs to modify the name of an existing VLAN from 'sales' to 'retail' without changing its VLAN ID 40. Which command accomplishes this?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
rename vlans sales to retail
In Junos, renaming a configuration object is performed using the 'rename' command in configuration mode.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
edit vlans sales vlan-name retail
Why it's wrong here
VLAN names in Junos are defined by the object hierarchy key itself, not a vlan-name statement.
- ✗
change vlans sales name retail
Why it's wrong here
'change' is not a valid Junos configuration command.
- ✗
set vlans retail vlan-id 40
Why it's wrong here
This creates a new VLAN rather than renaming the existing one, requiring a separate deletion of the old VLAN.
- ✓
rename vlans sales to retail
Why this is correct
Correct. The rename command updates the configuration identifier while preserving child statements.
Visual reference
About these practice questions
Courseiva writes every JNCIS-ENT question from scratch — 506 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Juniper Networks exam blueprint
This JNCIS-ENT practice question is part of Courseiva's free Juniper Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the JNCIS-ENT exam.