5-5
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 5 Configuring a LAN with DHCP and VLANs
Configure VLANs
Router# show ip dhcp server statistics
Memory usage 15419
Address pools 1
Database agents 0
Automatic bindings 0
Manual bindings 0
Expired bindings 0
Malformed messages 0
Secure arp entries 0
Message Received
BOOTREQUEST 0
DHCPDISCOVER 0
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPINFORM 0
Message Sent
BOOTREPLY 0
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
Router#
Configure VLANs
Perform these steps to configure VLANs on your router, beginning in global configuration mode:
Command Purpose
Step 1
vlan ?
Example:
Router# config t
Router(config)#vlan ?
WORD ISL VLAN IDs 1-4094
accounting VLAN accounting configuration
ifdescr VLAN subinterface ifDescr
Router(config)#vlan
Enters VLAN configuration mode.
Step 2
ISL VLAN ID
Example:
Router(config)#vlan 2
Router(config-vlan)#
Adds VLANs, with identifiers ranging from
1- 4094.
For details about this command and additional
parameters that can be set, see the
Cisco IOS
Switching Services Command Reference.
Step 3
exit
Example:
Router(config-vlan)#exit
Router(config)#
Updates the VLAN database, propagates it throughout
the administrative domain, and returns to global
configuration mode.