console(config)#vlan database
console(config-vlan)#vlan 2-10
Warning: The use of large numbers of VLANs or interfaces may cause significant
delays in applying the configuration.
console(config-vlan)#
console#show vlan
VLAN Name Ports Type Authorization
----- --------------- ------------- ----- -------------
1 Default ch1-24, Default Required
1/g1-1/xg4
2 Static Required
3 Static Required
4 Static Required
5 Static Required
6 Static Required
7 Static Required
8 Static Required
9 Static Required
10 Static Required
console#configure
console(config)#interface vlan 2
console(config-if-vlan2)#ip address 192.168.0.1 255.255.255.0
console(config)#interface ethernet 1/g5
console(config-if-1/g5)#switchport mode access
console(config-if-1/g5)#switchport access vlan 5
Warning: The use of large numbers of VLANs or interfaces may cause significant
delays in applying the configuration.
console(config-if-1/g5)#
4.5. Virtual LAN Routing Commands
console(config)#interface vlan 11
console(config-if-vlan11)#routing
console#vlan database
console(config-vlan)#vlan routing 10