Sunday, April 19, 2015

Upgrading IOS in Cisco 2800 and 3800 Routers


Summary of Steps:
Download the new IOS image to your pc.
Copy the new IOS image to the router’s flash via FTP. (Or TFTP or USB)
Edit boot statement in the running-config.
Save the new configuration and reload.
Reload.
Fully test the router.

Download the new IOS image to your pc
Make sure that you’ve selected a similar or appropriate IOS version for your router and services needed. This is beyond the scope of this document, so, my suggestion is to choose a similarly named image (i.e. lanbase, advipservices, advsecurity, etc.). If you have any questions about this check with TAC.
When you download the new image, note the md5 checksum:



Also, note the size of the image, this example is roughly 55 MB.

Copy the new IOS image to the router’s flash via FTP
First check the size of flash memory in the router and how much is free:

RTR2821#dir flash:
Directory of flash:/

    2  -rw-       43846  May 15 2012 08:53:00 -05:00  0w2821_conf
    4  -rw-        1729  May 22 2012 13:39:08 -05:00  old_config
    5  -rw-         660  May 22 2012 15:22:12 -05:00  vlan.dat
    7  -rw-      491213  Mar 15 2007 16:37:42 -05:00  128MB.sdf
    8  -rw-    57754768  Jun 12 2013 20:57:26 -05:00  c2800nm-advipservicesk9-mz.124-24.T3.bin
    9  -rw-       15763  May 15 2014 03:10:46 -05:00  running-config

64016384 bytes total (5464064 bytes free)

You can see from above that we’ve got a 64 MB flash card and only 5.4 MB free. This means that we’ll have to delete the existing image from flash to make space for the new image. (Yes, this is safe, so long as you don’t reload before the new image gets copied to flash! Worst case scenario, it gets reloaded for some reason, just copy the image onto a compatible USB flash drive, insert the drive and reload. It should find the image and boot up. Just make sure to copy the image from USB to flash once you’ve booted up.)

RTR2821#del flash:c2800nm-advipservicesk9-mz.124-24.T3.bin
Delete flash:/c2800nm-advipservicesk9-mz.124-24.T3.bin? [confirm]   <<< press enter
RTR2821#

Now, using your favorite FTP server, copy the image to flash:
(Notice the error about "not a valid executable", I've seen this many times, it's usually safe to ignore, so long as you've got the right model chassis in the image name.)

RTR2821#copy  ftp://anonymous:anonymous@10.20.20.15/c2800nm-advipservicesk9-mz.124-24.T8.bin  flash:
Accessing ftp://*****:*****@10.20.20.15/c2800nm-advipservicesk9-mz.124-24.T8.bin...
%Warning: File not a valid executable for this system
Abort Copy? [confirm] no  <<< press enter

Loading c2800nm-advipservicesk9-mz.124-24.T8.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 57777596/4096 bytes]

57777596 bytes copied in 543.200 secs (106365 bytes/sec)
RTR2821#

Alternately, if you're not remote, just use a USB drive:

RTR2821#copy  usbflash0:c2800nm-advipservicesk9-mz.124-24.T8.bin  flash:
Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
….

