السلام عليكم ورحمة الله وبركاته
اخواني عندي مشكلة في معمل voice الخاص بي , هوا معمل صغير مكون من
cisco 2621xm router
cisco 2950 switch
2X cisco 7960G ip phones
ومربوطين بالشكل الاتي :
طبعا الصورة انا واخذها ببرنامج بس الاجهزة في الحقيقة مربوطات بالشكل هذا
المهم مشكلتي ان اجهزة التلفون ما يأخذنش في ip يأخذن في vlan بس الاي بي لأ
الجهاز يقعد واقف علي configuring ip
الـــ configuration علي router هو الآتي :
!
version 12.4
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname CME
!
boot-start-marker
boot-end-marker
!
enable password sanfran
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 10.1.1.1 10.1.1.11
ip dhcp excluded-address 50.1.1.1 50.1.1.11
!
ip dhcp pool voice
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
dns-server 8.8.8.8
option 150 ip 10.1.1.1
lease 0 10
!
ip dhcp pool DATA
network 50.1.1.0 255.255.255.0
default-router 50.1.1.1
option 150 ip 10.1.1.1
dns-server 8.8.8.8
lease 0 10
!
!
ip name-server 8.8.8.8
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
fax interface-type fax-mail
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.1.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.50
encapsulation dot1Q 50
ip address 50.1.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/1
ip address 192.168.2.254 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.2.1
!
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet0/1 overload
!
access-list 1 permit any
!
!
!
control-plane
!
!
!
voice-port 1/0/0
!
voice-port 1/0/1
!
voice-port 1/1/0
!
voice-port 1/1/1
!
!
!
!
dial-peer cor custom
!
!
!
!
!
!
telephony-service
max-ephones 5
max-dn 15
ip source-address 10.1.1.1 port 2000
create cnf-files version-stamp Jan 01 2002 00:00:00
max-conferences 4 gain -6
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
exec-timeout 55 0
password cisco
login
!
!
end
وعلي switch :
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Home_SW
!
enable password sanfran
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 50
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 50
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
ip address 192.168.2.253 255.255.255.0
no ip route-cache
!
ip http server
!
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 4
exec-timeout 55 0
password cisco
login
line vty 5 15
login
!
!
end
وبارك الله فيكم
المفضلات