VLAN Commands 613

vlan routing

Use the vlan routing command to enable routing on a VLAN. Use the “no”
form of this command to disable routing on a VLAN.
Syntax
vlan routing
vlanid
[
index
]
vlanid
— Valid VLAN ID (Range 1–4093).
index
— Internal interface ID. This optional parameter is listed in the
configuration file for all VLAN routing interfaces. When a nonstop
forwarding failover occurs, this information enables the system to correlate
checkpointed state information with the proper interfaces and their
configuration.
Default Configuration
Routing is not enabled on any VLANs by default.
Command Mode
VLAN Database mode
User Guidelines
The user is not required to use this command. Routing can still be enabled
using the routing command in VLAN Interface Configuration mode.
Examples
console(config-vlan)# vlan routing 10 1