Verify the checksum once you've copied the new image to flash:
(This should match the md5sum value from Cisco's download site.)

RTR2821#verify /md5 flash:c2800nm-advipservicesk9-mz.124-24.T8.bin   
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ..........................................................................................................................................................................................................................................Done!
verify /md5 (flash:c2800-advipservicesk9-mz.124-24.T8.bin) = 5c667f7810b88f1112799267e7f7235b

Edit boot statement in the running-config
Check the running-config to see if you've got a boot statement pointing to a particular image and location:

RTR2821#sh run
Building configuration...
!
boot-start-marker
boot system flash:c2800nm-advipservicesk9-mz.124-24.T3.bin
boot system usbflash0:c2800nm-advipservicesk9-mz.124-24.T3.bin
warm-reboot
boot-end-marker
!

We'll need to change that first statement for the flash:

RTR2821(config)#no boot system flash:c2800nm-advipservicesk9-mz.124-24.T3.bin
RTR2821(config)#no boot system usbflash0:c2800nm-advipservicesk9-mz.124-24.T3.bin
RTR2821(config)#boot system flash:c2800nm-advipservicesk9-mz.124-24.T8.bin
RTR2821(config)#boot system usbflash0:c2800nm-advipservicesk9-mz.124-24.T3.bin
RTR2821(config)#end

Save the new configuration
Since we changed the running-config, we'll need to save it:

RTR2821#write memory
Building configuration...

[OK]
RTR2821#

Reload
Now that your new image and boot statements are in place you can reload:
(Most 2800/3800 routers take roughly 5 minute to reboot fully. I highly recommend staying connected to the console to watch as the router reloads. This way you'll see any errors or warnings that may occur. Also, you should see your new image in the version information.)

RTR2821#reload
Proceed with reload? [confirm]

May 17 22:05:27.387 CDT: %SYS-5-RELOAD: Reload requested  by robertoj on console. Reload Reason: Reload Command.
May 17 22:05:27.407 CDT: %BGP-5-ADJCHANGE: neighbor 265.22.101.25 Down Peer closed the session

System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2007 by cisco Systems, Inc.

Initializing memory for ECC
.
c2821 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80

program load complete, entry point: 0x8000f000, size: 0x3719bf4
Self decompressing the image : ######################################################################################################################################################################################################################################################################################################################################## [OK]

Smart Init is enabled
smart init is sizing iomem
  ID            MEMORY_REQ                 TYPE
0003E8          0X00474800 C2821 Mainboard
                0X00264050 Onboard VPN
                0X000021B8 Onboard USB
                0X002C29F0 public buffer pools
                0X00211000 public particle pools
TOTAL:          0X00BAE3F8

If any of the above Memory Requirements are
"UNKNOWN", you may be using an unsupported
configuration or there is a software problem and
system operation may be compromised.
Rounded IOMEM up to: 12Mb.
Using 4 percent iomem. [12Mb/256Mb]

 Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(24)T8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Sun 09-Sep-12 04:01 by prod_rel_team


This product contains cryptographic features and is subject to United
States and local country laws governing blah, blah, blah.....

Installed image archive
Cisco 2821 (revision 52.46) with 249856K/12288K bytes of memory.
Processor board ID FHD0833F1B
2 Gigabit Ethernet interfaces
2 Serial interfaces
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
982512K bytes of USB Flash usbflash0 (Read/Write)
62720K bytes of ATA CompactFlash (Read/Write)

Kron: Policy Accepted, Policy daily-backup needs to be configured
*May 18 03:07:29.643: SERVICE_MODULE(Serial0/2/0): self test finished: Passed
*May 18 03:07:32.439: SERVICE_MODULE(Serial0/3/0): self test finished: Passed
*May 18 03:07:48.159: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Initialized
*May 18 03:07:48.167: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Enabled
*May 18 03:07:49.551: %USB_HOST_STACK-6-USB_DEVICE_CONNECTED: A Full speed USB device has been inserted in port 0.
*May 18 03:07:49.911: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*May 18 03:07:49.911: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
*May 18 03:07:49.915: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
*May 18 03:07:49.915: %LINK-3-UPDOWN: Interface Serial0/2/0, changed state to down
*May 18 03:07:49.915: %LINK-3-UPDOWN: Interface Serial0/3/0, changed state to down
*May 18 03:07:50.383: %USBFLASH-5-CHANGE: usbflash0 has been inserted!
*May 18 03:07:50.911: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
*May 18 03:07:50.915: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
*May 18 03:07:50.915: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2/0, changed state to down
*May 18 03:07:50.915: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to down
*May 17 21:07:52.323 CST: %SYS-6-CLOCKUPDATE: System clock has been updated from 03:07:52 UTC Sun May 18 2012 to 21:07:52 CST Sat May 17 2012, configured from console by console.
*May 17 22:07:52.327 CDT: %SYS-6-CLOCKUPDATE: System clock has been updated from 21:07:52 CST Sat May 17 2012 to 22:07:52 CDT Sat May 17 2012, configured from console by console.
May 17 22:07:52.771 CDT: Interface Multilink1 max_reserved_bandwidth config will not
take effect on the queueing features configured via service-policy
May 17 22:07:53.803 CDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
May 17 22:07:54.703 CDT: NTP Core (INFO): keys initilized.
May 17 22:07:54.759 CDT: %SYS-5-CONFIG_I: Configured from memory by console
May 17 22:07:54.919 CDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:access-list 199 permit icmp host 10.10.10.10 host 20.20.20.20
May 17 22:07:54.931 CDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:crypto map NiStTeSt1 10 ipsec-manual
May 17 22:07:54.931 CDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:match address 199

May 17 22:07:54.935 CDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:set peer 20.20.20.20

May 17 22:07:54.935 CDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:exit
May 17 22:07:54.943 CDT: %LINK-3-UPDOWN: Interface Serial0/2/0, changed state to up
May 17 22:07:54.967 CDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:no access-list 199
May 17 22:07:54.979 CDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:no crypto map NiStTeSt1
May 17 22:07:55.195 CDT: %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively down
May 17 22:07:55.447 CDT: %LINK-3-UPDOWN: Interface Serial0/3/0, changed state to up
May 17 22:07:56.015 CDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
May 17 22:07:58.495 CDT: %SYS-5-RESTART: System restarted --
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(24)T8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Sun 09-Sep-12 04:01 by prod_rel_team
May 17 22:07:58.503 CDT: %SNMP-5-COLDSTART: SNMP agent on host RTR2821 is undergoing a cold start
May 17 22:07:58.851 CDT: %SYS-6-BOOTTIME: Time taken to reboot after reload =  153 seconds
May 17 22:07:59.079 CDT: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
May 17 22:07:59.079 CDT: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
May 17 22:07:59.079 CDT: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
May 17 22:07:59.079 CDT: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
May 17 22:07:59.203 CDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
May 17 22:07:59.240 CDT: %LINK-3-UPDOWN: Interface Multilink1, changed state to up
May 17 22:07:59.812 CDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to up
May 17 22:08:00.076 CDT: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 10.40.9.194 port 514 started - CLI initiated
May 17 22:08:00.076 CDT: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 10.41.32.11 port 514 started - CLI initiated
May 17 22:08:00.228 CDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up
May 17 22:08:00.228 CDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2/0, changed state to up
May 17 22:08:00.616 CDT: %PIM-5-DRCHG: DR change from neighbor 0.0.0.0 to 10.65.105.1 on interface GigabitEthernet0/0.121
May 17 22:08:04.372 CDT: %DHCPD-4-PING_CONFLICT: DHCP address conflict:  server pinged 10.65.105.2.
May 17 22:08:04.448 CDT: %BGP-5-ADJCHANGE: neighbor 265.22.101.25 Up
May 17 22:08:18.608 CDT: %TRACKING-5-STATE: 101 ip sla 101 state Down->Up
May 17 22:08:23.800 CDT: %RTT-4-OPER_TIMEOUT: condition occurred, entry number = 500
May 17 22:08:23.812 CDT: %RTT-3-IPSLATHRESHOLD: IP SLAs(500): Threshold Occurred for timeout
May 17 22:08:23.816 CDT: %RTT-4-OPER_TIMEOUT: condition occurred, entry number = 520
May 17 22:08:23.828 CDT: %RTT-3-IPSLATHRESHOLD: IP SLAs(520): Threshold Occurred for timeout
May 17 22:08:37.636 CDT: NTP Core (INFO): peer 10.39.255.254 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
May 17 22:08:38.608 CDT: %TRACKING-5-STATE: 3 ip sla 3 state Down->Up
May 17 22:08:38.608 CDT: %TRACKING-5-STATE: 5 ip sla 5 state Down->Up
May 17 22:08:53.824 CDT: %RTT-4-OPER_TIMEOUT: condition cleared, entry number = 500
May 17 22:08:53.840 CDT: %RTT-3-IPSLATHRESHOLD: IP SLAs(500): Threshold Cleared for timeout
May 17 22:08:53.856 CDT: %RTT-4-OPER_TIMEOUT: condition cleared, entry number = 520
May 17 22:08:53.868 CDT: %RTT-3-IPSLATHRESHOLD: IP SLAs(520): Threshold Cleared for timeout You have logged onto a XYZ Device

Fully test the router
Now that you've successfully upgraded, it's time to test the router. Check that all the interfaces come up, including any encrypted tunnels, multilink bundles, etc. Also, perform all normal operations associated with the router. Such as, accessing the internet, placing phone calls, accessing data centers, etc.

Congrats!! You're done.


User's also viewed these links:
cisco phone boot basics
cisco port security




Packet Capture on Cisco CUBE

The following packet capture was performed on a Cisco 3925 router, running the CUBE platform with IOS ver 15.x:


Router(config)#ip traffic-export profile TAC mode capture

Router(conf-rite)#bidirectional

Router(conf-rite)#end

Router(config)#interface Port-channel1  <<< this may be different for you

Router(config-if)#ip traffic-export apply TAC size 10000000

Router(config-if)#end

-- leave the above code on the device, you can start and stop as desired --

-- do this to start a capture --

Router#traffic-export interface Port-channel1 start

<-MAKE CALL->

-- do this to stop the capture --

Router#traffic-export interface Port-channel1 stop

Router#traffic-export interface Port-channel1 copy tftp://<TFTP-Server-IP>/tac-sniffer.pcap

Router#traffic-export interface Port-channel1 clear

-- remember to do the clear each time, or the capture will append to the .pcap and not overwrite --

 
Also, to gather call information about call legs involved run these commands:

Run this to find call IDs (legs will be 1 port number apart):

Router#show call active voice compact

Then run this command for each call ID:

show call active voice brief callid <x>

show call active voice brief callid <x+1>

If you want to listen to the voice stream in Wireshark (G711) follow the instructions below. (For G729, use this link: https://wiki.wireshark.org/HowToDecodeG729)


Open the capture in Wireshark.

Right-click the UDP stream and decode as RTP.

Choose Telephony> RTP> Stream Analysis> Player> Decode>

Click in the graph area> Play.

User's also viewed these links:
cisco cube debugging and show commands
  


Tuesday, April 14, 2015

Cisco CUBE (Cisco Unified Border Element) Debugging and Show Commands

Okay, for all you voice admins out there, here's the holy grail of CUBE commands you've been looking for. After the commands section I've given some examples of the output. You're welcome!!!

SIP
debug ccsip calls
debug ccsip all
debug voice ccapi inout
debug voip ccapi inout - (great for dialpeer selection, ani, dest #, dest pattern)
debug voice dialpeer - (matching process, not good for seeing final selection)
debug ccsip messages
show voice call summ
sh call active voice - Call quality
sh call active voice stats - Call quality detailed output detail explaination
show call active voice compact
show call active voice brief - (great for dialpeer selection, codec, IP, port, ani, dest #)
sh voip rtp connections
show rtpspi statistics - Jitter and latency
show dial-peer voice summary - (dest. pattern and target server)
sh dialplan number <number> - (great for checking dialpeer functionality)
show dial-peer voice busy-trigger-counter - (shows dial-peer current usage)
sh sip calls called-number 15556661234
sh sip calls calling-number 5556661234
show sip-ua calls - Same as sh sip calls, but, comprehensive
show call history voice compact
sh sccp connections (summary) - (sessions of conf, transcoding, endpoints etc.)
show voip rtp connections - (IP addresses of both legs of RTP stream)
show udp | i <phone IP> - (IP and ports of CUBE--phone rtp stream)
sh call threshold (stats | config) - Show incoming call threshold and num. of current calls

SIP-UA
show sip-ua calls br (Vz IP address and number of calls)
show sip-ua calls summary (number of calls)
show sip-ua connections udp detail (SIP agent connections and ports)

H323
debug voice ccapi inout
debug voice dialpeer
debug isdn q931
debug voip ccapi inout
debug h245 asn1 (dtmf)
debug voip rtp session named-event (dtmf)
debug voice rtp session named-event (dtmf)
debug voip vtsp session - (show mid-call dtmf being pressed)
show voice call summ
sh voice call status
show call active voice compact
sh dialplan number 5556661234 - (dial-peer, media info, other juicy stuff)
sh sccp connections (summary) - (sessions of conf, transcoding, etc.)
sh voice port 0/0/0:23 - (gain settings, echo settings, etc.)
sh voice port summary - shows all isdn and fxo ports and status

DSP Resources
show dspf dsp all
show dspf dsp active
sh sccp connections - Shows resources used (mtp, xcode)
show dspfarm profile
sh dspfarm all - shows dsp resources configured
sh voice dsp
show platform led - (look for PVDM led color)
sh voice dsp capabilities slot 0 - CUBE - hardware capabilites

@@@@@@@@@@@

Some of the outputs below are truncated and formatted a little strange, but, I think you'll get the idea.

CUBE1#sh call active voice

Telephony call-legs: 0
SIP call-legs: 168
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 23
Multicast call-legs: 0
Total call-legs: 191

GENERIC:
SetupTime=10505807030 ms (10:56:04.102 CDT Tue Apr 15 2014)
Index=1
ConnectTime=10505809340 ms (10:56:06.412 CDT Tue Apr 15 2014)
CallDuration=02:30:48 sec
TransmitPackets=452421
TransmitBytes=9048420
ReceivePackets=451092
ReceiveBytes=9020992
VOIP:
ConnectionId[0x718F4780 0x10000 0x19E32 0x1216290A]
IncomingConnectionId[0x718F4780 0x10000 0x19E32 0x1216290A]
CallID=1875566
GlobalCallId=[0x48792DA5 0xC3ED11E3 0x9446C61A 0x7AD38B3C]
SessionId=0
CallReferenceId=0
CallServiceType=Unknown
RTP Loopback Call=FALSE
RemoteIPAddress=10.22.22.5
RemoteUDPPort=25966
RemoteSignallingIPAddress=10.22.22.5
RemoteSignallingPort=5060
RemoteMediaIPAddress=10.45.137.165

SessionProtocol=sipv2
ProtocolCallId=718f4780-34d15694-d2741-1216290a@10.22.22.5
SessionTarget=10.22.22.5
SafEnabled=FALSE
OnTimeRvPlayout=0
GapFillWithSilence=0 ms

CUBE1#sh call active voice stats

Telephony call-legs: 0
SIP call-legs: 168
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 23
Multicast call-legs: 0
Total call-legs: 191

1 : 1875566 1915872438ms.1 (10:56:04.102 CDT Tue Apr 15 2014) +2310 pid:3333
Answer 3142318689 active
dur 02:31:05 tx:453285/9065700 rx:451956/9038272 dscp:0 media:0 audio tos:0xB8 video
tos:0x0
DSP/TX: PK=0, SG=0, NS=0, DU=0, VO=0
DSP/RX: PK=451833, SG=0, CF=0, RX=9060320, VO=9035600, BS=96, BP=0, LP=149, EP=
204
DSP/PD: CU=65, MI=55, MA=95, CO=0, IJ=0.0234
DSP/PE: PC=2490, IC=0, SC=0, RM=0, BO=28690, EE=0
DSP/LE: TP=0, TX=0, RP=0, RM=0, BN=0, ER=0, AC=0
DSP/ER: RD=0, TD=0, RC=0, TC=0
DSP/IC: IC=0
DSP/EC: CI=g729 (plain, not A/B/AB), FM=10, FP=2, VS=0, GT=1.0000, GR=1.0000,
JD=adaptive, JN=60, JM=40, JX=1000
DSP/KF: KF=0.0000, AV=0.0000, MI=0.0000, BS=0.0000, NB=0, FL=0, NW=0, VR=0.0
DSP/CS: CR=0.0000, AV=0.0032, MX=0.9727, CT=29890, TT=9061430, OK=8981, CS=82,
SC=27, TS=50, DC=0
DSP/RF: ML=3.7802, MC=3.7802, R1=74, R2=74, IF=19, ID=0, IE=17, BL=15, R0=93, VR=2.0
DSP/UC: U1=0, U2=0, T1=0, T2=0
DSP/DL: RT=0, ED=95
1 : 1875567 1915872448ms.1 (10:56:04.112 CDT Tue Apr 15 2014) +2290 pid:3333
Originate 18882889321 active
dur 02:31:05 tx:451956/9038272 rx:453298/9065960 dscp:0 media:0 audio tos:0xB8 video
tos:0x0
DSP/TX: PK=0, SG=0, NS=0, DU=0, VO=0
DSP/RX: PK=453155, SG=0, CF=0, RX=9063080, VO=9063100, BS=0, BP=0, LP=0, EP=0
DSP/PD: CU=55, MI=55, MA=65, CO=0, IJ=0.0000
DSP/PE: PC=0, IC=0, SC=0, RM=0, BO=10, EE=0
DSP/LE: TP=0, TX=0, RP=0, RM=0, BN=0, ER=0, AC=0
DSP/ER: RD=0, TD=0, RC=0, TC=0
DSP/IC: IC=0
DSP/EC: CI=g729 (plain, not A/B/AB), FM=10, FP=2, VS=0, GT=1.0000, GR=1.0000,
JD=adaptive, JN=60, JM=40, JX=1000
DSP/KF: KF=0.0000, AV=0.0000, MI=0.0000, BS=0.0000, NB=0, FL=0, NW=0, VR=0.0
DSP/CS: CR=0.0000, AV=0.0000, MX=0.0000, CT=0, TT=9056000, OK=9063, CS=0, SC=0,
TS=50, DC=0
DSP/RF: ML=3.8437, MC=3.8437, R1=76, R2=76, IF=18, ID=0, IE=17, BL=15, R0=93, VR=2.0
DSP/UC: U1=0, U2=0, T1=0, T2=0
DSP/DL: RT=0, ED=85

CUBE1#sh call active voice compact

<callID> A/O FAX T<sec> Codec type Peer Address IP R<ip>:<udp>
Total call-legs: 185
1875566 ANS T9075 g729r8 VOIP P3142318689 10.45.137.165:25966
1875567 ORG T9075 g729r8 VOIP P18882889321 172.30.205.164:12938
1878185 ANS T4655 g729r8 VOIP P6608317283 10.32.3.8:26382
1878186 ORG T4655 g729r8 VOIP P19139538430 172.30.205.164:12218
1878189 ORG T4655 g711ulaw VOIP P 10.40.9.155:49938
1878191 ORG T4655 g729r8 VOIP P 10.32.3.8:17676
1878726 ANS T3283 g729r8 VOIP P3143620000 172.30.205.164:15702
1878727 ORG T3283 g729r8 VOIP P7660010222 10.44.234.103:26216
1878769 ANS T3194 g729r8 VOIP P8063369092 172.30.205.164:12318
1879587 ANS T1586 g729r8 VOIP P3142318689 10.45.137.43:17188
1879588 ORG T1586 g729r8 VOIP P16608317379 10.32.3.8:27876
1879589 ANS T1586 g729r8 VOIP P3142318689 10.32.3.8:22192
1879590 ORG T1586 g729r8 VOIP P6608317379 10.22.22.5:23370

CUBE1#sh call active voice brief

Telephony call-legs: 0
SIP call-legs: 166
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 21
Multicast call-legs: 0
Total call-legs: 187
1 : 1875566 1915872438ms.1 (10:56:04.098 CDT Tue Apr 15 2014) +2310 pid:3333
Answer 3142318689 active
dur 02:31:25 tx:454250/9085000 rx:452921/9057572 dscp:0 media:0 audio tos:0xB8 video
tos:0x0
IP 10.45.137.165:25966 SRTP: off rtt:0ms pl:0/0ms lost:1369/0/0 delay:65/55/95ms g729r8
TextRelay: off Transcoded: No
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long duration call duration:n/a timestamp:n/a
LostPacketRate:0.30 OutOfOrderRate:0.02

1 : 1875567 1915872448ms.1 (10:56:04.108 CDT Tue Apr 15 2014) +2290 pid:3333
Originate 18882889321 active
dur 02:31:25 tx:452921/9057572 rx:454263/9085260 dscp:0 media:0 audio tos:0xB8 video
tos:0x0
IP 172.30.205.164:12938 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:55/55/65ms g729r8
TextRelay: off Transcoded: No
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long duration call duration:n/a timestamp:n/a
LostPacketRate:0.00 OutOfOrderRate:0.00

CUBE1#show dial-peer voice summary

dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT
PORT KEEPALIVE
12216- voip up up 7412216380 1 syst ipv4:10.22.22.5
380
22216- voip up up 7412216380 2 syst ipv4:10.32.3.17
380
12218- voip up up 7412218324 1 syst ipv4:10.22.22.5
324
22218- voip up up 7412218324 2 syst ipv4:10.32.3.17
324
18314- voip up up 6608314763 1 syst ipv4:10.32.3.17
763
28314- voip up up 6608314763 2 syst ipv4:10.22.22.5
763
18310- voip up up 6608310423 1 syst ipv4:10.32.3.17
423
28310- voip up up 6608310423 2 syst ipv4:10.22.22.5
423
18650- voip up up 6608650682 1 syst ipv4:10.32.3.17
682
28650- voip up up 6608650682 2 syst ipv4:10.22.22.5
682
18665- voip up up 6608665617 1 syst ipv4:10.32.3.17
617
28665- voip up up 6608665617 2 syst ipv4:10.22.22.5
617
18320- voip up up 6608320423 1 syst ipv4:10.32.3.17
423
28320- voip up up 6608320423 2 syst ipv4:10.22.22.5
423
18639- voip up up 6608639915 1 syst ipv4:10.32.3.17
915
28639- voip up up 6608639915 2 syst ipv4:10.22.22.5
915
88888- voip up up 0088T 0 sip-server
888
17010- voip up up 7660010272 1 syst ipv4:10.22.22.5
272
27010- voip up up 7660010272 2 syst ipv4:10.32.3.17
272
17010- voip up up 7660010291 1 syst ipv4:10.22.22.5
291
27010- voip up up 7660010291 2 syst ipv4:10.32.3.17
291
201 voip up up 0 syst
66666- voip up up ^0001T 0 sip-server
6
16218- voip up up 5136218345 1 syst ipv4:10.32.3.17
345
26218- voip up up 5136218345 2 syst ipv4:10.22.22.5

CUBE1#sh dialplan number 6604137929

Macro Exp.: 6604137929
VoiceOverIpPeer1000
peer type = voice, system default peer = FALSE, information type = voice,
description = `To/From CUCM subscriber for VOICE',
tag = 1000, destination-pattern = `[1-9].........',
voice reg type = 0, corresponding tag = 0,
allow watch = FALSE
group = 1000, Admin state is up, Operation state is up,
incoming called-number = `',
connections/maximum = 56/unlimited,
bandwidth/maximum = 1344/unlimited,
DTMF Relay = enabled,
modem transport = system,
type = voip, session-target = `ipv4:10.32.3.17',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip media rsvp-pass DSCP = ef
ip media rsvp-fail DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
ip defending Priority = 0, ip preemption priority = 0
session-protocol = sipv2, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
dtmf-relay = rtp-nte,
dtmf-relay = sip-kpml,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, TTY=119, ClearChan=125, PCM switch over u-law=0,
A-law=8, GSMAMR-NB=117 iLBC=116, AAC-ld=114, iSAC=124
MP4A-LATM=111, lmr_tone=0, nte_tone=0
h263+=118, h264=119
G726r16 using static payload
G726r24 using static payload
RTP comfort noise payload type = 19
fax rate = disable, payload size = 20 bytes
fax protocol = none
fax-relay ecm enable
Fax Relay ans treatment disabled
Fax Relay ans enabled
Fax Relay SG3-to-G3 Enabled (by system configuration)
fax NSF = 0xAD0051 (default)
Matched: 6604137929 Digits: 1 Matched pattern: Preference: 1
Target: ipv4:10.32.3.17

CUBE1#show dial-peer voice busy-trigger-counter

101 15
1000 [1-9]......... 56
2000 [1-9]......... 0
3333 ................. 21
4444 ................. 21

CUBE1#sh sip calls called-number 17412216300

Total SIP call legs:159, User Agent Client:76, User Agent Server:83
SIP UAC CALL INFO
Call 1
SIP Call ID : BC728DE1-C40111E3-8A62C61A-7AD38B3C@10.32.3.8
State of the call : STATE_DEAD (10)
Substate of the call : SUBSTATE_NONE (0)
Calling Number : 6608317283
Called Number : 17412216300
Called URI : sip:17412216300@bpcllp.globalipcom.com:5605
Bit Flags : 0x800088 0xD0000100 0x800080
CC Call ID : 1880324
Source IP Address (Sig ): 10.32.3.8
Destn SIP Req Addr:Port : [172.30.205.49]:5605
Destn SIP Resp Addr:Port: [172.30.205.49]:5605
Destination Name : bpcllp.globalipcom.com
Number of Media Streams : 1
Number of Active Streams: 0
RTP Fork Object : 0x0
Media Mode : flow-through
Media Stream 1
State of the stream : STREAM_DEAD
Stream Call ID : 1880324
Stream Type : voice+dtmf (1)
Stream Media Addr Type : 1
Negotiated Codec : g729r8 (20 bytes)
Codec Payload Type : 18
Negotiated Dtmf-relay : rtp-nte
Dtmf-relay Payload Type : 101
QoS ID : -1
Local QoS Strength : BestEffort
Negotiated QoS Strength : BestEffort
Negotiated QoS Direction : None
Local QoS Status : None
Media Source IP Addr:Port: [10.32.3.8]:19212
Media Dest IP Addr:Port : [10.32.3.8]:28450

CUBE1#sh sip calls calling-number 6608317283

Total SIP call legs:160, User Agent Client:78, User Agent Server:82
Call 1
SIP Call ID : 1A55DE30-C40211E3-8C55C61A-7AD38B3C@10.32.3.8
State of the call : STATE_ACTIVE (7)
Substate of the call : SUBSTATE_NONE (0)
Calling Number : 6608317283
Called Number : 6608877737
Called URI : sip:6608877737@bpcllp.globalipcom.com:5605
Bit Flags : 0xC04018 0x90000100 0x0
CC Call ID : 1880496
Source IP Address (Sig ): 10.32.3.8
Destn SIP Req Addr:Port : [172.30.205.49]:5605
Destn SIP Resp Addr:Port: [172.30.205.49]:5605
Destination Name : bpcllp.globalipcom.com
Number of Media Streams : 1
Number of Active Streams: 1
RTP Fork Object : 0x0
Media Mode : flow-through
Media Stream 1
State of the stream : STREAM_ACTIVE
Stream Call ID : 1880496
Stream Type : voice+dtmf (0)
Stream Media Addr Type : 1
Negotiated Codec : g729r8 (20 bytes)
Codec Payload Type : 18
Negotiated Dtmf-relay : rtp-nte
Dtmf-relay Payload Type : 101
QoS ID : -1
Local QoS Strength : BestEffort
Negotiated QoS Strength : BestEffort
Negotiated QoS Direction : None
Local QoS Status : None
Media Source IP Addr:Port: [10.32.3.8]:32268
Media Dest IP Addr:Port : [172.30.205.164]:16938
Options-Ping ENABLED:NO ACTIVE:NO
Call 2
SIP Call ID : 23086BA-C3FE11E3-BFD8C61A-7AD38B3C@10.32.3.8
State of the call : STATE_ACTIVE (7)
Substate of the call : SUBSTATE_NONE (0)
Calling Number : 6608317283
Called Number : 18557494750
Called URI : sip:18557494750@bpcllp.globalipcom.com:5605
Bit Flags : 0xC04018 0x90000100 0x0
CC Call ID : 1879395
Source IP Address (Sig ): 10.32.3.8
Destn SIP Req Addr:Port : [172.30.205.49]:5605
Destn SIP Resp Addr:Port: [172.30.205.49]:5605
Destination Name : bpcllp.globalipcom.com

CUBE1#show call history voice compact

<callID> A/O FAX T<sec> Codec  type   Peer Address   IP R<ip>:<udp> disc-cause
1880646 ORG  T0        g711ulaw   VOIP  P6019486000        0.0.0.0:0     D11
1880645 ANS   T0        g711ulaw   VOIP  P6019681383  172.30.205.164:15040 D11
1880524 ANS   T198  g729r8      VOIP  P6606241065    10.44.216.44:20558 D10
1880525 ORG  T198 g729r8         VOIP   P18002385355 172.30.205.164:12024 D10
1880641 ORG  T37   g729r8     VOIP   P4024737643     10.44.249.51:31546 D10
1880640 ANS   T37   g729r8     VOIP   P4024880188    172.30.205.164:17646 D10
1879603 ANS   T1756 g729r8   VOIP   P6608658701      10.32.3.17:30980 D10
1879562 ANS   T1800 g729r8   VOIP   P6608658701      10.22.22.5:23960 D10
1879604 ORG  T1756 g729r8   VOIP   P16604599901  172.30.205.164:14340 D10
1879563 ORG  T1800 g729r8   VOIP   P16603587146  172.30.205.164:17180 D10
1880664 ANS   T43   g729r8     VOIP   P6608658701      10.60.62.169:23910 D10
1880665 ORG  T44   g729r8    VOIP   P6602696583     172.30.205.164:14956 D10
1880679 ANS   T18   g729r8    VOIP   P6606241065      10.44.216.44:29708 D10
1880680 ORG  T18   g729r8    VOIP   P19187875991  172.30.205.164:16142 D10

CUBE1#sh sccp connections
sess_id conn_id stype mode codec sport rport ripaddr conn_id_tx
33778125 34803412 xcode sendrecv g729 23710 27976 10.32.3.8
33778125 34803411 xcode sendrecv g711u 22562 57080 10.40.9.155
33778132 34803898 xcode sendrecv g729 31136 32572 10.32.3.8
33778132 34803897 xcode sendrecv g711u 22074 51116 10.40.9.155
33778136 34804196 xcode sendrecv g729 23246 16970 10.32.3.8
33778136 34804195 xcode sendrecv g711u 17700 56344 10.40.9.155
33778115 34803312 conf sendrecv g729 26168 30968 10.32.3.17
33778115 34803309 conf sendrecv g711u 16490 32064 10.45.41.35
33778115 34803307 conf sendrecv g711u 21248 20970 10.44.169.60
33778131 34803894 mtp sendrecv g711u 29512 22006 10.44.202.27
33778131 34803893 mtp sendrecv g711u 24782 55258 10.40.9.155
33778138 34804285 mtp sendrecv g711u 20284 30882 10.44.57.48
33778138 34804284 mtp sendrecv g711u 24960 50804 10.40.9.155
Total number of active session(s) 10, and connection(s) 21

CUBE1#show voip rtp connections

VoIP RTP Port Usage Information:
Max Ports Available: 8091, Ports Reserved: 101, Ports in Use: 181
Port range not configured, Min: 16384, Max: 32767
Ports Ports Ports
Media-Address Range Available Reserved In-use
Default Address-Range 8091 101 181
VoIP RTP active connections :
No. CallId dstCallId LocalRTP RmtRTP LocalIP RemoteIP
1 1875566 1875567 31098 25966 10.32.3.8 10.45.137.165
2 1875567 1875566 19086 12938 10.32.3.8 172.30.205.164
3 1878185 1878186 17676 26382 10.32.3.8 10.32.3.8
4 1878186 1878185 21850 12218 10.32.3.8 172.30.205.164
5 1878189 1878190 31416 49938 10.32.3.8 10.40.9.155
31 1879541 1879540 22586 28842 10.32.3.8 10.32.3.8
32 1879542 1879543 21952 49322 10.32.3.8 10.40.9.155
33 1879548 1879543 28842 22586 10.32.3.8 10.32.3.8
34 1879564 1879565 28192 17134 10.32.3.8 172.30.205.164
35 1879565 1879564 29260 21490 10.32.3.8 10.44.233.12
36 1879576 1879577 18040 2260 10.32.3.8 10.60.64.171
37 1879577 1879576 22868 27610 10.32.3.8 10.32.3.8
38 1879578 1879579 27610 22868 10.32.3.8 10.32.3.8
39 1879579 1879578 27510 21862 10.32.3.8 10.32.3.8
40 1879580 1879581 24580 52268 10.32.3.8 10.40.9.155
41 1879582 1879581 21862 27510 10.32.3.8 10.32.3.8
42 1879587 1879588 30932 17188 10.32.3.8 10.45.137.43
43 1879588 1879587 22192 27876 10.32.3.8 10.32.3.8

CUBE1#show sip-ua calls br
Total SIP call legs:168, User Agent Client:82, User Agent Server:86
SIP UAC CALL INFO
No. CallId Calling# Called# RmtSignalIP RmtMediaIP
dstCallId SIPState SIPSubState
========================================================================
================================================================
1 1879408 4058264687 6608317379 10.32.3.17 10.22.22.5
1879407 STATE_ACTIVE SUBSTATE_NONE
2 1880744 6132493233 6019486000 10.22.22.5 0.0.0.0
0 STATE_DEAD SUBSTATE_NONE
3 1879414 9133021038 7660010276 10.32.3.17 10.44.234.81
1879413 STATE_ACTIVE SUBSTATE_NONE
4 1880496 6608317283 6608877737 172.30.205.49 172.30.205.164
1880495 STATE_ACTIVE SUBSTATE_NONE
5 1880158 9727028262 18552557041 172.30.205.49
172.30.205.164
1880157 STATE_ACTIVE SUBSTATE_NONE
6 1879395 6608317283 18557494750 172.30.205.49
172.30.205.164
1879394 STATE_ACTIVE SUBSTATE_NONE
7 1880510 8704537263 5013721040 10.32.3.17 10.45.10.42
0 STATE_DEAD SUBSTATE_NONE
8 1880202 3192933171 6608317379 10.32.3.17 10.32.3.8
1880201 STATE_ACTIVE SUBSTATE_NONE
9 1879945 8124286500 8124671334 172.30.205.49 172.30.205.164
1879944 STATE_ACTIVE SUBSTATE_NONE
10 1880517 2708608878 5025810435 10.32.3.17 10.45.25.57
0 STATE_DEAD SUBSTATE_NONE

CUBE1#show sip-ua calls summary

Total SIP call legs:167, User Agent Client:82, User Agent Server:85

CUBE1#show sip-ua connections udp detail

Total active connections : 6
No. of inactive conn. ageouts : 11
Remote-Agent:172.31.127.49, Connections-Count:1
Remote-Port Conn-Id Conn-State WriteQ-Size Local-Address
=========== ======= =========== =========== ===========
5295 3 Established 0 -
Remote-Agent:10.32.3.17, Connections-Count:1
Remote-Port Conn-Id Conn-State WriteQ-Size Local-Address
=========== ======= =========== =========== ===========
5060 5 Established 0 -
Remote-Agent:172.31.134.49, Connections-Count:1
Remote-Port Conn-Id Conn-State WriteQ-Size Local-Address
=========== ======= =========== =========== ===========
5757 6 Established 0 -
Remote-Agent:172.30.205.49, Connections-Count:1
Remote-Port Conn-Id Conn-State WriteQ-Size Local-Address
=========== ======= =========== =========== ===========
5605 2 Established 0 -
Remote-Agent:10.22.22.5, Connections-Count:1
Remote-Port Conn-Id Conn-State WriteQ-Size Local-Address
=========== ======= =========== =========== ===========
5060 4 Established 0 -
Remote-Agent:10.22.22.5, Connections-Count:1
Remote-Port Conn-Id Conn-State WriteQ-Size Local-Address
=========== ======= =========== =========== ===========
5060 7 Established 0 -
-------------- SIP Transport Layer Listen Sockets ---------------
Conn-Id Local-Address
=========== =============================
0 [0.0.0.0]:5060

CUBE1#show dspf dsp all

SLOT DSP VERSION STATUS CHNL USE TYPE RSC_ID BRIDGE_ID PKTS_TXED
PKTS_RXED
0 1 36.1.0 UP 1 USED xcode 1 510063 100273 100889
0 1 36.1.0 UP 1 USED xcode 1 510062 100978 100273
0 1 36.1.0 UP N/A FREE xcode 1 - - -
0 1 36.1.0 UP N/A FREE xcode 1 - - -
0 1 36.1.0 UP N/A FREE xcode 1 - - -
1 36.1.0 UP N/A FREE xcode 1 - - -
0 1 36.1.0 UP N/A FREE xcode 1 - - -
0 2 36.1.0 UP 1 USED xcode 1 510401 39965 40651
0 2 36.1.0 UP 1 USED xcode 1 510400 40708 39965
0 2 36.1.0 UP 2 USED xcode 1 510515 9809 17052
0 2 36.1.0 UP 2 USED xcode 1 510514 17047 9812
0 2 36.1.0 UP 3 USED xcode 1 509549 139926 246657
0 2 36.1.0 UP 3 USED xcode 1 509548 246652 139961
0 2 36.1.0 UP N/A FREE xcode 1 - - -
0 2 36.1.0 UP N/A FREE xcode 1 - - -
0 2 36.1.0 UP N/A FREE xcode 1 - - -
0 3 36.1.0 UP 1 USED xcode 1 510148 88268 89401
0 3 36.1.0 UP 1 USED xcode 1 510147 89455 88268
0 3 36.1.0 UP 2 USED xcode 1 510095 66978 95098
0 3 36.1.0 UP 2 USED xcode 1 510094 95137 66988
0 3 36.1.0 UP N/A FREE xcode 1 - - -

CUBE1#show dspf dsp active

SLOT DSP VERSION STATUS CHNL USE TYPE RSC_ID BRIDGE_ID PKTS_TXED
PKTS_RXED
0 1 36.1.0 UP 1 USED xcode 1 510063 100622 101239
0 1 36.1.0 UP 1 USED xcode 1 510062 101328 100623
0 2 36.1.0 UP 1 USED xcode 1 510401 40315 41001
0 2 36.1.0 UP 1 USED xcode 1 510400 41058 40315
0 2 36.1.0 UP 2 USED xcode 1 510515 9813 17402
0 2 36.1.0 UP 2 USED xcode 1 510514 17397 9741
0 2 36.1.0 UP 3 USED xcode 1 509549 140198 247006
0 2 36.1.0 UP 3 USED xcode 1 509548 247001 140234
0 3 36.1.0 UP 1 USED xcode 1 510148 88609 89750
0 3 36.1.0 UP 1 USED xcode 1 510147 89804 88609
0 3 36.1.0 UP 2 USED xcode 1 510095 67328 95447
0 3 36.1.0 UP 2 USED xcode 1 510094 95486 67338
0 6 36.1.0 UP 1 USED conf 2 510085 97028 96988
0 6 36.1.0 UP 1 USED conf 2 510086 97016 96975
0 6 36.1.0 UP 1 USED conf 2 510087 97006 96997
Total number of DSPFARM DSP channel(s) 7

CUBE1#show dspfarm profile

Dspfarm Profile Configuration
Profile ID = 11, Service = TRANSCODING, Resource ID = 1
Profile Description :
Profile Service Mode : Non Secure
Profile Admin State : UP
Profile Operation State : ACTIVE
Application : SCCP Status : ASSOCIATED
Resource Provider : FLEX_DSPRM Status : UP
Number of Resource Configured : 60
Number of Resources Out of Service : 0
Codec Configuration: num_of_codecs:5
Codec : g729r8, Maximum Packetization Period : 60
Codec : g711ulaw, Maximum Packetization Period : 30
Codec : g711alaw, Maximum Packetization Period : 30
Codec : g729ar8, Maximum Packetization Period : 60
Codec : g729abr8, Maximum Packetization Period : 60
Dspfarm Profile Configuration
Profile ID = 12, Service = CONFERENCING, Resource ID = 2
Profile Description : conference bridge
Profile Service Mode : Non Secure
Profile Admin State : UP
Profile Operation State : ACTIVE
Application : SCCP Status : ASSOCIATED
Resource Provider : FLEX_DSPRM Status : UP
Number of Resource Configured : 10
Number of Resources Out of Service : 0
Maximum conference participants : 8
Codec Configuration: num_of_codecs:6
Codec : g711ulaw, Maximum Packetization Period : 30 , Transcoder: Not Required
Codec : g711alaw, Maximum Packetization Period : 30 , Transcoder: Not Required
Codec : g729ar8, Maximum Packetization Period : 60 , Transcoder: Not Required
Codec : g729abr8, Maximum Packetization Period : 60 , Transcoder: Not Required
Codec : g729r8, Maximum Packetization Period : 60 , Transcoder: Not Required
Codec : g729br8, Maximum Packetization Period : 60 , Transcoder: Not Required
Dspfarm Profile Configuration
Profile ID = 13, Service = MTP, Resource ID = 3
Profile Description :
Profile Service Mode : Non Secure
Profile Admin State : UP
Profile Operation State : ACTIVE
Application : SCCP Status : ASSOCIATED
Resource Provider : NONE Status : NONE
Number of Resource Configured : 30
Number of Resources Out of Service : 0
Hardware Configured Resources : 0
Hardware Available Resources : 0
Software Resources : 30
Codec Configuration: num_of_codecs:1

CUBE1#sh voice dsp capabilities slot 0

DSP Type: SP2600 -43
Card 0 DSP id 1 Capabilities:
Credits 645 , G711Credits 15, HC Credits 32, MC Credits 20,
FC Channel 43, HC Channel 20, MC Channel 32,
Conference 8-party credits:
G711 40 , G729 92 , G722 92 , ILBC 129
Secure Credits:
Sec LC Xcode 20, Sec HC Xcode 35,
Sec MC Xcode 26, Sec LC UNIV Xcode 20,
Sec HC UNIV Xcode 64,Sec MC UNIV Xcode 35,
Sec G729 conf 129, Sec G722 conf 129, Sec ILBC conf 161,
Sec G711 conf 71 ,
NR Secure Credits:
Sec LC Xcode 25, Sec HC Xcode 40,
Sec MC Xcode 31, Sec LC UNIV Xcode 25,
Sec HC UNIV Xcode 69,Sec MC UNIV Xcode 40,
Ext NR Secure Credits:
Sec HC Xcode 45, Sec MC Xcode 36,
Sec HC UNIV Xcode 74, Sec MC UNIV Xcode 45,
ASP Secure Credits:
Sec LC Xcode 22, Sec HC Xcode 37,
Sec MC Xcode 28, Sec LC UNIV Xcode 22,
Sec HC UNIV Xcode 66,Sec MC UNIV Xcode 37,
NR+ASP Secure Credits:
Sec LC Xcode 27, Sec HC Xcode 42,
Sec MC Xcode 33, Sec LC UNIV Xcode 27,
Sec HC UNIV Xcode 71,Sec MC UNIV Xcode 42,
Ext NR+ASP Secure Credits:
Sec HC Xcode 47, Sec MC Xcode 38,
Sec HC UNIV Xcode 76, Sec MC UNIV Xcode 47,
Max Conference Parties per DSP:
G711 128, G729 56, G722 56, ILBC 40,
Sec G711 72, Sec G729 40,
Sec G722 40 Sec ILBC 32,
Voice Channels:
g711perdsp = 43, g726perdsp = 32, g729perdsp = 20, g729aperdsp = 32,
g723perdsp = 0 , g728perdsp = 20, g711_5msperdsp = 28, gsmamrnbperdsp = 20,
ilbcperdsp = 20, isacperdsp = 10, modemrelayperdsp = 20,
g72264Perdsp = 32, h324perdsp = 20,
m_f_thruperdsp = 43, faxrelayperdsp = 32,
maxchperdsp = 43, minchperdsp = 20,
srtp_maxchperdsp = 27, srtp_minchperdsp = 14, faxrelay_srtp_perdsp = 14,
g711_srtp_perdsp = 27, g729_srtp_perdsp = 14, g729a_srtp_perdsp = 24
gnx64_srtp_perdsp = 27
DSP Type: SP2600 -43
Card 0 DSP id 2 Capabilities:
Credits 645 , G711Credits 15, HC Credits 32, MC Credits 20,
FC Channel 43, HC Channel 20, MC Channel 32,
Conference 8-party credits:
G711 40 , G729 92 , G722 92 , ILBC 129

CUBE1# sh sccp ccm group 10

CCM Group Identifier: 10
Description: None
Binded Interface: None
Associated CCM Id: 1, Priority in this CCM Group: 1
Associated CCM Id: 2, Priority in this CCM Group: 2
Associated Profile: 11, Registration Name: CUBE1-xcode
Associated Profile: 12, Registration Name: CUBE1-conf1
Associated Profile: 14, Registration Name: CUBE1-mtp2
Associated Profile: 13, Registration Name: CUBE1-mtp1
Registration Retries: 3, Registration Timeout: 10 sec
Keepalive Retries: 3, Keepalive Timeout: 30 sec
CCM Connect Retries: 3, CCM Connect Interval: 10 sec
Switchover Method: GRACEFUL, Switchback Method: GRACEFUL_GUARD
Switchback Interval: 10 sec, Switchback Timeout: 7200 sec
Signaling DSCP value: cs3, Audio DSCP value: ef

CUBE1# sh sccp call-references

session_id: 33781057 session_type: xcode, profile_id: 11,
Conn conn_id: 34940845 , str_passthr: 16777216
rtp-call-id: 2125095 , bridge-id: 575047 , msp-call-id: 2125094
mode: sendrecv, sport: 16674, rport 24130, ripaddr: 10.32.3.8
codec: g729 , pkt-period: 20
Conn conn_id: 34940844 , str_passthr: 16777216
rtp-call-id: 2125093 , bridge-id: 575046 , msp-call-id: 2125094
mode: sendrecv, sport: 31956, rport 53100, ripaddr: 10.40.9.155
codec: g711u , pkt-period: 20
Total number of active session(s) 1
Total of number of active session(s) 1
with no call-reference(s)
with total of number of connection(s) 2

CUBE1# sh sccp call-identifications

sess_id callref conn_id conn_id_tx spid rtp_callid msp_callid bridge_id codec stype
prof_id
33781057 - 34940845 0 16777216 2125095 2125094 575047 g729
xcode 11
33781057 - 34940844 0 16777216 2125093 2125094 575046 g711u
xcode 11
Total number of active session(s) 1


User's also viewed these links:
packet capture on a cisco cube







Tuesday, April 7, 2015

Cisco Phone Boot Basics

If you're like me, you've wondered what the boot process looks like from the phone's perspective. So, here's what happened when I setup a dhcp server using Tftpd32 and plugged a Cisco 7942 phone into my pc.

Setup:
1) Download and install Tftpd32 (settings as below). You need this to supply the phone with a dhcp address.
2) Download all necessary files from Cisco, cmterm-7942_7962-sccp.8-3-2.zip.
3) Unzip these files into your tftp directory so that Tftpd32 can serve them to the phone.
4) Connect a patch cable to the phone's switch port and your pc's nic. (Q:Why not use the phone's pc port? A: The pc is acting as the switch, where the phone would normally get it's vlan and IP information.)
5) Power on the phone with a power brick. I know this is a show stopper for some of you. Unfortunately, your pc can't provide the normal POE that your Cisco switch probably does now.
6) Watch the magic....











