09-08-2004 09:06 AM - edited 03-02-2019 06:19 PM
Hallo,
can help me someone by config a C2950 to config VLAN
on the AIR-AP1231g following vlan are defined:
VLAN 1 data
VLAN 2 voice
data and voice (7920) on ap1231 are working
Now i need to config the port on the switch with no idea. Data is running but voice don't.
Also maybe on the 1760V (running CME 3.1) if ther also changes nesseary.
Thanks
09-08-2004 11:17 AM
Hi Robert,
when you configure on the access-point more than one vlan you must these vlans also configure on the switch:
conf t
vlan 1 !! vlan exists by default
name Datavlan
exit
vlan 2
name voicevlan
end
Then must configure the connection to the AP. You want carry two vlans, the configure a trunk:
conf t
int fast 0/1 !!! for example
switchport mode trunk
end
You define another trunk mode also. It depends from the configuration on the AP. But what i wrote should works.
The connection to the callmanager and to your servers should exist.
Here is the link for the vlan configuration guide:
Regards
Peter
09-08-2004 09:18 PM
Hi,
after creating vlans for voiceon data, on a switchport you need to configure membership of voice vlan and trunk :
sw#conf t
sw(config)#int fa0/x
sw(config-if)#switchport voice vlan 2
sw(config-if)#switchport mode trunk
sw(config-if)#switchport trunk native vlan 1
sw(config-if)#end
sw#wr mem
vlan 2 will carry voice and vlan 1 will be the native (untagged) vlan to carry the data.
here is the link for configuring voice vlans on switch :
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12119ea1/2950scg/swvoip.htm
regards
aashish C
09-09-2004 12:25 AM
Hi aashish,
i don't agree with your opinion that the voice vlan 2 on the trunk is necessary. It's only necessary when the trunk will go to a voice phone. In this case you have a normal trunk to another device (the ap). And the ap sent the voice packets through vlan 2.
The statement switchport trunk native vlan 1 is default, so i don't wrote it.
Regards
Peter
09-09-2004 12:24 AM
Thanks but i have still problems.
Data working well.
Have i also to config the Switch port to the Router 1760V ? (Router is default gateway also for data)
Need the VLAN config on the 1760V ?
Here my configs:
switch(vlan)#sh
VLAN ISL Id: 1
Name: default
Media Type: Ethernet
VLAN 802.10 Id: 100001
State: Operational
MTU: 1500
Backup CRF Mode: Disabled
Remote SPAN VLAN: No
VLAN ISL Id: 2
Name: voice
Media Type: Ethernet
VLAN 802.10 Id: 100002
State: Operational
MTU: 1500
Backup CRF Mode: Disabled
Remote SPAN VLAN: No
*********
switch# sh runn
....
vtp mode transparent
....
interface FastEthernet0/23
switchport mode trunk
switchport voice vlan 2
no ip address
spanning-tree portfast
....
*********
AP1231: sh runn
.....
interface FastEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
ntp broadcast client
!
interface FastEthernet0.1
encapsulation dot1Q 1 native
no ip route-cache
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
!
interface FastEthernet0.2
encapsulation dot1Q 2
no ip route-cache
bridge-group 2
no bridge-group 2 source-learning
bridge-group 2 spanning-disabled
!
*********
router: sh runn
.....
interface FastEthernet0/0
ip address 192.168.100.254 255.255.255.0
ip access-group I_LAN_in in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip route-cache flow
speed auto
no cdp enable
09-09-2004 12:29 AM
Hi Robert,
on the router you must configure sub-interfaces.
int fast 0/0.1
encap dot1q native
ip address .....
int fast 0/0.2
encap dot1q
ip address .....
The ip address for vlan 1 and 2 is different. On the catalyts 2950 you must on the link to the router also configure a trunk (as describe earlier).
Regards
Peter
09-09-2004 01:25 AM
Hi Peter,
is there no simplar way ?
(for example only on AP definitions - this is just a small demo equipment)
can the two ip address be in same netmask or must they be two separated?
Robert
09-09-2004 02:27 AM
Hi Robert,
for demo lab it's really necessary to use 2 vlans. In a working enviroment you should do it. The AP must priorize the voice traffic. And it's easier to this with a seperate vlan. Furthermore you should remember that in a normal enviroment are also phone connected to the switch. So it's better to have one vlan for voice and one vlan for data traffic. The configurations is very difficult.
Regards
Peter
09-09-2004 03:00 AM
Peter,
thanks a lot.
So i will try to do also the config in router.
The router is now also in production use, so i have to do it on a night job.
Robert
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide