I have no CCVP or CCIE yet, but currently learn how to set VoIP by using Cisco 2811 router and Catalyst 3650-PoE switch.


CMERouter configuration:
CODE
!
! Last configuration change at 11:28:46 UTC Tue May 15 2007
! NVRAM config last updated at 11:29:15 UTC Tue May 15 2007
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CMERouter
!
boot-start-marker
boot-end-marker
!
!
no network-clock-participate aim 0
no network-clock-participate aim 1
no aaa new-model
ip subnet-zero
!
!
ip cef
ip dhcp excluded-address 172.16.10.1 172.16.10.10
ip dhcp excluded-address 172.16.20.1 172.16.20.10
ip dhcp excluded-address 172.16.15.1 172.16.15.10
!
ip dhcp pool VLAN15_Voice
network 172.16.15.0 255.255.255.0
default-router 172.16.15.1
option 150 ip 172.16.15.1
!
ip dhcp pool VLAN10_Staff
network 172.16.10.0 255.255.255.0
default-router 172.16.10.1
option 150 ip 172.16.15.1
!
ip dhcp pool VLAN20_Servers
network 172.16.20.0 255.255.255.0
option 150 ip 172.16.15.1
default-router 172.16.20.1
!
!
no ip domain lookup
ip ips po max-events 100
no ftp-server write-enable
!
voice-card 0
no dspfarm
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
description VLAN 1
encapsulation dot1Q 1 native
ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet0/0.10
description VLAN 10 Staff
encapsulation dot1Q 10
ip address 172.16.10.1 255.255.255.0
!
interface FastEthernet0/0.15
description VLAN 15 Voice
encapsulation dot1Q 15
ip address 172.16.15.1 255.255.255.0
!
interface FastEthernet0/0.20
description VLAN 20 Servers
encapsulation dot1Q 20
ip address 172.16.20.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1/0
no ip address
shutdown
!
interface FastEthernet0/1/1
no ip address
shutdown
!
interface FastEthernet0/1/2
no ip address
shutdown
!
interface FastEthernet0/1/3
no ip address
shutdown
!
interface Serial0/2/0
no ip address
shutdown
no fair-queue
clockrate 2000000
!
interface Serial0/2/1
no ip address
shutdown
clockrate 2000000
!
interface BRI1/0
no ip address
shutdown
!
interface BRI1/1
no ip address
shutdown
!
interface BRI1/2
no ip address
shutdown
!
interface BRI1/3
no ip address
shutdown
!
interface Vlan1
no ip address
!
router eigrp 100
network 172.16.0.0
auto-summary
!
ip classless
!
ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/0/0
description FXS Port for Analog Phone 1
!
voice-port 0/0/1
description FXS Port for Analog Phone 2
!
voice-port 0/3/0
description FXO Port 1
!
voice-port 0/3/1
description FXO Port 2
!
!
!
!
!
dial-peer voice 1 pots
destination-pattern 2222
port 0/0/0
!
!
!
telephony-service
load 7960-7940 P00303020214
max-ephones 2
max-dn 20
ip source-address 172.16.15.1 port 2000
auto assign 2 to 2
create cnf-files version-stamp 7960 May 15 2007 10:38:20
keepalive 10
max-conferences 8
!
!
ephone-dn 1 dual-line
number 1001
name XXXXX Line 1
!
!
ephone-dn 2 dual-line
number 1002
name XXXXX Line 2
!
!
ephone-dn 3 dual-line
number 1003
name YYYYY Line 1
!
!
ephone-dn 4 dual-line
number 1004
name YYYYY Line 2
!
!
ephone 1
mac-address 0018.187B.0FE7
button 1:1 2:2
!
!
!
ephone 2
mac-address 0018.187B.067B
type 7940
button 1:3 2:4
!
!
!
line con 0
line aux 0
line vty 0 4
!
scheduler allocate 20000 1000
!
end
CMESwitch configuration:
CODE
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname CMESwitch
!
enable secret 5 $1$64zw$UhFSxC5JdtA6AL8rOMMFt0
!
no aaa new-model
ip subnet-zero
no ip domain-lookup
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
description FA0/4 VLAN 10 Staff
switchport access vlan 10
switchport mode access
switchport voice vlan 15
spanning-tree portfast
!
interface FastEthernet0/5
!
interface FastEthernet0/6
description F0/6 VLAN 20 Servers
switchport access vlan 20
switchport mode access
switchport voice vlan 15
spanning-tree portfast
!
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 GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
description Management VLAN 1
ip address 172.16.1.4 255.255.255.0
!
ip default-gateway 172.16.1.1
ip classless
ip http server
!
!
control-plane
!
!
line con 0
line vty 0 4
line vty 5 15
!
!
end
This post has been edited by coolblade: May 17 2007, 02:28 PM
May 15 2007, 12:20 PM
Quote
0.0276sec
0.96
7 queries
GZIP Disabled