If you watch the SYSLOG tab you will see that the phone looks for these files in order:

term42.default.loads
jar42sccp.8-3-1-22.sbn
cnu42.8-3-1-22.sbn
apps42.8-3-1-22.sbn
dsp42.8-3-1-22.sbn
cvm42sccp.8-3-1-22.sbn
CTLSEP0026CBBFA935.tlv     (error, can't find file)
SEP0026CBBFA935.cnf.xml (same error)
XMLDefault.cnf.xml     (same error)


We expect  that it can’t find the last three files, because they are on UCM.
At this point, you can plug this phone back into the network and configure it. It will now register. (FYI, it will not upgrade to version 9.x.x without an intermediary upgrade to 8.5.2 first.)


Log output:

Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:26:CB:BF:A9:35 [05/02 14:59:49.430]
Previously allocated address 192.168.1.1 acked [05/02 14:59:49.430]
Connection received from 192.168.1.1 on port 49152 [05/02 14:59:49.479]
Read request for file <term42.default.loads>. Mode octet [05/02 14:59:49.480]
Using local port 52295 [05/02 14:59:49.480]
<term42.default.loads>: sent 2 blks, 662 bytes in 0 s. 0 blk resent [05/02 14:59:49.483]
Connection received from 192.168.1.1 on port 49153 [05/02 14:59:50.543]
Read request for file <jar42sccp.8-3-1-22.sbn>. Mode octet [05/02 14:59:50.543]
Using local port 52296 [05/02 14:59:50.544]
<jar42sccp.8-3-1-22.sbn>: sent 867 blks, 443408 bytes in 1 s. 0 blk resent [05/02 14:59:51.529]
Connection received from 192.168.1.1 on port 49154 [05/02 14:59:53.607]
Read request for file <cnu42.8-3-1-22.sbn>. Mode octet [05/02 14:59:53.607]
Using local port 62805 [05/02 14:59:53.607]
<cnu42.8-3-1-22.sbn>: sent 1085 blks, 555298 bytes in 1 s. 0 blk resent [05/02 14:59:54.872]
Connection received from 192.168.1.1 on port 49155 [05/02 14:59:56.968]
Read request for file <apps42.8-3-1-22.sbn>. Mode octet [05/02 14:59:56.968]
Using local port 62758 [05/02 14:59:56.968]
<apps42.8-3-1-22.sbn>: sent 4863 blks, 2489775 bytes in 6 s. 0 blk resent [05/02 15:00:02.542]
Connection received from 192.168.1.1 on port 49156 [05/02 15:00:09.547]
Read request for file <dsp42.8-3-1-22.sbn>. Mode octet [05/02 15:00:09.547]
Using local port 62336 [05/02 15:00:09.547]
<dsp42.8-3-1-22.sbn>: sent 638 blks, 326254 bytes in 1 s. 0 blk resent [05/02 15:00:10.330]
Connection received from 192.168.1.1 on port 49157 [05/02 15:00:11.846]
Read request for file <cvm42sccp.8-3-1-22.sbn>. Mode octet [05/02 15:00:11.847]
Using local port 60423 [05/02 15:00:11.847]
<cvm42sccp.8-3-1-22.sbn>: sent 4771 blks, 2442564 bytes in 6 s. 0 blk resent [05/02 15:00:17.609]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:26:CB:BF:A9:35 [05/02 15:00:53.038]
Previously allocated address 192.168.1.1 acked [05/02 15:00:53.039]
Connection received from 192.168.1.1 on port 49158 [05/02 15:01:02.855]
Read request for file <CTLSEP0026CBBFA935.tlv>. Mode octet [05/02 15:01:02.856]
File <CTLSEP0026CBBFA935.tlv> : error 2 in system call CreateFile The system cannot find the file specified. [05/02 15:01:02.856]
Connection received from 192.168.1.1 on port 49159 [05/02 15:01:02.934]
Read request for file <SEP0026CBBFA935.cnf.xml>. Mode octet [05/02 15:01:02.934]
File <SEP0026CBBFA935.cnf.xml> : error 2 in system call CreateFile The system cannot find the file specified. [05/02 15:01:02.934]
Connection received from 192.168.1.1 on port 49160 [05/02 15:01:02.982]
Read request for file <XMLDefault.cnf.xml>. Mode octet [05/02 15:01:02.982]
File <XMLDefault.cnf.xml> : error 2 in system call CreateFile The system cannot find the file specified. [05/02 15:01:02.982]


For a step by step see this link:
Cisco IP phone boot process

** Also, another thing that many articles forget to mention, the TFTP file that the phone receives from Call Manager does not contain all of the settings that you see on the device page of the CUCM web page. Let's take a peek inside one of these files:

This file name includes the phone MAC, SEP00270B2FA049.cnf.xml:

<?xml version="1.0" encoding="UTF-8"?>
<device  xsi:type="axl:XIPPhone" ctiid="4876" uuid="{e4853103-9a48-e95e-9ac4-6252dc2d8a2b}">
<fullConfig>true</fullConfig>
<deviceProtocol>SCCP</deviceProtocol>
<sshUserId></sshUserId>
<sshPassword></sshPassword>
<ipAddressMode>0</ipAddressMode>
<allowAutoConfig>true</allowAutoConfig>
<ipPreferenceModeControl>0</ipPreferenceModeControl>
<tzdata>
<tzolsonversion>2013b</tzolsonversion>
<tzupdater>tzupdater.jar</tzupdater>
</tzdata>
<mlppDomainId>000000</mlppDomainId>
<mlppIndicationStatus>Off</mlppIndicationStatus>
<preemption>Disabled</preemption>
<executiveOverridePreemptable>false</executiveOverridePreemptable>
<devicePool  uuid="{bb482444-bb93-c261-c5a0-01971672ba20}">
<revertPriority>0</revertPriority>
<name>Orion-DP</name>
<dateTimeSetting  uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}">
<name>CST-CDT</name>
<dateTemplate>M/D/YA</dateTemplate>
<timeZone>Central Standard/Daylight Time</timeZone>
<olsonTimeZone>America/Chicago</olsonTimeZone>
</dateTimeSetting>
<callManagerGroup>
<name>BPC-CMG2</name>
<tftpDefault>false</tftpDefault>
<members>
<member  priority="0">
<callManager>
<name>10.22.32.10</name>
<description>UCM SUBSCRIBER 2</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>10.22.32.10</processNodeName>
</callManager>
</member>
<member  priority="1">
<callManager>
<name>10.1142.10</name>
<description>UCM SUBSCRIBER 1</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>10.1142.10</processNodeName>
</callManager>
</member>
<member  priority="2">
<callManager>
<name>10.22.242.10</name>
<description>UCM PUBLISHER</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>10.22.242.10</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<srstInfo  uuid="{598b7cdb-51da-913d-3be4-9007c14811ff}">
<name>Orion-SRST</name>
<srstOption>User Specific</srstOption>
<userModifiable>true</userModifiable>
<ipAddr1>10.64.224.1</ipAddr1>
<port1>2000</port1>
<ipAddr2></ipAddr2>
<port2>2000</port2>
<ipAddr3></ipAddr3>
<port3>2000</port3>
<sipIpAddr1></sipIpAddr1>
<sipPort1>5060</sipPort1>
<sipIpAddr2></sipIpAddr2>
<sipPort2>5060</sipPort2>
<sipIpAddr3></sipIpAddr3>
<sipPort3>5060</sipPort3>
<isSecure>false</isSecure>
</srstInfo>
<connectionMonitorDuration>120</connectionMonitorDuration>
</devicePool>
<TVS>
<members>
<member  priority="0">
<port>2445</port>
<address>10.22.32.10</address>
</member>
<member  priority="1">
<port>2445</port>
<address>10.1142.10</address>
</member>
<member  priority="2">
<port>2445</port>
<address>10.22.242.10</address>
</member>
</members>
</TVS>
<MissedCallLoggingOption>1</MissedCallLoggingOption>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>3</callLogBlfEnabled>
</commonProfile>
<loadInformation>SCCP75.8-5-2SR1S.loads</loadInformation>
<vendorConfig>
<disableSpeaker>false</disableSpeaker><disableSpeakerAndHeadset>false</disableSpeakerAndHeadset><forwardingDelay>1</forwardingDelay><pcPort>0</pcPort><settingsAccess>1</settingsAccess><garp>1</garp><voiceVlanAccess>0</voiceVlanAccess><videoCapability>0</videoCapability><autoSelectLineEnable>0</autoSelectLineEnable><webAccess>0</webAccess><daysDisplayNotActive>1,7</daysDisplayNotActive><displayOnTime>07:30</displayOnTime><displayOnDuration>10:30</displayOnDuration><displayIdleTimeout>01:00</displayIdleTimeout><spanToPCPort>1</spanToPCPort><loggingDisplay>1</loggingDisplay><loadServer></loadServer><recordingTone>0</recordingTone><recordingToneLocalVolume>100</recordingToneLocalVolume><recordingToneRemoteVolume>50</recordingToneRemoteVolume><recordingToneDuration></recordingToneDuration><displayOnWhenIncomingCall>0</displayOnWhenIncomingCall><rtcp>0</rtcp><moreKeyReversionTimer>5</moreKeyReversionTimer><autoCallSelect>1</autoCallSelect><logServer></logServer><g722CodecSupport>0</g722CodecSupport><headsetWidebandUIControl>0</headsetWidebandUIControl><headsetWidebandEnable>0</headsetWidebandEnable><peerFirmwareSharing>0</peerFirmwareSharing><enableCdpSwPort>1</enableCdpSwPort><enableCdpPcPort>1</enableCdpPcPort><enableLldpSwPort>1</enableLldpSwPort><enableLldpPcPort>1</enableLldpPcPort><lldpAssetId></lldpAssetId><powerPriority>0</powerPriority><ehookEnable>0</ehookEnable><ipv6LogServer></ipv6LogServer><detectCMConnectionFailure>0</detectCMConnectionFailure><minimumRingVolume>0</minimumRingVolume><sideToneLevel>0</sideToneLevel><handsetHeadsetMonitor>1</handsetHeadsetMonitor><headsetRecording>0</headsetRecording><useEnblocDialing>1</useEnblocDialing></vendorConfig>
<commonConfig>
</commonConfig>
<enterpriseConfig>
</enterpriseConfig>
<versionStamp>1400682942-db4b9f30-8be8-4b53-af99-673afad3cba4</versionStamp>
<userLocale>
<name>English_United_States</name>
<uid>1</uid>
<langCode>en_US</langCode>
<version>9.0.0.0(1)</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>
<networkLocale>United_States</networkLocale>
<networkLocaleInfo>
<name>United_States</name>
<uid>64</uid>
<version>9.0.0.0(1)</version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<idleTimeout>0</idleTimeout>
<authenticationURL>http://10.22.242.10:8080/ccmcip/authenticate.jsp</authenticationURL>
<directoryURL>http://10.22.242.10:8080/ccmcip/xmldirectory.jsp</directoryURL>
<idleURL></idleURL>
<informationURL>http://10.22.242.10:8080/ccmcip/GetTelecasterHelpText.jsp</informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL>http://10.22.242.10:8080/ccmcip/getservicesmenu.jsp</servicesURL>
<secureAuthenticationURL>https://10.22.242.10:8443/ccmcip/authenticate.jsp</secureAuthenticationURL>
<secureDirectoryURL>https://10.22.242.10:8443/ccmcip/xmldirectory.jsp</secureDirectoryURL>
<secureIdleURL></secureIdleURL>
<secureInformationURL>https://10.22.242.10:8443/ccmcip/GetTelecasterHelpText.jsp</secureInformationURL>
<secureMessagesURL></secureMessagesURL>
<secureServicesURL>https://10.22.242.10:8443/ccmcip/getservicesmenu.jsp</secureServicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>1</transportLayerProtocol>
<dndCallAlert>2</dndCallAlert>
<phonePersonalization>0</phonePersonalization>
<rollover>0</rollover>
<singleButtonBarge>0</singleButtonBarge>
<joinAcrossLines>0</joinAcrossLines>
<autoCallPickupEnable>true</autoCallPickupEnable>
<blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
<blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
<capfAuthMode>0</capfAuthMode>
<capfList>
<capf>
<phonePort>3804</phonePort>
<processNodeName></processNodeName>
</capf>
</capfList>
<certHash></certHash>
<encrConfig>false</encrConfig>
<advertiseG722Codec>1</advertiseG722Codec>
<mobility>
<handoffdn></handoffdn>
<dtmfdn></dtmfdn>
<ivrdn></ivrdn>
<dtmfHoldCode>*81</dtmfHoldCode>
<dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
<dtmfResumeCode>*83</dtmfResumeCode>
<dtmfTxfCode>*84</dtmfTxfCode>
<dtmfCnfCode>*85</dtmfCnfCode>
</mobility>
<userId></userId>
<phoneServices  useHTTPS="true">
<provisioning>0</provisioning>
<phoneService  type="1" category="0">
<name>Missed Calls</name>
<url>Application:Cisco/MissedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="2" category="0">
<name>Voicemail</name>
<url>Application:Cisco/Voicemail</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Received Calls</name>
<url>Application:Cisco/ReceivedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Placed Calls</name>
<url>Application:Cisco/PlacedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Personal Directory</name>
<url>Application:Cisco/PersonalDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Corporate Directory</name>
<url>Application:Cisco/CorporateDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
</phoneServices>
</device>


I hope this has helped you to understand the processes a little better.
Also, soon I'll add an article explaining how I downloaded this TFTP file.

User's also viewed these links:
packet capture on a cisco cube

cisco cube debugging and show commands