© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring Cisco CallManager Express Configuring Cisco CallManager Express Network Parameters
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Voice VLANs Prevents unnecessary IP address renumbering Simplifies QoS configurations Separates voice and data traffic Requires two VLANs: one for data traffic and one for voice traffic Requires only one drop-down Ethernet for the Cisco CallManager Express IP Phone and the PC that is plugged into the Phone
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v IP Addressing Deployment Options IP Phone + PC on separate switch ports Public IP addresses Public IP addresses IP Phone + PC on same switch ports IP Phone uses private network IP Phone + PC on same switch ports IP Phone uses private network IP Phone + PC on separate switch ports Recommended
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Voice VLANs Tagged 802.1q (voice VLAN) Untagged (native VLAN) An access port can handle two VLANs. –Native VLAN –Auxiliary, or voice, VLAN The switch port interface is set to dot1q trunk.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example Catalyst Switch or EtherSwitch Network Module Console(config)#interface FastEthernet0/1 Console(config-if)#switchport trunk encapsulation dot1q Console(config-if)#switchport trunk native vlan 12 Console(config-if)#switchport mode trunk Console(config-if)#switchport voice vlan 112 Console(config-if)#spanning-tree portfast 802.1q trunking is enabled on the port. The access VLAN is used for the PC that is plugged into the IP Phone. The voice VLAN is used for voice and signaling that originates and terminates on the IP Phone. Spanning Tree PortFast enables the port to initialize quickly.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Verifying Voice VLAN Configuration Switch# show interface fa0/17 switchport Name: Fa0/17 Switchport: Enabled Administrative mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: Disabled Access Mode VLAN: 0 ((Inactive)) Trunking Native Mode VLAN: 12 (VLAN0012) Trunking VLANs Enabled: ALL Trunking VLANs Active: 1-3,5,10,12 Pruning VLANs Enabled: Priority for untagged frames: 0 Override vlan tag priority: FALSE Voice VLAN: 112 Appliance trust: none
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Router Configuration 802.1q Trunk interface fastethernet 1/0.12 encapsulation dot1q 12 ip address interface fastethernet 1/0.112 encapsulation dot1q 112 ip address VLAN 12 VLAN 112 Trunk on a Router
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Dynamic Host Configuration Protocol Assigns an IP addresses and subnet masks for one or more subnets Assigns a default gateway (Optional) Assigns DNS servers (Optional) Assigns other commonly used servers Scope must be customized to assign a TFTP server to the voice VLAN that IP Phones are on Best practice is to configure a DHCP scope for the IP Phones
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v DHCP Service Options Single DHCP IP address pool Separate DHCP IP address pool for each Cisco IP Phone DHCP relay server
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Phone Bootup A DHCP scope can be configured on the Cisco CallManager Express router. The scope should define the following: Range of available IP addresses Subnet mask Default gateway Address of the TFTP server DNS server(s) The IP Phone powers on. The Phone performs a POST. Through CDP, the IP Phone learns what the voice VLAN is. The Phone initializes the IP stack. The Phone boots up.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Phone Bootup (Cont.) The IP Phone sends DHCPDISCOVER broadcast requesting an IP address. The DHCP server selects a free IP address from the pool and sends it, along with the other scope parameters, as a DHCPOFFER. The IP Phone initializes, applying the IP configuration to the IP stack. The IP Phone requests a configuration file from the TFTP server.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v ip dhcp excluded-address start-IP end-IP CMERouter(config)# Sets a range of addresses to be excluded from the configured scopes ip dhcp pool pool-name CMERouter(config)# Creates and enters a DHCP configuration mode Commands for Manual Configuration network subnet subnet-mask CMERouter(dhcp-config)# Defines the range of addresses that are available for assignment to DHCP clients
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v default-router IP-address CMERouter(dhcp-config)# Sets the default gateway that is handed out to the DCHP clients dns-server primary-IP [secondary IP] CMERouter(dhcp-config)# (Optional) Sets the DNS server(s) that are assigned to the DHCP clients Commands for Manual Configuration (Cont.) option option-number ip IP-address CMERouter(dhcp-config)# Defines a custom option and its value
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring DHCP on an IOS Router CMERouter(config)#ip dhcp exluded-address CMERouter(config)#ip dhcp pool mypool CMERouter(dhcp-config)#network CMERouter(dhcp-config)#option 150 ip CMERouter(dhcp-config)#default-router CMERouter(dhcp-config)#dns-server CMERouter(dhcp-config)#exit Option 150 sets the TFTP server on the IP Phone. The TFTP server contains the configuration files and firmware for the IP Phone.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v DHCP Relay Service DHCP Server CallManager Express Router Without DHCP DHCP Broadcast X The routers default behavior is to not forward broadcasts; the DHCP request times out. This issue can be addressed with a DHCP relay server.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v DHCP Relay Service (Cont.) DHCP Server DHCP Broadcast The router forwards the DHCP request to the DHCP server. The DHCP broadcast request is forwarded through either a unicast or a directed broadcast to the DHCP server. Enable DHCP relay on the interface that will receive the DHCP broadcast. Unicast or Directed Broadcast WAN
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v service dhcp CMERouter(config)# Enables the DHCP server feature on the router (enabled by default) ip helper-address ip-address CMERouter(config-if)# Enables forwarding of select broadcasts to the specified subnet or host DHCP Relay Service Feature
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example of DHCP Relay Service DHCP Server Enables DHCP relay on the interface that will hear the DHCP broadcast fa0/0 CMERouter(config)#service dhcp CMERouter(config)#interface fastethernet 0/0 CMERouter(config-if)#ip helper-address WAN
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Network Time Protocol The IP Phone gets its displayed time from the Cisco CallManager Express router. The time of the Cisco CallManager Express routers internal clock should be synchronized with an NTP server. The local NTP server can have an attached atomic clock or can synchronize with a more authoritative source. There are free NTP servers available on the Internet. The time of the Cisco CallManager Express router can be used to stamp all syslog and trace messages. The internal clock of a Cisco IOS router can drift, and a more authoritative source through NTP is very desirable. RFC 1305 defines NTP.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v clock timezone zone hours-offset CMERouter(config)# Sets the local time zone clock summer-time zone recurring [start-date end-date] CMERouter(config)# Specifies daylight-saving time ntp server ip-address CMERouter(config)# Allows the clock on this router to be synchronized with the specified NTP server Configuring the Time
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example of Router Set to PST with Daylight-Saving Time Enabled NTP Server IP Phone time comes from the Cisco CallManager Express router. Cisco CallManager Express router time synchronizes with the NTP server. CMERouter(config)#clock timezone pst -8 CMERouter(config)#clock summer-time zone recurring first sunday april 02:00 last sunday october 02:00 CMERouter(config)#ntp server
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Transcoding Transcoding between G.711 and G.729: Requires hardware-based DSP farm Assists Cisco CallManager Express software ad-hoc conferencing when one or more parties use G.729 Call transfer and forward to an endpoint where one leg uses G.729 and the other uses G.711 A G.729 call forwarded to voice mail on the CUE module, which only supports the G.711 codec Sends G.711 MOH feed to a caller who is using G.729
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Transcoding (Cont.) DSP hardware for transcoding: NM-HDV (TI-549 DSP) NM-HDV2 (TI-5510 DSP) NM-HD-1V (TI-5510 DSP) NM-HD-2V (TI-5510 DSP) NM-HD-2VE (TI-5510 DSP) PVDM2 slots on the 2800 and 3800 (TI-5510 DSP)
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Transcoding (Cont.)
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring the NM-HDV Overview Configure the location and settings of the voice card Configure SCCP parameters on the host router Enable the DSP farm and set size
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v voice-card slot DSPFarm(config)# Identifies the slot where the DSP farm is located dsp services dspfarm DSPFarm(config-voicecard)# Enables the DSP farm services Configuring the NM-HDV (Cont.)
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Sets the local interface that the transcoding application should use to register with the Cisco CallManager Express sccp ccm ip-address priority priority DSPFarm(config)# Specifies the address and priority where the DSP farm will register sccp DSPFarm(config)# Enables SCCP and the associated processes Configuring the NM-HDV (Cont.) sccp local interface-type interface-number DSPFarm(config)#
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v dspfarm DSPFarm(config)# Enables the DSP farm Configuring the NM-HDV (Cont.) dspfarm transcoder maximum sessions number DSPFarm(config)# Specifies the maximum number of sessions supported by the DSP farm
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example of Configuring an NM-HDV-Based Remote DSP Farm DSPFarm(config)#voice-card 1 DSPFarm(config-voicecard)#dsp services dspfarm DSPFarm(config)#sccp local fastethernet 0/0 DSPFarm(config)#sccp DSPFarm(config)#sccp ccm profile 1 DSPFarm(config)#dspfarm transcoder maximum sessions 12 DSPFarm(config)#dspfarm G.729 DSP Farm WAN G NM-HDV G.711- Capable Only
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example of Configuring an NM-HDV-Based Local DSP Farm CMERouter(config)#voice-card 1 CMERouter(config-voicecard)#dsp services dspfarm CMERouter(config)#sccp local fastethernet 0/0 CMERouter(config)#sccp CMERouter(config)#sccp ccm profile 1 CMERouter(config)#dspfarm transcoder maximum sessions 12 CMERouter(config)#dspfarm G.729 DSP Farm WAN G NM-HDV G.711- Capable Only
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring the NM-HD-xV, NM-HDV2, and PVDM2 Slots Overview Configure the location and settings of the voice card Configure SCCP parameters on the host router Enable the DSP farm and set size Define a DSP farm profile Define a Cisco CallManager Express group
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v codec codec-type DSPFarm(config-dspfarm-profile)# Specifies the codecs supported by the DSP farm Configuring the NM-HD-xV, NM-HDV2, and PVDM2 Slots (Cont.) dspfarm profile profile-identifier transcode DSPFarm(config)# Enables a DSP farm profile for transcoding
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v maximum sessions number DSPFarm(config-dspfarm-profile)# Specifies the maximum number of sessions supported by the DSP farm associate application sccp DSPFarm(config-dspfarm-profile)# Associates SCCP to the DSP farm profile Configuring the NM-HD-xV, NM-HDV2, and PVDM2 Slots (Cont.)
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v sccp ccm ip-address identifier identifier-number DSPFarm(config)# Specifies the IP address of the Cisco CallManager Express router and an identifying number sccp ccm group group-number DSPFarm(config)# Creates a Cisco CallManager Express group associate ccm identifier-number priority 1 DSPFarm(config-sccp-ccm)# Associates a Cisco CallManager Express with a Cisco CallManager Express group Configuring the NM-HD-xV, NM-HDV2, and PVDM2 Slots (Cont.)
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v associate profile profile-identifier register device-name DSPFarm(config-sccp-ccm)# Associates a DSP farm profile with a Cisco CallManager Express group and assigns the registered name keepalive retries number DSPFarm(config-sccp-ccm)# Sets the number of keepalive retries Configuring the NM-HD-xV, NM-HDV2, and PVDM2 Slots (Cont.)
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example of Configuring the NM-HD-xV, NM-HDV2, and PVDM2 slots G.729 DSP Farm WAN G NM-HD-1V or NM-HD-2V or NM-HDV2 G.711- Capable Only G.729 DSP Farm WAN G NM-HD-1V or NM-HD-2V or NM-HDV2 G.711- Capable Only OR
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example of Configuring the NM-HD-xV, NM-HDV2, and PVDM2 slots DSPFarm(config)#voice-card 1 DSPFarm(config-voicecard)#dsp services dspfarm DSPFarm(config)#sccp local fastethernet 0/0 DSPFarm(config)#sccp ccm identifier 7 DSPFarm(config)#sccp DSPFarm(config)#dspfarm profile 1 transcode DSPFarm(config-dspfarm-profile)#codec g711ulaw DSPFarm(config-dspfarm-profile)#codec g729ar8 DSPFarm(config-dspfarm-profile)#maximum sessions 24 DSPFarm(config-dspfarm-profile)#associate application sccp DSPFarm(config)#sccp ccm group 22 DSPFarm(config-sccp-ccm)#associate ccm 7 priority 1 DSPFarm(config-sccp-ccm)#associate profile 1 register mtp E3FB DSPFarm(config-sccp-ccm)#keepalive retries 5
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v sdspfarm units number CMERouter(config-telephony-service)# Specifies the maximum number of DSP farms that are allowed to register (default is 0) sdspfarm transcode sessions number CMERouter(config-telephony-service)# Specifies the maximum number of transcode sessions for G.729 allowed by the Cisco CallManager Express router sdspfarm tag number device-name CMERouter(config-telephony-service)# Permits a DSP farm unit to register to the Cisco CallManager Express router Configuring the Cisco CallManager Express Telephony Service to Use a DSP Farm
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example of Configuring the Cisco CallManager Express Telephony Service to Use a DSP Farm CMERouter(config)#telephony-service CMERouter(config-telephony-service)sdspfarm units 1 CMERouter(config-telephony-service)sdspfarm transcode sessions 24 CMERouter(config-telephony-service)sdspfarm tag 1 mtp E3FB CMERouter(config-telephony-service)
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v show sccp [statistics | connections] CMERouter# Displays the SCCP configuration information and current status show sdspfarm units CMERouter# Displays the configured and registered DSP farms show sdspfarm sessions [summary | active] CMERouter# Displays transcoding sessions Verifying That the DSP Farm Is Registered and Running
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Summary Voice VLANs are used to separate voice traffic from data traffic. Voice VLANs are configured on the interfaces of the switch into which the IP Phone is plugged. A single DHCP IP address pool is a large shared pool of IP addresses. Defining a separate pool for each Cisco IP Phone creates a name for the DHCP server address pool and specifies IP and MAC addresses for each name. A DHCP relay server is defined if the Cisco CallManager Express router is not a DHCP server and the DHCP server is not on the same subnet as the DHCP clients. NTP allows you to synchronize your Cisco CallManager Express router to a single clock on the network. DSP resources facilitate transcoding between G.729 and G.711.