Cấu hình cơ bản trên CME1.
hostname CME1
interface f0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
interface f0/1
description Ket noi toi WAN Network Site2
ip address 172.16.0.1 255.255.255.0
no shutdown
exit
ip route 192.168.2.0 255.255.255.0 172.16.0.2
line vty 0 4
privilege level 15
no login
exit
line console 0
logging synchronous
exit
no ip domain-lookup
ip dhcp excluded-address 192.168.1.1
ip dhcp pool Voice
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
option 150 ip 192.168.1.1
exit
exit
clock set 14:00:00 5 Dec 2016
configure terminal
telephony-service
ip source-address 192.168.1.1 port 2000
max-dn 144
max-ephones 42
cnf-file perphone
create cnf-files
no auto-reg-ephone
exit
ephone-dn 1 dual-line
number 1001
exit
ephone-dn 2 dual-line
number 1002
exit
ephone 1
mac-address 0000.aaaa.1001
type CIPC
button 1:1
codec g711ulaw
restart
exit
ephone 2
mac-address 0000.aaaa.1002
type CIPC
button 1:2
codec g711ulaw
restart
exit
telephony-service
no create cnf-files
create cnf-files
exit
Mời các bạn xem đầy đủ bài lab tại đây.
Bùi Quốc Kỳ – VnPro