Cisco Systems C819GUK9 Router User Manual


 
12-6
Cisco 819 Integrated Services Routers Software Configuration Guide
OL-23590-02
Chapter 12 Configuring a LAN with DHCP and VLANs
Configuration Tasks
DETAILED STEPS
Assign a Switch Port to a VLAN
Perform these steps to assign a switch port to a VLAN, beginning in global configuration mode:
SUMMARY STEPS
1. interface switch port id
2. switchport access vlan vlan-id
3. end
Command Purpose
Step 1
vlan ?
Example:
Router# config t
Router(config)# vlan database?
WORD ISL VLAN IDs 1-4094
accounting VLAN accounting configuration
ifdescr VLAN subinterface ifDescr
Router(config)# vlan 2
Enters VLAN configuration mode.
Step 2
ISL VLAN ID
Example:
Router(config)#vlan 2
Router(config-vlan)#
Adds VLANs, with identifiers ranging from
1 to 4094.
For details about this command and additional
parameters that can be set, see
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.