How do I verify that an interface is added to a VLAN

Publication Date:  2016-11-24 Views:  162 Downloads:  0
Issue Description
How do I verify that an interface is added to a VLAN?
Solution
Run the display vlan vlan-id command and verify that the interface is listed in the command output.

For example, interface Ethernet2/0/0 is added to VLAN 10.

display vlan 10

* : management-vlan

---------------------

VLAN ID Type         Status   MAC Learning Broadcast/Multicast/Unicast Property

--------------------------------------------------------------------------------

10      common       enable   enable       forward   forward   forward default

-------------------

Untagged      Port: Ethernet2/0/0

-------------------

Active Untag  Port: Ethernet2/0/0

-------------------

Interface                   Physical

Ethernet2/0/0               UP

END