CUCM 7x Application Upgrade – Updates to the CLI Method


A few months ago, Bill Bell wrote a blog titled “Cisco UC Application Upgrade – The CLI Method“.  His intent was to outline some issues he experienced with a few revisions of CUCM 6x and was forced to do a CUCM upgrade via the CLI.  For specifics on what things looked like then, I refer you to Bill’s article.  Today, I am going to describe how you can perform an upgrade of a CUCM 7x server via the CLI and SFTP.  Unlike the CUCM 6x experience, it’s almost the same as using the web interface.

1.     Start things off by logging into the console with the platform administrator account (or its equivalent).

2.     At the command prompt, type “utils system upgrade initiate”

3.     The system then will prompt you with the following choices:

–        (1) Remote Filesystem

–        (2) DVD/CD

–        (q) Quit

4.     The UC team at NetCraftsmen relies on SFTP quite often, so I’ll demonstrate the “Remote Filesystem” approach.  Select option 1.

5.     The system prompts you for the Directory.  This is where the upgrade file is located on your SFTP server.

–        Ex: home/administrator

–        Remember to use the correct syntax for the slashes (/)

6.     The system prompts you for the User Name.  This is the user with rights to the SFTP directory you need to access.

–        Ex: sftpuser

7.     The system prompts you for the Password.  This completes the authentication portion of the SFTP transfer.

–        Ex: Password

8.     Next, you’ll be asked to verify the protocol you’d like to use for the transfer.

–        (1) SFTP

–        (2) FTP

–        (q) Quit

9.     In our case, we select SFTP.  The server will then check for valid upgrade files and displays a message stating the same.  “Checking for valid upgrade files, please wait….”  When the system finds valid upgrade files, they are displayed  (there may be various files on your SFTP server) for you to choose from.

Once you make your selection, the system will begin to pull the file via SFTP.  Unlike the CLI method in 6x, you get file transfer status indication in CUCM 7x via CLI just like you do via web.  At this point, it’s a waiting game for the file to be downloaded to the server, have check sum verified, and etc.  Assuming there are no issues with the upgrade file, the system will ask you to verify if you you’d like to switch partitions after upgrade or not (you can simply say yes or no).  All in all, it’s very similar to the web interface.  However, after having done a couple upgrades in this manner…I’m starting to prefer it over the web interface.  Why?  Avoidance of hung/stale web sessions.

Leave a Reply


Nick Kelly

Cybersecurity Engineer, Cisco

Nick has over 20 years of experience in Security Operations and Security Sales. He is an avid student of cybersecurity and regularly engages with the Infosec community at events like BSides, RVASec, Derbycon and more. The son of an FBI forensics director, Nick holds a B.S. in Criminal Justice and is one of Cisco’s Fire Jumper Elite members. When he’s not working, he writes cyberpunk and punches aliens on his Playstation.


Virgilio “BONG” dela Cruz Jr.

CCDP, CCNA V, CCNP, Cisco IPS Express Security for AM/EE
Field Solutions Architect, Tech Data

Virgilio “Bong” has sixteen years of professional experience in IT industry from academe, technical and customer support, pre-sales, post sales, project management, training and enablement. He has worked in Cisco Technical Assistance Center (TAC) as a member of the WAN and LAN Switching team. Bong now works for Tech Data as the Field Solutions Architect with a focus on Cisco Security and holds a few Cisco certifications including Fire Jumper Elite.


John Cavanaugh

CCIE #1066, CCDE #20070002, CCAr
Chief Technology Officer, Practice Lead Security Services, NetCraftsmen

John is our CTO and the practice lead for a talented team of consultants focused on designing and delivering scalable and secure infrastructure solutions to customers across multiple industry verticals and technologies. Previously he has held several positions including Executive Director/Chief Architect for Global Network Services at JPMorgan Chase. In that capacity, he led a team managing network architecture and services.  Prior to his role at JPMorgan Chase, John was a Distinguished Engineer at Cisco working across a number of verticals including Higher Education, Finance, Retail, Government, and Health Care.

He is an expert in working with groups to identify business needs, and align technology strategies to enable business strategies, building in agility and scalability to allow for future changes. John is experienced in the architecture and design of highly available, secure, network infrastructure and data centers, and has worked on projects worldwide. He has worked in both the business and regulatory environments for the design and deployment of complex IT infrastructures.