show vlan members

View the VLAN port member status to display the port member status for all VLANs on the switch or for the specified VLAN.

Syntax

Command Parameters

<1-4059>
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. If you enable VRF scaling and SPBM mode, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.
null-vlan
Displays ports in a null VLAN.
port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If your platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Default

None

Command Mode

User EXEC

Command Output

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.

Example

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