Forum

Cisco Switch Voip V...
 
Bildirimler
Hepsini Temizle

Cisco Switch Voip Vlan

7 Yazılar
2 Üyeler
0 Reactions
1,124 Görüntüleme
(@HaciYILMAZ)
Gönderiler: 574
Prominent Member
Konu başlatıcı
 

Merhaba , aşağıdaki gibi bir yapı var , iki ayrı vlan oluşturmam gerekli , birinden viop telefonlar , cisco voip gateway üzerinden ip almalı mesela 10.0.0.x bir grup dan , bilgisayarlarda yine cisco telefonlar üzerine bağlı onlarda firewall üzerinden ip almalı mesela 192.168.0.x grubundan , bununu için nasıl bir yol izlemem gerekli , sayıglar.

 

 
Gönderildi : 19/04/2015 18:47

(@murattunalioglu)
Gönderiler: 218
Estimable Member
 

Merhaba;

 

Cisco üzerinde 2 adet vlan oluşturup telefona gidecek olan portu her iki vlan için trunk/tagged) yapın telefon arayüzünden de aynı vlanları oluşturun pc ve lan portu için gelen vlanları karşılayın veya voip vlan gelen portta untagged/access olsun pc vlanı tagged ile gelsin pc vlanını telefon üzerinden karşılayın sistem bu şekilde çalışır

 

Firewall dan 2 farklı port ile de gelebilirsiniz tek port ile vlan yapısı ile de gelmeniz mümkün. 

 
Gönderildi : 20/04/2015 01:00

(@HaciYILMAZ)
Gönderiler: 574
Prominent Member
Konu başlatıcı
 

hocam mevcut conf şu şekilde , iki tane vlan oluşturdum vlan 2 ( data ) ve vlan 90 (voip)

 

Current configuration : 6837 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
!
!
no aaa new-model
system mtu routing 1500
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/2
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/3
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/5
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/6
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/7
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/8
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/9
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/10
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/11
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/12
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/13
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/14
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/15
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/16
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/17
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/18
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/19
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/20
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/21
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/22
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/23
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/24
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/25
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/26
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/27
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/28
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/29
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/30
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/31
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/32
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/33
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/34
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/35
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/36
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/37
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/38
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/39
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/40
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/41
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/42
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/43
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/44
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/45
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/46
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/47
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface FastEthernet0/48
 switchport access vlan 2
 switchport mode access
 switchport voice vlan 90
 spanning-tree portfast
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan2
 ip address 192.168.140.20 255.255.252.0
 no ip route-cache
!
ip http server
ip http secure-server
!
line con 0
line vty 5 15
!
end
 

 
Gönderildi : 20/04/2015 01:12

(@HaciYILMAZ)
Gönderiler: 574
Prominent Member
Konu başlatıcı
 

şimdi vlan 90 daki portları trunk mı yapayım ?

 
Gönderildi : 20/04/2015 01:13

(@murattunalioglu)
Gönderiler: 218
Estimable Member
 

telefona giden portları her 2 vlan için trunk yapın yada voice vlan access iken data vlanını trunk yapın her ikiside olur 

 
Gönderildi : 20/04/2015 01:16

(@HaciYILMAZ)
Gönderiler: 574
Prominent Member
Konu başlatıcı
 

hocam bu komutlar uygun mu

switch# configure terminal

 
switch(config)# interface range fastethernet 0/1-48

 
switch(config-if)# switchport trunk allow vlan 2-90  

 
Gönderildi : 20/04/2015 01:37

(@murattunalioglu)
Gönderiler: 218
Estimable Member
 

aynen doğru hocam

 
Gönderildi : 20/04/2015 14:27

Paylaş: