5-5
Cisco 1800 Series Integrated Services Routers (Fixed) Software Configuration Guide
OL-6426-03
Chapter 5 Configuring a LAN with DHCP and VLANs
Configure VLANs
Configure VLANs
Perform these steps to configure VLANs on your router, beginning in global configuration mode:
Verify Your VLAN Configuration
Use the following commands to view your VLAN configuration.
•
show
—Entered from VLAN database mode. Displays summary configuration information for all
configured VLANs.
•
show vlan-switch
—Entered from privileged EXEC mode. Displays detailed configuration
information for all configured VLANs.
Router#
vlan database
Router(vlan)#
show
VLAN ISL Id: 1
Name: default
Media Type: Ethernet
VLAN 802.10 Id: 100001
State: Operational
MTU: 1500
Translational Bridged VLAN: 1002
Translational Bridged VLAN: 1003
VLAN ISL Id: 1002
Name: fddi-default
Media Type: FDDI
VLAN 802.10 Id: 101002
State: Operational
MTU: 1500
Bridge Type: SRB
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.
Summary of Contents for 1801
Page 21: ...P A R T 1 Getting Started ...
Page 22: ......
Page 39: ...P A R T 2 Configuring Your Router for Ethernet and DSL Access ...
Page 40: ......
Page 119: ...P A R T 3 Configuring Additional Features and Troubleshooting ...
Page 120: ......
Page 157: ...P A R T 4 Reference Information ...
Page 158: ......