CHAPTER 5 Managing Endpoints and End Users with CME and CCP
Creating VLANs on a Switch: Switch> Switch#config t Switch(config)#vlan 99 Switch(config-vlan)#name MANAGEMENT Switch(config-vlan)#vlan 999 Switch(config-vlan)#name NATIVE Switch(config-vlan)#vlan 10 Switch(config-vlan)#name DATA Switch(config-vlan)#vlan 20 Switch(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-4 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 10 Switch(config-if-range)#switchport voice vlan 20 Switch(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/1 Switch(config-if)#switchport trunk encapsulation dot1q Switch(config-if)#switchport mode trunk Switch(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 99 Switch(config-if)#ip address 9.9.9.1 255.255.255.0 Switch(config-if)#no shut Switch(config-if)#exit Switch(config)#ip default-gateway 9.9.9.254 Switch(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>ena Router#config t Router(config)#host VOICE_ROUTER VOICE_ROUTER(config)#username admin privilege 15 secret cisco VOICE_ROUTER(config)#ip http server VOICE_ROUTER(config)#ip http secure-server VOICE_ROUTER(config)#ip http authentication local VOICE_ROUTER(config)#line vty 0 4 VOICE_ROUTER(config-line)#login local VOICE_ROUTER(config-line)#transport input telnet ssh
Configure Router DHCP Pools and Options: Create Loopback interface Create DHCP pools
VOICE_ROUTER(config)#interface lo0 VOICE_ROUTER(config-if)#ip address 1.1.1.1 255.255.255.255 VOICE_ROUTER(config-if)#ip dhcp pool DATA VOICE_ROUTER(dhcp-config)#network 10.10.0.0 255.255.255.0 VOICE_ROUTER(dhcp-config)#default-router 10.10.0.254 VOICE_ROUTER(dhcp-config)#dns-server 4.2.2.2 VOICE_ROUTER(dhcp-config)#ip dhcp pool VOICE VOICE_ROUTER(dhcp-config)#network 10.20.0.0 255.255.255.0 VOICE_ROUTER(dhcp-config)#default-router 10.20.0.254 VOICE_ROUTER(dhcp-config)#dns-server 4.2.2.2 VOICE_ROUTER(dhcp-config)#option 150 ip 1.1.1.1 VOICE_ROUTER(dhcp-config)#ip dhcp excluded-address 10.10.0.254 VOICE_ROUTER(config)#ip dhcp excluded-address 10.20.0.254 VOICE_ROUTER(config)#end
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.bin VOICE_ROUTER(config)#tftp-server flash:/phone/79407960/P00308000500.loads alias P00308000500.loads VOICE_ROUTER(config)#tftp-server flash:/phone/79407960/P00308000500.sb2 alias P00308000500.sb2 VOICE_ROUTER(config)#tftp-server flash:/phone/79407960/P00308000500.sbn alias P00308000500.sbn VOICE_ROUTER(config)#telephony-service VOICE_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-service VOICE_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 1 VOICE_ROUTER(config-ephone-dn)#number 5000 VOICE_ROUTER(config-ephone-dn)#ephone-dn 2 dual-line VOICE_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 1 VOICE_ROUTER(config-ephone)#mac-address VOICE_ROUTER(config-ephone)#button 1:1 2:2 VOICE_ROUTER(config-ephone)#ephone 2 VOICE_ROUTER(config-ephone)#mac-address VOICE_ROUTER(config-ephone)#button 1:2 2:1
0014.1c48.e71a
0014.12ef.2d4b
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
1010 (normal ring) 1015 (feature ring) 1011 (normal ring) 1015 (feature ring) 1012 (normal ring) 1010 (monitor phone 1
Configure an Ephone:
Router(config)#ephone-dn 10 Router(config-ephone-dn)#number 1010 Router(config-ephone-dn)#preference 0 Router(config-ephone-dn)#huntstop channel Router(config-ephone-dn)#no huntstop Router(config-ephone-dn)#ephone-dn 11 Router(config-ephone-dn)#number 1010 Router(config-ephone-dn)#preference 1 Router(config-ephone-dn)#huntstop channel Router(config-ephone-dn)#no huntstop Router(config-ephone-dn)#ephone-dn 12
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
Example 7:
IP Phone model Cisco 7940 Assign ephone-dns twenty (20) through twentyfour (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)
ephone 1 device-security-mode none mac-address 0019.D122.DCF3 type CIPC button 1:31 ephone 2 device-security-mode none mac-address 0014.6A16.C2DA type 7940 button 1:20 ephone 3 device-security-mode none mac-address 0014.1C48.E6D1 type 7960 button 1:25
Commands: Restart
Phone line changes Speed dial changes DHCP scope changes Date and time changes Firmware changes Locale changes Changes to button (services, messages, directories) URLs Voicemail number changes
Reset
Router(config)#telephony-service Router(config-telephony)#user-locale ?
<0.4> DE DK ES FR IT ,,,,,,
Router(config-telephony)#user-locale FR
Router(config)#telephony-service Router(config-telephony)#network-locale ?
<0.4> AT CA CH DE ES ,,,,,,
Router(config-telephony)#network-locale FR
Router(config)#telephony-service Router(config-telephony)#user-locale 1 FR Router(config-telephony)#user-locale 2 NO Router(config-telephony)#network-locale 1 FR Router(config-telephony)#network-locale 2 NO Router(config-telephony)#ephone-template 1 Router(config-ephone-template)#user-locale 1 Router(config-ephone-template)#network-locale 1 Router(config-ephone-template)#ephone-template 2 Router(config-ephone-template)#user-locale 2 Router(config-ephone-template)#network-locale 2 Router(config-ephone-template)#ephone 2 Router(config-ephone)#ephone-template 1
Router(config-telephony)#time-format 12
Happy
ephone-1[0] Mac:001E.7A26.C706 TCP socket:[-1] activeLine:0 whisperLine:0 DECEASE D mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 rese t_sent:0 paging 0 debug:0 caps:8 IP:10.20.0.1 52957 Telecaster 7940 keepalive 28 max_line 2 available_line 2 button 1: dn 2 number 5001 CH1 DOWN CH2 DOWN button 2: dn 3 number 5003 CH1 DOWN CH2 DOWN Preferred Codec: g711ulaw Username: TonyRashid
End of Chapter 5