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

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

Scroll to top