ccna voip chapter 5 640-461 show

117
CHAPTER 5 Managing Endpoints and End Users with CME and CCP

Upload: glen-albert

Post on 25-Nov-2015

205 views

Category:

Documents


18 download

DESCRIPTION

CCNS Voip powerpoint slide for chapter 5

TRANSCRIPT

  • CHAPTER 5Managing Endpoints and End Users with CME and CCP

  • Creating VLANs on a Switch:

    Switch>Switch#config tSwitch(config)#vlan 99Switch(config-vlan)#name MANAGEMENTSwitch(config-vlan)#vlan 999Switch(config-vlan)#name NATIVESwitch(config-vlan)#vlan 10Switch(config-vlan)#name DATASwitch(config-vlan)#vlan 20Switch(config-vlan)#name VOICE

  • Configure Switch Access Interfaces:

    Put interface into access mode Assign data vlan to port (if necessary) Assign voice vlan to port Enable portfast for proper DHCP operation

    Switch(config-vlan)#interface range fa0/2-4Switch(config-if-range)#switchport mode accessSwitch(config-if-range)#switchport access vlan 10Switch(config-if-range)#switchport voice vlan 20Switch(config-if-range)#spanning-tree portfast

  • Configure Switch Trunk Interfaces:

    Choose trunking encapsulation (ISL, IEEE 802.1q) Enable trunking mode Assign native vlan to trunk

    Switch(config-if-range)#int fa0/1Switch(config-if)#switchport trunk encapsulation dot1qSwitch(config-if)#switchport mode trunkSwitch(config-if)#switchport trunk native vlan 999

  • Configure Switch Management:

    Create management interface Assign an IP address to interface Assign a default-gateway for switch

    Switch(config-if)#interface vlan 99Switch(config-if)#ip address 9.9.9.1 255.255.255.0Switch(config-if)#no shutSwitch(config-if)#exitSwitch(config)#ip default-gateway 9.9.9.254Switch(config)#end

  • Configure Router Management for Network Access:

    Name router Create user with privilege 15 Enable HTTP (secure and normal) Configure remote access (VTY Line)

    Router>enaRouter#config tRouter(config)#host VOICE_ROUTERVOICE_ROUTER(config)#username admin privilege 15 secret ciscoVOICE_ROUTER(config)#ip http serverVOICE_ROUTER(config)#ip http secure-serverVOICE_ROUTER(config)#ip http authentication localVOICE_ROUTER(config)#line vty 0 4VOICE_ROUTER(config-line)#login localVOICE_ROUTER(config-line)#transport input telnet ssh

  • Configure Router Interfaces and Sub-Interfaces:

    VOICE_ROUTER(config-line)#int g0/0VOICE_ROUTER(config-if)#no shutVOICE_ROUTER(config-if)#interface g0/0.99VOICE_ROUTER(config-subif)#description MANAGEMENTVOICE_ROUTER(config-subif)#encapsulation dot1Q 99VOICE_ROUTER(config-subif)#ip address 9.9.9.254 255.255.255.0VOICE_ROUTER(config-subif)#interface g0/0.10VOICE_ROUTER(config-subif)#description DATAVOICE_ROUTER(config-subif)#encapsulation dot1q 10VOICE_ROUTER(config-subif)#ip address 10.10.0.254 255.255.255.0VOICE_ROUTER(config-subif)#interface g0/0.20VOICE_ROUTER(config-subif)#description VOICEVOICE_ROUTER(config-subif)#encapsulation dot1q 20VOICE_ROUTER(config-subif)#ip address 10.20.0.254 255.255.255.0VOICE_ROUTER(config-subif)#interface g0/0.999VOICE_ROUTER(config-subif)#description NATIVEVOICE_ROUTER(config-subif)#encapsulation dot1q 999 native

  • Configure firmware load in CME for each phone model:

    A firmware load for each model phone in the network must be specified

    VOICE_ROUTER(config)#tftp-server flash:/phone/7940-7960/P00308000500.bin alias P00308000500.binVOICE_ROUTER(config)#tftp-server flash:/phone/7940-7960/P00308000500.loads alias P00308000500.loadsVOICE_ROUTER(config)#tftp-server flash:/phone/7940-7960/P00308000500.sb2 alias P00308000500.sb2VOICE_ROUTER(config)#tftp-server flash:/phone/7940-7960/P00308000500.sbn alias P00308000500.sbnVOICE_ROUTER(config)#telephony-serviceVOICE_ROUTER(config-telephony)#load 7960-7940 P00308000500

  • CME, UCME Base Configuration:

    IP Source address Max-DN (Directory numbers) Max-Ephones (Physical phones)

    VOICE_ROUTER(config)#telephony-serviceVOICE_ROUTER(config-telephony)#ip source-address 1.1.1.1 port 2000 VOICE_ROUTER(config-telephony)#max-ephones 15 VOICE_ROUTER(config-telephony)#max-dn 30

  • Ephone-DN Configuration

    The Ephone-DN is a logical phone to be associated with a physical phone Single-line ephone-dn:In single-line mode the ephone is only able to make or receive one call at a time. Dual-line ephone-dn:In dual-line mode the ephone is able to handle two simultaneous calls at a time Do not exceed maximum number of ephones as specified in the max-dn value under telephony-service Can be configured for Direct Inward Dialing (DID)VOICE_ROUTER(config)#ephone-dn 1VOICE_ROUTER(config-ephone-dn)#number 5000VOICE_ROUTER(config-ephone-dn)#ephone-dn 2 dual-lineVOICE_ROUTER(config-ephone-dn)#number 5001 secondary 8255001

  • Configure an Ephone:

    Needed information! MAC address: On the box of the Cisco IP phone A sticker attached to the back of the IP phone From the settings menu of the IP phone Configure ephone-dns associated with the buttons Button one (1) is the ephone extension primary line

    VOICE_ROUTER(config)#ephone 1VOICE_ROUTER(config-ephone)#mac-address 0014.1c48.e71aVOICE_ROUTER(config-ephone)#button 1:1 2:2VOICE_ROUTER(config-ephone)#ephone 2VOICE_ROUTER(config-ephone)#mac-address 0014.12ef.2d4bVOICE_ROUTER(config-ephone)#button 1:2 2:1

  • Configure an Ephone:

    The separator used in the button command can influence the function : (1:1) Normal ring b (1b1) Call waiting beep, no ring f (1f1) Feature ring m (1m1) Monitor mode o (1o1) Overlay line (no call waiting) c (1c1) Overlay line (with call waiting) x (1x1) Overlay expansion / rollover s (1s1) Silent ring w (1w1) Watch mode

  • Configure an Ephone:

    Example 1: IP Phone 1 Line 1: directory number 1010 (normal ring) Line 2: directory number 1015 (feature ring) IP Phone 2 Line 1: directory number 1011 (normal ring) Line 2: directory number 1015 (feature ring) IP Phone 3 (receptionist) Line 1: directory number 1012 (normal ring) Line 2: directory number 1010 (monitor phone 1 status) Line 3: directory number 1011 (monitor phone 2 status) Line 4: directory number 1015 (feature ring)

  • Configure an Ephone Example 1:

    Router(config)#ephone-dn 10 dual-lineRouter(config-ephone-dn)#number 1010Router(config-ephone-dn)#ephone-dn 11 dual-lineRouter(config-ephone-dn)#number 1011Router(config-ephone-dn)#ephone-dn 12 dual-lineRouter(config-ephone-dn)#number 1012Router(config-ephone-dn)#ephone-dn 13 dual-lineRouter(config-ephone-dn)#number 1015Router(config-ephone-dn)#ephone 5Router(config-ephone)#mac-address 00a0.932a.b34cRouter(config-ephone)#button 1:10 2f13Router(config-ephone)#ephone 6Router(config-ephone)#mac-address 00a0.aa25.431b Router(config-ephone)#button 1:11 2f13Router(config-ephone)#ephone 7Router(config-ephone)#mac-address 00a0.a819.90a1Router(config-ephone)#button 1:12 2m10 3m11 4f13

  • Configure an Ephone:

    Example 2: Configure a shared line with two ephones One extension Limits intercom functionConfigure an Ephone Example 2:

    Router(config)#ephone-dn 10 dual-lineRouter(config-ephone-dn)#number 1010Router(config-ephone-dn)#ephone 8Router(config-ephone)#button 1:10Router(config-ephone)#restartRouter(config-ephone)#ephone 9Router(config-ephone)#button 1:10Router(config-ephone)#restart

  • Configure an Ephone:

    Example 3: Configure multiple lines with a shared internal number Can be used for a phone support group with one external number

  • Configure an Ephone Example 3:

    Router(config)#ephone-dn 10 dual-lineRouter(config-ephone-dn)#number 1010Router(config-ephone-dn)#ephone-dn 11 dual-lineRouter(config-ephone-dn)#number 1010Router(config-ephone-dn)#ephone 8Router(config-ephone)#button 1:10Router(config-ephone)#restartRouter(config-ephone)#ephone 9Router(config-ephone)#button 1:10Router(config-ephone)#restart

  • Configure an Ephone:

    Example 4: Configure multiple lines with a shared internal number Phones must ring in a specific order rather then all at once If first phone is in use the second phone will ring Use the hunt group procedure Huntstop eliminates a second call to the same number from going to call-waiting

  • Configure an Ephone Example 4:

    Router(config)#ephone-dn 10 dual-lineRouter(config-ephone-dn)#number 1010Router(config-ephone-dn)#preference 0Router(config-ephone-dn)#huntstop channelRouter(config-ephone-dn)#no huntstopRouter(config-ephone-dn)#ephone-dn 11 dual-lineRouter(config-ephone-dn)#number 1010Router(config-ephone-dn)#huntstop channelRouter(config-ephone-dn)#preference 1

  • Configure an Ephone:

    Example 5: Use overlays so one phone does not get all the calls first Use o as a separator for overlay with no call waiting Use c as a separator for call waiting Use x as a separator for rollover to other lines on the Cisco IP phone

  • Configure an Ephone Example 5:

    Router(config)#ephone-dn 10Router(config-ephone-dn)#number 1010Router(config-ephone-dn)#preference 0Router(config-ephone-dn)#no huntstopRouter(config-ephone-dn)#ephone-dn 11Router(config-ephone-dn)#number 1010Router(config-ephone-dn)#preference 1Router(config-ephone-dn)#ephone 8Router(config-ephone)#button 1o10,11Router(config-ephone)#ephone 9Router(config-ephone)#button 1o10,11Router(config-ephone)#telephony-serviceRouter(config-telephony)#restart all

  • Configure an Ephone:

    Example 6: Allow button two (2) to be an overflow for button one (1)Configure an Ephone Example 6:

    Router(config)#ephone 9Router(config-ephone)#button 1c10,11Router(config-ephone)#button 2x1Router(config-ephone)#restart

  • Configure an Ephone:

    Put it all together!Configure an Ephone:

    Router(config)#ephone-dn 10Router(config-ephone-dn)#number 1010Router(config-ephone-dn)#preference 0Router(config-ephone-dn)#huntstop channelRouter(config-ephone-dn)#no huntstopRouter(config-ephone-dn)#ephone-dn 11Router(config-ephone-dn)#number 1010Router(config-ephone-dn)#preference 1Router(config-ephone-dn)#huntstop channelRouter(config-ephone-dn)#no huntstopRouter(config-ephone-dn)#ephone-dn 12

  • Configure an Ephone continued:

    Router(config-ephone)#button 1o10,11,12,13,14Router(config-ephone)#button 2x1Router(config-ephone)#ephone 9Router(config-ephone)#button 1o10,11,12,13,14Router(config-ephone)#button 2x1Router(config-ephone)#ephone 10Router(config-ephone)#button 1o10,11,12,13,14Router(config-ephone)#button 2x1Router(config-ephone)#ephone 11Router(config-ephone)#button 1o10,11,12,13,14Router(config-ephone)#button 2x1Router(config-ephone)#ephone 12Router(config-ephone)#button 1o10,11,12,13,14Router(config-ephone)#button 2x1Router(config-ephone)#telephony-serviceRouter(config-telephony)#restart all

  • Troubleshoot an Ephone configuration:

    Router#debug tftp events Router#show telephony-service Router#show run | include tftp-server Router#debug ephone register Router#show ephone Router#show ephone attempted-registrations

  • Configure an Ephone:

    Auto assign: Distributes specific numbers (ephone-dn) to specific types of phones Distributes a number (ephone-dn) to a requesting phone Example 7: IP Phone model Cisco 7940 Assign ephone-dns twenty (20) through twenty-four (24) IP Phone model Cisco 7960 Assign ephone-dns twenty-five (25) through thirty (30) IP Phone of any additional model or make Assign ephone-dns thirty-one (31) through thirty-nine (39)

  • Configure an Ephone Example 7:

    Router(config)#telephony-serviceRouter(config-telephony)#auto assign 20 to 24 type 7940Router(config-telephony)#auto assign 25 to 30 type 7960Router(config-telephony)#auto assign 31 to 39

  • Configure an Ephone Verify Example 7:

    Router#show running-config.ephone 1 device-security-mode none mac-address 0019.D122.DCF3 type CIPC button 1:31ephone 2 device-security-mode none mac-address 0014.6A16.C2DA type 7940 button 1:20ephone 3 device-security-mode none mac-address 0014.1C48.E6D1 type 7960 button 1:25

  • Configure an Ephone:

    Additional Configuration Parameters: Rebooting IP phones Phone Language Settings Date and Time Format System Message

  • Commands:

    Restart Phone line changes Speed dial changes Reset DHCP scope changes Date and time changes Firmware changes Locale changes Changes to button (services, messages, directories) URLs Voicemail number changes

  • Configure an Ephone:

    Phone Language Settings: User Locale Network LocaleRouter(config)#telephony-serviceRouter(config-telephony)#user-locale ?

    user locale index 0 to 4 (0 is default) DEGermany DKDenmark ESSpain FRFrance ITItaly,,,,,,

    Router(config-telephony)#user-locale FR

  • Router(config)#telephony-serviceRouter(config-telephony)#network-locale ?

    network locale index 0 to 4 (0 is default) ATAustria CACanada CHSwitzerland DEGermany ESSpain,,,,,,

    Router(config-telephony)#network-locale FRConfigure an Ephone:

    Phone Language Settings: User Locale Network Locale

  • Configure an Ephone:

    Phone Language Settings: Multiple Locale SupportRouter(config)#telephony-serviceRouter(config-telephony)#user-locale 1 FRRouter(config-telephony)#user-locale 2 NORouter(config-telephony)#network-locale 1 FRRouter(config-telephony)#network-locale 2 NORouter(config-telephony)#ephone-template 1Router(config-ephone-template)#user-locale 1 Router(config-ephone-template)#network-locale 1Router(config-ephone-template)#ephone-template 2Router(config-ephone-template)#user-locale 2Router(config-ephone-template)#network-locale 2Router(config-ephone-template)#ephone 2Router(config-ephone)#ephone-template 1

  • Configure an Ephone:

    Date and Time Settings: Date Format Time FormatRouter(config)#telephony-serviceRouter(config-telephony)#date-format ? dd-mm-yySet date to dd-mm-yy format mm-dd-yySet date to mm-dd-yy format yy-dd-mmSet date to yy-dd-mm format yy-mm-ddSet date to yy-mm-dd format

    Router(config-telephony)#date-format mm-dd-yyRouter(config-telephony)#time-format ? 12Set time to 12Hrs (AM/PM) format 24Set time to 24Hrs format

    Router(config-telephony)#time-format 12

  • Configure an Ephone:

    System message: Text FormatRouter(config)#telephony-serviceRouter(config-telephony)#system message Dont Worry Be Happy

  • Use CCP to configure a phone system:

  • Verify Router Configuration:

    VOICE_ROUTER#sh telephony-serviceCONFIG (Version=7.1)=====================Version 7.1Cisco Unified Communications Manager ExpressFor on-line documentation please see:http://www.cisco.com/en/US/products/sw/voicesw/ps4625/tsd_products_support_series_home.htmlip source-address 1.1.1.1 port 2000ip qos dscp: ef (the MS 6 bits, 46, in ToS, 0xB8) for media cs3 (the MS 6 bits, 24, in ToS, 0x60) for signal af41 (the MS 6 bits, 34, in ToS, 0x88) for video default (the MS 6 bits, 0, in ToS, 0x0) for serviceservice directed-pickup

  • Verify Router Configuration continued:

    no auto-reg-ephonemax-ephones 15max-dn 4max-conferences 8 gain -6dspfarm units 0dspfarm transcode sessions 0conference softwareprivacyno privacy-on-holdhunt-group report delay 1 hourshunt-group logout DNDmax-redirect 5cnf-file location: system:cnf-file option: PER-PHONE-TYPE

  • Verify Router Configuration continued:

    network-locale[0] US (This is the default network locale for this box)network-locale[1] USnetwork-locale[2] USnetwork-locale[3] USnetwork-locale[4] USuser-locale[0] US (This is the default user locale for this box)user-locale[1] USuser-locale[2] USuser-locale[3] USuser-locale[4] USsrst mode auto-provision is OFFsrst ephone template is 0srst dn template is 0

  • Verify Router Configuration continued:

    srst dn line-mode singletime-format 12date-format mm-dd-yytimezone 0 Greenwich Standard Timesecondary-dialtone 9no transfer-pattern is configured, transfer is restricted to local SCCP phones only.keepalive 30 auxiliary 30timeout interdigit 10timeout busy 10timeout ringing 180timeout transfer-recall 0timeout ringin-callerid 8timeout night-service-bell 12caller-id name-only: enable

  • Verify Router Configuration continued:

    web admin system name admin secret 5 $1$5TzL$kdRXNh1I03NuICc9GbVhb.web admin customer name Customeredit DN through Web: disabled.edit TIME through web: disabled.Log (table parameters): max-size: 150 retain-timer: 15create cnf-files version-stamp Jan 01 2002 00:00:00transfer-system full-consulttransfer-digit-collect new-calllocal directory service: enabled.Extension-assigner tag-type ephone-tag.

    VOICE_ROUTER#

  • Verify Router Configuration continued:

    VOICE_ROUTER# sh ephone

    ephone-1[0] Mac:001E.7A26.C706 TCP socket:[-1] activeLine:0 whisperLine:0 DECEASEDmediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:8IP:10.20.0.1 52957 Telecaster 7940 keepalive 28 max_line 2 available_line 2button 1: dn 2 number 5001 CH1 DOWN CH2 DOWNbutton 2: dn 3 number 5003 CH1 DOWN CH2 DOWNPreferred Codec: g711ulawUsername: TonyRashid

  • Verify Router Configuration continued:

    ephone-2[1] Mac:6C50.4DDA.950B TCP socket:[-1] activeLine:0 whisperLine:0 DECEASEDmediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:0IP:10.10.0.2 51778 7962 keepalive 0 max_line 6 available_line 0button 1: dn 1 number 5000 CH1 DOWN CH2 DOWNbutton 2: dn 3 number 5003 CH1 DOWN CH2 DOWNPreferred Codec: g711ulawUsername: JohnMowry

    VOICE_ROUTER#

  • Verify Router Configuration continued:

    VOICE_ROUTER#sh run

    telephony-service no auto-reg-ephone max-ephones 15 max-dn 4 ip source-address 1.1.1.1 port 2000 max-redirect 5 max-conferences 8 gain -6 web admin system name admin secret 5 $1$5TzL$kdRXNh1I03NuICc9GbVhb. transfer-system full-consult secondary-dialtone 9 create cnf-files version-stamp Jan 01 2002 00:00:00

  • Verify Router Configuration continued:

    ephone-dn 2 dual-line number 5001 secondary 8255001 label Tony Rashid name Tony Rashid!!ephone-dn 3 dual-line number 5003 secondary 8255003 label Reception description Reception Phone name Tony Rashid

  • Verify Router Configuration continued:

    ephone 1 mac-address 001E.7A26.C706 username "TonyRashid" type 7940 button 1:2 2:3!!!ephone 2 mac-address 6C50.4DDA.950B username "JohnMowry" type 7962 button 1:1 2:3

  • End of Chapter 5