LPIC-2 Advanced Networking Configuration Practice Question
Which command will display the current VLAN membership of interface eth1?
⚠ Common exam trap
It's easy for candidates to confuse `ip link show` or `ip addr show` with VLAN membership display, or mistakenly think that `vconfig` or `/proc/net/vlan/` files provide per-physical-interface VLAN membership, when in fact those tools are for VLAN sub-interfaces, not bridge port VLAN membership.
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
✓
bridge vlan show dev eth1
The `bridge vlan show dev eth1` command displays the current VLAN membership of a specific interface when the interface is part of a Linux bridge. This command queries the kernel's bridge VLAN filtering database, showing which VLAN IDs are tagged or untagged on the given port, which is the standard way to view VLAN membership in modern Linux networking.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
vconfig list eth1
Why it's wrong here
vconfig is deprecated and does not show current membership efficiently.
- ✗
ip addr show eth1
Why it's wrong here
Shows IP addresses, not VLAN membership.
- ✗
cat /proc/net/vlan/eth1
Why it's wrong here
Only exists if the interface is configured as a VLAN interface via older tools.
- ✓
bridge vlan show dev eth1
Why this is correct
Displays VLAN membership for the specified interface, including PVID and tagged VLANs.
- ✗
ip link show eth1
Why it's wrong here
Shows link status and MAC address, not VLAN membership.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 507 original LPIC-2 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.