Default Configuration
By default, routing is enabled on VLAN 1. However, VLAN 1 does not route
packets until an IP address is assigned to the VLAN. DHCP is not enabled on
VLAN 1 by default.
Command Mode
VLAN Configuration or Global Configuration modes
User Guidelines
Assigning an IP address to a VLAN interface enables routing on the VLAN
interface.
Examples
console(config-vlan10)# interface vlan 10
console(config-if-vlan10)#
interface range vlan
Use the interface range vlan command in Global Configuration mode to
execute a command on multiple VLANs at the same time.
Syntax
interface range vlan {
vlan-range — A list of valid VLAN IDs to add. Separate nonconsecutive
•
VLAN IDs with a comma and no spaces; use a hyphen to designate a range
of IDs. (Range: 2–4093)
•
all — All existing static VLANs.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
vlan-range
all
|
}
VLAN Commands
811