VLAN Commands 805
•
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, Config mode and all Config sub-modes
User Guidelines
The command has no user guidelines.
Example
The following example shows the case if no IP Subnet to VLAN association
exists.
console#show vlan association subnet
IP Address IP Mask VLAN ID
---------------- ---------------- -------
The IP Subnet to VLAN association does not exist.
switchport access vlan
Use the switchport access vlan command in Interface Configuration mode to
configure the VLAN ID when the interface is in access mode. To reconfigure
the default, use the no form of this command.
Syntax
switchport access vlan
vlan-id
no switchport access vlan
•
vlan-id
— A valid VLAN ID of the VLAN to which the port is configured.
Default Configuration
The default value for the
vlan-id
parameter is 1.
2CSPC4.X8100-SWUM102.book Page 805 Friday, March 15, 2013 8:56 AM