PT6 Building a VoIP Network (Part2)

Download Report

Transcript PT6 Building a VoIP Network (Part2)

Packet Tracer 6
Building a VoIP Network
Part 2
Eric Kwok
Technical Manager
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Session 2 Agenda
• Components in VoIP Network
• PoE and 3650 PoE Support
• Enabling and Configuring CME in 2811 and 2911
• Connecting phone with Manual and Auto Registration
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
• Power (Adapter or PoE)
• Access Layer Switch (PoE and Voice VLAN)
• Phone (either HW or SW)
• Call Mangers
• TFTP
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Phone Model
• Firmware
• Buttons
• Codecs
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Power
PSE
Power Sourcing Device
PD
Powered Device
POE
Power Adapter
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
PoE
• IEEE 802.3af standard (PoE)
• Class 0: Up to 15.4 W (0.44-12.95 W at the PD; default classification)
• Class 1: Up to 4 W (0.44-3.84 W at the PD)
• Class 2: Up to 7 W (3.84-6.49 W at the PD)
• Class 3: Up to 15.4 W (6.49-12.95 W at the PD)
• IEEE 802.3at standard (PoE+, Enhanced PoE)
• Class 4: 30.00 W at the PSE (12.95 W to 25.50 W at the PD)
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
15.4W x 24 = 369.6W
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
PD Removed when
Adapter is connected
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Building the first VoIP Network
• Enable Telephony-service
• Create Phone Number
• Enable DHCP Server
2811
CME
3560
PoE
• Voice VLAN
• Enable DHCP Client
7960
HW Phone
Cisco Networking Academy
PC
IP Communicator
• Nothing
© 2014 Cisco Systems, Inc. All rights reserved.
CME Configuration
!CME
telephone service //default not enabled
max-ephone 10 //default 0
max-dn 10 //default 0
ip source 10.0.0.1 port 2000 //default 0.0.0.0 port 2000
auto range 1 to 10 //default no range, registered but no number
enable-auto-reg //default enable
ip dhcp pool PHONE
network 10.0.0.0 255.255.255.0
option 150 ip 10.0.0.1 //150 is TFTP Server
ephone-dn 1 //create virtual line
number 101 //define phone number
Interface fa0/0
ip add 10.0.0.1 255.255.255.0
!SW
Int fa0/1
© 2014 Cisco Systems, Inc. All rights reserved.
Cisco Networking
Academy
switchport
voice vlan 1 //set vlan 1 as voice vlan (PT required)
Calling from ephone1 to ephone2 (haven’t picked up)
Router#show ephone
ephone-1 Mac:0001.426D.3996 TCP socket:[1] activeLine:1 REGISTERED in SCCP ver 12 and Server in ver 8
mediaActive:0 offhook:1 ringing:1 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.0.0.3 1254 7960
keepalive 43 max_line 2
button 1: dn 3 number 303 CH1
ALERTING
Active Call on DN 3chan 1 :303 0.0.0.0 0 to 0.0.0.0 2000 via 10.0.0.3
G711Ulaw64k 160 bytes no vad
Tx Pkts 0 bytes 0 Rx Pkts 0 bytes 0 Lost 0
Jitter 0 Latency 0 callingDn -1 calledDn -1
ephone-2 Mac:0030.A3E4.BE65 TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 12 and Server in ver 8
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.0.0.2 1057 CIPC
keepalive 43 max_line 2
button 1: dn 1 number 101 CH1
IDLE
Router#show ephone
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Calling from ephone1 to ephone2 (answered)
Router#show ephone
ephone-1 Mac:0001.426D.3996 TCP socket:[1] activeLine:1 REGISTERED in SCCP ver 12 and Server in ver 8
mediaActive:1 offhook:1 ringing:1 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.0.0.3 1254 7960
keepalive 43 max_line 2
button 1: dn 3 number 303 CH1
CONNECTED
Active Call on DN 3chan 1 :303 10.0.0.3 1254 to 10.0.0.1 2000 via 10.0.0.3
G729 20 bytes no vad
Tx Pkts 0 bytes 0 Rx Pkts 0 bytes 0 Lost 0
Jitter 0 Latency 0 callingDn -1 calledDn -1 (media path callID 17 srcCallID 18)
ephone-2 Mac:0030.A3E4.BE65 TCP socket:[1] activeLine:1 REGISTERED in SCCP ver 12 and Server in ver 8
mediaActive:1 offhook:1 ringing:1 reset:0 reset_sent:0 paging 0 debug:0 caps:8
IP:10.0.0.2 1057 CIPC
keepalive 43 max_line 2
button 1: dn 1 number 101 CH1
CONNECTED
Active Call on DN 1chan 1 :101 10.0.0.2 1057 to 10.0.0.1 2000 via 10.0.0.2
G729 20 bytes no vad
Tx Pkts 0 bytes 0 Rx Pkts 0 bytes 0 Lost 0
Jitter 0 Latency 0 callingDn -1 calledDn -1 (media path callID 17 srcCallID 18)
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Auto first, manual later
Router#show running-config
ephone 1
device-security-mode none
mac-address 0001.426D.3996 //phone mac address
type 7960 //phone model, HW Cisco 7960
button 1:3 //phone number and dn
!
ephone 2
device-security-mode none
mac-address 0030.A3E4.BE65 //PC Mac address
type CIPC //phone model, SW IP Communicator
button 1:1
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.
Summary
• Phone, Switch, Router to build VoIP
2811
CME
Network
• Power and power adapter
3560
PoE
• PoE and Class
• 2811 Telephony-Service
• ephone (phone)
• ephone-dn (line)
• Button
• Voice vlan 1 (PT required)
Cisco Networking Academy
7960
HW Phone
PC
IP Communicator
© 2014 Cisco Systems, Inc. All rights reserved.
Thank you!
Cisco Networking Academy
© 2014 Cisco Systems, Inc. All rights reserved.