Viewing VLAN port member status
View the VLAN port member status to display the port member status for all VLANs on the device or for the specified VLAN.
Procedure
Example
View VLAN port member status:
Switch:1> show vlan members port 1/2
============================================================================== Vlan Port ============================================================================== VLAN PORT ACTIVE STATIC NOT_ALLOW ID MEMBER MEMBER MEMBER MEMBER ------------------------------------------------------------------------------ 2 1/2,1/5-1/8,1/11, 1/2,1/5-1/8,1/11, 1/14,1/26,1/38 1/14,1/26,1/38 3 1/2,1/5-1/8,1/14, 1/2,1/5-1/8,1/14, 1/26,1/38 1/26,1/38 4 1/1-1/2,1/5-1/8, 1/1-1/2,1/5-1/8, 1/13-1/14,1/25- 1/13-1/14,1/25- 1/26,1/37-1/38 1/26,1/37-1/38 100 1/2,1/14,1/23- 1/2,1/14,1/23- 1/24,1/26-1/28, 1/24,1/26-1/28, 1/38 1/38 300 1/2,1/5-1/8,1/14, 1/2,1/5-1/8,1/14, 1/26,1/38 1/26,1/38
Variable definitions
Use the data in the following table to use optional parameters with the show vlan members command.
Variable |
Value |
---|---|
null-vlan |
Displays port members of the NULL VLAN. This is a place holder VLAN for ports that are not members of any port-based VLAN. When a port is removed from all port-based VLANs, it is added to the NULL VLAN as a port member. The NULL VLAN is an internal construct and cannot be deleted. |
{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 the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. If you do not specify a port, the command shows information for all the ports. |
<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. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, 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. Note:
Entering a VLAN ID is optional. If you enter a VLAN ID the command shows information for the specified VLAN or port. Without the VLAN ID the command shows information for all the configured VLANs. |