View the VLAN port member status to display the port member status for all VLANs on the switch or for the specified VLAN.
show vlan members
show vlan members [null-vlan] [port {slot/port[-slot/port] [,...]}] [<1-4059>]
show vlan members null-vlan
show vlan members port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
None
User EXEC
The show vlan members command displays the following information:
Output field |
Description |
---|---|
VLAN ID |
Indicates the VLAN ID. |
PORT MEMBER |
Indicates the set of ports that are members (static or dynamic) of this VLAN. |
ACTIVE MEMBER |
Indicates the set of ports that are currently active in this VLAN. Active ports include all static and dynamic ports that meet the VLAN policy. |
STATIC MEMBER |
Indicates the set of ports that are static members of this VLAN. A static member of a VLAN is always active and never ages. |
NOT_ALLOW MEMBER |
Indicates the set of ports that cannot become members of this VLAN. |
VLAN PORT NUM |
Indicates the VLAN port number for the passive OSPF interface. |
The following example displays VLAN port data.
Switch1:1>show vlan members ========================================================================== Vlan Port ========================================================================== VLAN PORT ACTIVE STATIC NOT_ALLOW ID MEMBER MEMBER MEMBER MEMBER -------------------------------------------------------------------------- 1 1/1-1/16,1/17/1- 1/1-1/16,1/17/1- 1/17/4,1/18/1- 1/17/4,1/18/1- 1/18/4,2/1-2/16, 1/18/4,2/1-2/16, 2/17/1-2/17/4, 2/17/1-2/17/4, 2/18/1-2/18/4,3/1- 2/18/1-2/18/4,3/1- 3/6,4/1-4/4,4/6 3/6,4/1-4/4,4/6 2 4/5 4/5 All 2 out of 2 Total Num of Port Entries displayed