Chapter 8 Configuring VLANs

VLAN Configuration Example

Table 8-2shows the commands needed to configure the three VLANs in this example.

Table 8-2 Configuration Commands for VLAN Example

Configuring VLAN 1

Configuring VLAN 2

Configuring VLAN 3

 

 

 

router# configure terminal

router# configure terminal

router# configure terminal

router(config)# interface

router(config)# interface

router(config)# interface

dot11radio 0

dot11radio 0

dot11radio 0

router(config-if)# ssid boss

router(config-if)# ssid teach

router(config-if)# ssid learn

router(config-ssid)# vlan 01

router(config-ssid)# vlan 02

router(config-ssid)# vlan 03

router(config-ssid)# end

router(config-ssid)# end

router(config-ssid)# end

 

 

 

router configure terminal

router(config) interface

router(config) interface

router(config) interface

FastEthernet0.2

FastEthernet0.3

FastEthernet0.1

router(config-subif) encapsulation

router(config-subif) encapsulation

router(config-subif)

dot1Q 2

dot1Q 3

encapsulation dot1Q 1 native

router(config-subif) bridge-group 2

router(config-subif) bridge-group 3

router(config-subif) exit

router(config-subif) exit

router(config-subif) exit

 

 

 

router(config)# interface

router(config) interface Dot11Radio

router(config) interface Dot11Radio

Dot11Radio 0.1

0.2

0.3

router(config-subif)#

router(config-subif) encapsulation

router(config-subif) encapsulation

encapsulation dot1Q 1 native

dot1Q 2

dot1Q 3

router(config-subif)

router(config-subif) bridge-group 2

router(config-subif) bridge-group 3

bridge-group 1

router(config-subif) exit

router(config-subif) exit

router(config-subif)# exit

 

 

 

 

 

Table 8-3shows the results of the configuration commands in Table 8-2. Use the show running command to display the running configuration on the access point.

Table 8-3 Results of Example Configuration Commands

VLAN 1 Interfaces

VLAN 2 Interfaces

VLAN 3 Interfaces

 

 

 

 

interface Dot11Radio0.1

interface Dot11Radio0.2

interface Dot11Radio0.3

encapsulation dot1Q 1 native

encapsulation dot1Q 2

encapsulation dot1Q 3

no ip route-cache

no ip route-cache

no ip route-cache

 

no cdp enable

no cdp enable

bridge-group 3

 

bridge-group 1

bridge-group 2

bridge-group 3

 

bridge-group 1

bridge-group 2

subscriber-loop-control

subscriber-loop-control

subscriber-loop-control

bridge-group 3 block-unknown-source

bridge-group 1

bridge-group 2

no bridge-group 3

source-learning

block-unknown-source

block-unknown-source

no bridge-group 3

unicast-flooding

no bridge-group 1 source-learning

no bridge-group 2 source-learning

bridge-group 3 spanning-disabled

no bridge-group 1 unicast-flooding

no bridge-group 2 unicast-flooding

 

 

bridge-group 1 spanning-disabled

bridge-group 2 spanning-disabled

 

 

 

 

 

interface FastEthernet0.1

interface FastEthernet0.2

interface FastEthernet0.3

encapsulation dot1Q 1 native

encapsulation dot1Q 2

encapsulation dot1Q 3

no ip route-cache

no ip route-cache

no ip route-cache

 

bridge-group 1

bridge-group 2

bridge-group 3

 

no bridge-group 1 source-learning

no bridge-group 2 source-learning

no bridge-group 3

source-learning

bridge-group 1 spanning-disabled

bridge-group 2 spanning-disabled

bridge-group 3 spanning-disabled

 

 

 

 

Cisco Wireless ISR and HWIC Access Point Configuration Guide

8-10

OL-6415-04

 

 

Page 136
Image 136
Cisco Systems OL-6415-04 manual Configuring Vlan, Vlan 1 Interfaces Vlan 2 Interfaces Vlan 3 Interfaces