show vlan association subnet
Use the show vlan association subnet command to display the VLAN
associated with a specific configured IP-Address and netmask. If no IP
Address and net mask are specified, the VLAN associations of all the
configured IP-subnets are displayed.
Syntax
show vlan association subnet [ip-address ip-mask]
•
ip-address — Specifies IP address to be shown
•
ip-mask — Specifies IP mask to be shown
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
•
IP Address—The configured IP address
•
IP Mask—The configured IP subnet mask
•
VLAN ID—The associated VLAN identifier
Example
The following example shows the case if no IP Subnet to VLAN association
exists.
console#show vlan association subnet
IP Address
---------------- ---------------- -------
The IP Subnet to VLAN association does not exist.
IP Mask
VLAN ID
Layer 2 Switching Commands
805