Chapter 8 Configuring VLANs

Configuring VLANs

 

Command

Purpose

Step 7

 

 

encapsulation dot1q vlan-id

Enable a VLAN on the radio interface.

 

[native]

(Optional) Designate the VLAN as the native VLAN. On many

 

 

 

 

networks, the native VLAN is VLAN 1.

Step 8

 

 

exit

Return to global configuration mode.

Step 9

 

 

interface fastEthernet0.x

Enter interface configuration mode for the Ethernet VLAN

 

 

subinterface.

Step 10

 

 

encapsulation dot1q vlan-id

Enable a VLAN on the Ethernet interface.

 

[native]

(Optional) Designate the VLAN as the native VLAN. On many

 

 

 

 

networks, the native VLAN is VLAN 1.

Step 11

 

 

end

Return to privileged EXEC mode.

Step 12

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

This example shows how to:

Name an SSID

Assign the SSID to a VLAN

Enable the VLAN on the radio and Ethernet ports as the native VLAN

router# configure terminal router(config)# interface dot11radio0 router(config-if)# ssid batman router(config-ssid)# vlan 1 router(config-ssid)# exit router(config)# interface dot11radio0.1 router(config-subif)# encapsulation dot1q 1 native router(config-subif)# exit

router(config)# interface fastEthernet0.1 router(config-subif)#encapsulation dot1q 1 native router(config-subif)#exit

router(config)# end

Cisco Wireless ISR and HWIC Access Point Configuration Guide

8-6

OL-6415-04

 

 

Page 132
Image 132
Cisco Systems OL-6415-04 manual Encapsulation dot1q vlan-id