Search

Loading...

Quick Reference: CLI Commands for CUCM, CUC and IM & Presence


Often times, it's necessary to access a CUCM server via the CLI instead of the web server. If you've not done much of this yet, the command structure may seem a little awkward. It's nothing like IOS and can give many voice and network engineers pause when they first encounter it.


This large post contains a list of all Cisco UC 9.1(1) CLI commands and their syntax in brief format.  This included CUCM CLI commands, CUC CLI commands and IM & Presence CLI commands.  It's no coincidence that this is the version of UC that is tested on the current CCIE Collaboration exams.  However, if you'd like to consult the full Cisco document for your version of UC (or something close), refer to the links below:

Cisco Command Line Interface (CLI) Guides for Unified Communication

Disclaimer

Many of the CLI commands below require that services be reset, will reset the services themselves or require a server reset to be effective.  Some are disruptive and some could be catastrophic.  Please use this list as a quick reference guide, but ALWAYS research and test commands on a non-production system to verify that you get the desired results.  Furthermore, some of the commands listed below will not function on specific UCS hardware or they are specific to CUCM or CUC (and some work on either).

Initiate the CLI

First and foremost, you remotely access the CLI via a secure SSH session to the CUCM. If you do not have remote access to the CUCM via SSH, you can also gain access to the CLI via a locally attached keyboard and monitor.  Shown below, I've used PuTTY to gain access to the CLI of the CUCM server.

SSH to CUCM CLI
SSH to CUCM CLI via PuTTY

Delete Commands

delete account account-name
Deletes an administrator account
Warning: Be cautious; ensure that you have known credentials for another admin
delete cuc futuredelivery
Deletes all messages that have been marked for future delivery; specific to CUC
delete cuc locale locale-id
Deletes the specified locale and all associated files; specific to CUC
delete dns addr
Delete the ip address for a DNS server
delete dscp port-tag
Deletes a DSCP port tag
delete ipsec policy_group  { group | | all }
Deletes all policies within a specified group
delete ipsec policy_name  { policy_name | all }
Deletes a policy with a specified name
delete process process-id  [ force | terminate | crash ]
Deletes a specific process
delete smtp
Delete the SMTP host


File Commands

file check  [detection-size-kb]
Checks the /usr directory for files or directories that have changed since the last installation or upgrade
file delete  { activelog | inactivelog | install } file-spec [detail] [noconfirm]
Deletes a file, or files
file delete tftp file-spec [detail] [noconfirm]
Deletes a tftp file
file delete dir ftp dir-name [detail]
Deletes a tftp directory
file dump  { activelog | inactivelog | install } file-spec [hex] [recent] [ regexp expression ]
Dumps the contents of a file to the screen
file dump sftpdetails
Specifies the list of files that can be dumped in the SFTP context and allows you to choose which file to dump
file dump tftp file-spec [page] [detail] [hex]
Dumps the contents of a specified file from TFTP
file fragmentation sdi most { fragmented | recent } [number]
Shows file fragmentation information about most fragmented SDI log files
file fragmentation sdi file filename [verbose]
Shows file fragmentation information about a specified SDI log file
file fragmentation sdi all filename
Shows file fragmentation information about all SDI log files in the directory
file fragmentation sdl most { fragmented | recent } [number]
Shows file fragmentation information about most fragmented SDL log files
file fragmentation sdl file filename [verbose]
Shows file fragmentation information about a specified SDL log file
file fragmentation sdl all filename
Shows file fragmentation information about all SDL log files in the directory
file get  { activelog | inactivelog | install } file-spec [ reltime | abstime ] [ match regex ] [recurs] [compress]
Sends a file to another system by using SFTP
file get  { partBsalog | salog } file-spec [ reltime | abstime ] [ match regex ] [recurs] [compress]
Sends the partBsalog or salog directory to another system by using SFTP
file get tftp file-spec [ reltime | abstime ] [ match regex ] [recurs] [compress]
Sends a TFTP file to another system by using SFTP
file list { activelog | inactivelog | install } file-spec [ page | detail | reverse ] [ date | size ]
Lists log files in an available log directory
file list { partBsalog | salog } file-spec [ page | detail | reverse ] [ date | size ]
Lists the partBsalog or salog directory
file list tftp file-spec [ page | detail | reverse ] [ date | size ]
Lists TFTP files
file search { activelog | inactivelog | install } file-spec [ reltime | abstime ] [ignorecase]
Searches the content of a log and shows the matching lines a page at a time
file search tftp file-spec [ reltime | abstime ] [ignorecase]
Searches the content of a TFTP file and shows the matching lines a page at a time
file tail { activelog | inactivelog | install } filespec [hex] [lines] [ regexp expression ]
Shows the last few lines of a log file
file tail tftp filespec [detail] [hex] [lines]
Shows the last few lines of a TFTP file
file view { activelog | inactivelog | install } file-spec
Displays the contents of a file
file view system-management-log
Displays the contents of the Integrated Management Logs (IML)
file view tftp file-spec
Displays the contents of an installation file

License Commands

license file { diagnose | get }
Prints diagnostic information on a license file or transfers it/them to a remote destination via TAR file
license management change user { name | password }
Takes parameters interactively and changes the username or password of the administrator
license management list users
Lists all administrative users
license management product re-register all
Forces re-registration of all product instances associated with this Enterprise License Manager/Cisco Prime License Manager server. This command may take some time for re-registration and synchronization with all product instances to complete.
license management reset { identity | registration }
Resets the identity, store data, and essentially removes all the installed licenses. It also restarts the Cisco Prime License Manager server process to make the changes effective.
license management service { activate | deactivate }
Activates or deactivates a given service on the Cisco Prime License Manager server
license management show system
Lists details about the ELM system; includes last sync time and ELM id

Run Commands

run cuc dbquery database_name sql_query [page]
Runs an SQL query and displays the results; specific to CUC
run cuc preupgrade test
Verifies the state of the connection server on which the upgrade process is to be performed and specifies the actions that can be taken before upgrading the system; specific to CUC
run cuc smtptest email-address
Initiates a test that helps to verify the outgoing or incoming SMTP configuration for SpeechView transcriptions; specific to CUC
run cuc sysagent task task_name
Runs a sysagent task; specific to CUC
run cuc vui rebuild
Instructs the voice recognition transport utility to immediately rebuild the voice recognition name grammars with pending changes
run loadxml
Workaround for when service parameters or product-specific information does not appear in the administration window as expected
run sql sql_statement
Allows you to run an sql command
run pe sql datastore_name sql_statement
Allows you to run an input SQL statement against the specified presence datastore; specific to IM and Presence service on UCM

Set Commands

set account enable user-id
Enables the OS user account that was disabled because of password inactivity
set account name name
Sets up a new account on the operating system
set accountlocking { enable | disable }
Enables or disables account locking for the current administration accounts
set accountlocking count attempts
Sets the global consecutive failed sign-in attempt count that triggers locking a user account
set accountlocking unlocktime seconds
Configures the unlock time for the current Unified Communications Manager admin accounts
set cert bulk consolidate unit
Consolidates all the certificates that are available on the unit
set cert bulk export unit
Exports all the certificates that are available on the unit
set cert bulk import unit
Imports the certificates that are in the SFTP location into the specified unit trust-store
set cert bulk sftp
Prompts for the SFTP server information to use for bulk operations
set cert delete unit name
Deletes a specific certificate file from the trust unit
set cert import type name [caCert]
Imports the specified certificate for the specified certificate type
set cert regen name
Regenerates the certificate for the specified unit
set cli pagination { on | off }
For the current CLI session, this command turns automatic pagination On or Off
set cli session timeout minutes
Sets the time, in minutes, after which an active CLI session times out and disconnects
set commandcount { enable | disable }
Changes the CLI command prompt, so it displays how many CLI commands have executed.
set csr gen name
Generates the csr for the unit name
set cuc jetty stderrlog { enable | disable }
Enables or disables the error log getting generated while any standard error occurs during communicating with the Jetty server. This error log gets generated and is available at the path /var/log/active/jetty/.  Specific to CUC
set cuc jetty stdoutlog { enable | disable }
Enables or disables the standard input and output log getting generated while communicating with Jetty server. This standard input and output log gets generated and is available at the path /var/log/active/jetty/.  Specific to CUC
set cuc jetty requestlog { enable | disable }
Enables or disables the request log getting generated from the Jetty server while any request is raised for notifications. This request log gets generated and is available at the path /usr/local/jetty/logs/.  Specific to CUC
set cuc trace { enable | disable } trace_name level
Enables or disables the specified traces and trace levels.  Specific to CUC
set date HH:mm:ss:MM/DD/YY
Changes the time and date on the server
set dscp defaults
Sets the factory default DSCP settings for all of the port tags
set dscp { enable | disable } { all | port_tag }
Enables or disables DSCP marking on outgoing TCP or UDP packets. You can enable or disable DSCP on a single port tag, or on all port tags at once
set dscp marking port_tag value
Sets DSCP markings on port tags by using well-known DSCP classes and numeric values
set ipsec policy_group { ALL | group }
Enables ipsec policies with the specified policy group name
set ipsec policy_name { ALL | policy_name }
Enables the specified ipsec policy
set logging { enable | disable }
Allows you to enable or disable CLI Admin logs
set network cluster publisher { hostname | ip } name
Sets the network cluster publisher hostname and IP address
set network dhcp eth0 { enable | disable } { node_ip | net_mask | gateway_ip }
Enables or disables DHCP for Ethernet interface 0. You cannot configure Ethernet interface 1.
set network dns { primary | secondary } addr
Sets the IP address for the primary or secondary DNS server
set network dns options [ timeout | seconds ] [ attempts | number ] [ rotate ]
Sets DNS options
set network domain [domain-name]
Sets the domain name for the system
set network failover { ena | dis }
Enables and disables Network Fault Tolerance on the Media Convergence Server network interface card
set network gateway addr
Enables you to configure the IP address of the network gateway
set network hostname hostname
Allows an administrator to set the network host name, change the IP address of the node, and restart the system.
set network ip eth0 addr mask gw
Sets the IP address for Ethernet interface 0. You cannot configure Ethernet interface 1.
set network ipv6 dhcp { enable | disable } [reboot]
Sets the DHCPv6 client on the server and enables IPv6 support. For changes to take effect, you must restart the server.
set network ipv6 gateway addr [reboot]
Sets the IPv6 gateway for the server. For changes to take effect, you must restart the server.
set network ipv6 service { enable | disable } [reboot]
Enables or disables the IPv6 service on the server. For changes to take effect, you must restart the server.
set network ipv6 static_address addr mask [reboot]
Assigns the static IPv6 address to the server. For changes to take effect, you must restart the server.
set network max_ip_conntrack ip_conntrack_max value
Sets the ip_conntrack_max value
set network mtu mtu_max
Sets the maximum MTU value
set network nic eth0 { auto | { en | dis } } { speed | { 10 | 100 } } { duplex half | { half | full } }
Sets the properties of the Ethernet Interface 0. You cannot configure Ethernet interface 1.
set network pmtud { enable | disable }
Enables and disables Path MTU Discovery
set network restore eth0 ip-address network-mask gateway
Configures the specified Ethernet port to use a specified static IP address
set network status eth0 { up | down }
Sets the status of Ethernet 0 to up or down. You cannot configure Ethernet interface 1.
set password age { maximum | minimum } days
Modifies the value for password age, in days, for Cisco Unified Communications Operating System accounts
set password change-at-login { disable | enable } userid
Force new or existing users to change their password when they sign in to the system the next time
set password complexity character { disable | enable } num-char
Enable or disable password complexity rules for the type of characters in a password
set password complexity character difference num-char
Specifies the number of characters that the character sequence in a new password must differ from the character sequence in the old password
set password complexity character max-repeat max-repeat
Specifies the number of times you can consecutively repeat a single character in a new password
set password expiry maximum-age { enable | disable }
Enables or disables the password expiry maximum age settings for Cisco Unified Operating System Administrator accounts
set password expiry minimum-age { enable | disable }
Enables or disables the password expiry minimum age settings for Cisco Unified Operating System Administrator accounts
set password expiry user maximum-age { enable | disable } userid
Disables the maximum age password expiry for a particular Cisco Unified Operating System Administrator account
set password expiry user minimum-age { enable | disable } userid
Enables or disables the maximum age password expiry for a particular Cisco Unified Operating System Administrator account
set password history number
Modifies the number of passwords that get maintained in the history for OS admin accounts. New passwords matching remembered passwords get rejected
set password inactivity { enable | disable | period } days
Enables or disables the password inactivity setting globally
set password user admin
Allows you to change the administrator password
set password user security
Allows you to change the security password
set replwatcher monitor { enable | disable }
Enables or disables replication monitoring by the Cisco Replication Watcher service. The Cisco Replication Watcher service blocks other services from starting until database replication is setup and functioning normally.
set session maxlimit [value]
Sets the upper limit for concurrent sessions
set smtp hostname
Sets the SMTP server hostname
set strace enable [all] tracevalue servicename
Enables the service trace and sets the trace level
set strace disable [all] servicename
Disables the service trace
set timezone zone
Let’s you change the system time zone
set trace disable tname
Unsets trace activity for the specified task
set trace enable { Arbitrary | Detailed | Entry_exit | Error | Significant | Special | State_Transition } tname
Sets trace activity for the specified task
set web-security orgunit orgname locality state [country] [alternatehostname]
Sets the web security certificate information for the operating system
set webapp session timeout minutes
Sets the time, in minutes, that can elapse before a web application, such as Cisco Unified Communications Manager Administration, times out and logs off the user.
set workingdir { activelog | inactivelog | tftp } directory
Sets the working directory for active, inactive, and installation logs

Show Commands

show account
Lists current administrator accounts, except the master administrator account
show accountlocking
Displays the current account locking settings
show cert list { own | trust }
Displays certificate trust lists
show cert own filename
Displays certificate contents
show cert trust filename
Displays certificate contents
show cli pagination
Displays the status of automatic CLI automatic pagination
show cli session timeout
Displays the CLI session timeout value, which is the amount of time, in minutes, that can elapse before a CLI session times out and disconnects
show csr list { own | | trust }
Displays Certificate Sign Request contents and certificate trust lists
show csr own name
Displays Certificate Sign Request (CSR) contents and certificate trust lists
show ctl
Displays the contents of the Certificate Trust List (CTL) file on the server. It notifies you if the CTL is invalid
show cuc cluster status
Shows the status of the servers in the cluster; Applies to CUC
show cuc config groups [page]
Displays a list of the valid configuration group names
show cuc config settings group_name page
Displays the settings and values for a specified group of Connection configuration settings
show cuc dbconsistency [database_name]
Checks the tables and indexes of a specified database for inconsistencies
show cuc dbcontents [database_name]
Exports the data from a specified database to a CSV file
show cuc dbschema [database_name]
Exports the SQL statements that are necessary to replicate the schema for a specified database to a file
show cuc dbserver disk [page] [file]
Displays summary information about informix storage space for all Connection databases on the current server
show cuc dbserver session session_id [page] [file]
Displays summary information about a specified informix database user session
show cuc dbserver sessions all [page] [file]
Displays summary information about all the current Informix database user sessions
show cuc dbserver sessions list [page]
Displays a list of the current Informix database user sessions
show cuc dbserver user list [page]
Displays a list of the active Connection internal database users
show cuc dbserver user waiting [page]
Displays a list of the Connection internal users that are waiting for a resource
show cuc dbtable contents { database_name | table_name }
Exports the contents of a specified Connection table to a CSV file
show cuc dbtable list database_name [page]
Displays a list of the tables in a specified database
show cuc dbtable schema { database_name | table_name } [page]
Displays a description for a specified table and a list of the columns in the table
show cuc dbview contents { database_name | view_name }
Saves the results from a specified SQL view in a CSV file
show cuc dbview list database_name [page]
Displays a list of the views in a specified database
show cuc dbview schema { database_name | view_name } [page]
Displays the schema for a specified view
show cuc locales
Displays a list of the locales currently installed
show cuc sysagent task list [page]
Displays a list of the Sysagent tasks
show cuc sysagent task results task_name [page]
Displays the times at which the specified task started and completed, with the most recent time listed first
show cuc sysinfo
Displays a summary of hardware and software system information for the current Connection server, including the version installed on the active and inactive partitions; whether a cluster is configured; QOS settings; hardware specifications; the amount of used and free disk space on the active, inactive, and common partitions; licensing information; etc.
show cuc tech dbschemaversion [page]
Displays the schema version information for each database
show cuc tech dbserver all
Runs all the show cuc tech commands in sequence and saves the results in a text file
show cuc tech dbserver integrity
Checks the integrity of the Informix database server storage space structure
show cuc tech dbserver log diagnostic
Checks for the existence of Informix assertion-failure and shared-memory-dump logs
show cuc tech dbserver log message [lines] [ page ]
Displays the end of the Informix message log
show cuc tech dbserver status
Saves a detailed status report of the database server instance to a file
show cuc version
Displays the version in the active partition. If the active partition contains an upgrade, the command also shows the version in the inactive partition. The current Engineering Special also displays.
show diskusage activelog { activelog | common | inactivelog | install | tftp | tmp } filename filename { directory | sort }
Displays disk usage information about specific directories
show dscp all
Displays the current DSCP traffic markings on all the ports. It displays the DSCP markings in decimal and hexidecimal. If the value corresponds to a class then it displays the correct class. If the value does not correspond to a class, then it displays N/A.

show dscp defaults
Displays the default factory DSCP settings. These values take effect if the set dscp defaults command is executed.
show dscp marking value
Displays the current DSCP traffic markings for a particular DSCP value
show dscp status { enabled | disabled }
Displays the current DSCP traffic markings
show environment { fans | power-supply | temperatures }
Displays environmental information for three types of hardware components
show hardware
Displays hardware-related information about the platform
show ipsec information { policy_group | policy_name }
Displays detailed information about the specified ipsec policy
show ipsec policy_group
Displays all the ipsec policy group on the node
show ipsec policy_name policy_group
Displays the list of ipsec policy names that exist in the specified policy group
show ipsec status
Displays status information related to ipsec
show itl
Displays the ITL file contents or prints an error message if the ITL file is invalid
show logins [number]
Lists recent logins to the server
show media streams [options]
Captures information on current media stream connections
show memory { count | modules | size }
Displays information about the onboard memory
show myself
Selfie!  Displays information about the current account
show network all [detail] [page] [ search srchtext ]
Shows network information for listening and nonlistening sockets
show network cluster
Lists nodes in the network cluster
show network dhcp eth0
Shows DHCP status information
show network eth0 [detail] [ search srchtxt ]
Shows network information for ethernet 0
show network failover [detail] [page]
Shows Network Fault Tolerance information
show network ip_conntrack
Shows ip_conntrack usage information
show network ipprefs { all | enabled | public }
Shows the list of ports that have been requested to be opened or translated in the firewall
show network ipv6 { route | settings }
Shows IPv6 network routes and network settings
show network max_ip_conntrack
Shows max_ip_conntrack information
show network route [detail] [ search srchtext ]
Shows network routing information
show network status [detail] [listen] [process] [all] [nodns] [ search stext ]
Shows active internet connections
show open files all
Shows all open files on the system
show open files process processID
Shows open files that belong to a specified process
show open files regexp reg_exp
Shows open files that match the specified regular expression
show open ports all
Shows all open ports on the system
show open ports process processID
Displays open ports the belong to a specified process
show open ports regexp reg_exp
Shows open ports that match the specified regular expression
show packages { active | inactive } name [page]
Displays the name and version for installed packages
show password { age | history | inactivity }
Shows information about the configured password
show password expiry { maximum-age | minimum-age }
Shows the configured password expiration parameters
show password expiry user { maximum-age | minimum-age } userid
Shows the configured password expiration parameters for the specified user
show password expiry user
Shows the password maximum age and password minimum age for each CLI user in the system
show perf counterhelp class-name counter-name
Displays information about the specified perfmon counter
show perf list categories
Lists the categories in the perfmon system
show perf list classes [ cat category ] [ detail ]
Lists perfmon classes (objects)
show perf list counters class-name [ detail ]
Lists perfmon counters for the specified perfmon class
show perf list instances class-name [ detail ]
Lists the perfmon instances for the specified perfmon class
show perf query class class-name [ ,class-name... ]
Queries a perfmon class and displays all the instances and counter values of each instance
show perf query counter class-name counter-name [ ,counter-name... ]
Queries the specified counter or counters and displays the counter value of all instances
show perf query instance class-name instance-name [ ,instance-name... ]
Queries the specified instance and displays all its counter values
show perf query path path-spec [ ,path-spec... ]
Queries a specified perfmon path
show process list [ file filename ] [ detail ]
Displays a list of all the processes and critical information about each process and visually indicates the child-parent relationships between the processes
show process load [ cont ] [ clear ] [ noidle ] [ num number ] [ thread ] [ cpu | | memory | | time ] [ page ]
Displays the current load on the system
show process name process [ file filename ]
Displays the details of processes that share the same name and indicates their parent-child relationship
show process open-fd process-id [ ,process-id2 ]
Lists the open file descriptors for a comma-separated list of process IDs
show process pid pid [ file filename ]
Shows a specific process number or command name
show process search regexp [ file filename ]
Searches for the pattern that the regular expression regexp specifies in the output of the operating system-specific process listing
show process user username [ file filename ]
Retrieves details of processes that share the user name and displays parent-child relationship
show process using-most cpu [ number ] [ file filename ]
Displays a list of the most processor-intensive processes
show process using-most memory [ number ] [ file filename ]
Displays a list of the most memory-intensive processes
show registry system component [ name ] [ page ]
Displays the contents of the registry
show risdb list [ file filename ]
Displays the tables that are supported in the Realtime Information Service (RIS) database
show risdb query table1 table2 table3 ... [ file filename ]
Displays the contents of the specified RIS tables
show session maxlimit
Shows the upper limit for concurrent SSH sessions
show smtp
Displays the name of the SMTP host
show stats io [ kilo ] [ detail ] [ page ] [ file filename ]
Displays the IO statistics
show status
Displays basic platform status
show strace [ servicename ]
Lists the current service trace level
show tech activesql
Displays the active queries to the database taken at one minute intervals as far back as the logs allow
show tech all [ page ] [ file filename ]
Displays the combined output of all show tech commands
show tech ccm_service
Displays information about all services that can run on the system
show tech database { dump | sessions }
Shows information about the database
show tech dberrcode errorcode
Displays information (from the database log files) about the error code that is specified
show tech dbintegrity
Displays the database integrity
show tech dbschema [ car | cm ]
Displays the database schema in a CSV file
show tech dbinuse [ car | cm ]
Displays the database in use
show tech dbstateinfo [ car | cm ]
Displays the state of the database
show tech devdefaults
Displays the device defaults table
show tech dumpCSVandXML
Provides detailed information for customer support in the case of a standard upgrade condition
show tech gateway
Displays the gateway table from the database
show tech locales
Displays the locale information for devices, device pools, and end users
show tech network all [ page ] [ search text ] [ file filename ]
Displays all network tech information
show tech network hosts [ page ] [ search text ] [ file filename ]
Displays information about hosts configuration
show tech network interfaces [ page ] [ search text ] [ file filename ]
Displays information about the network interfaces
show tech network resolv [ page ] [ search text ] [ file filename ]
Displays information about hostname resolution
show tech network routes [ page ] [ search text ] [ file filename ]
Displays information about network routes
show tech network sockets { numeric }
Displays the list of open sockets
show tech notify [search pattern_to_match]
Displays the database change notify monitor
show tech params { all | | enterprise | | service }
Displays the database parameters
show tech prefs
Displays database settings
show tech procedures { car | | cm }
Displays the CAR or CM procedures that are in use for the database
show tech repltimeout
Displays the replication timeout
show tech routepatterns
Displays the route patterns that are configured for the system
show tech routeplan
Displays the route plans that are configured for the system
show tech runtime { all | cpu | disk | env | memory } page file filename
Displays CPU usage information at the time the command is run
show tech sqlhistory
Prints the history of SQL statements executed
show tech systables
Displays the name of all tables in the sysmaster database
show tech system { all | bus | hardware | host | kernel modules | software | tools } page file filename
Displays all the system information
show tech table table_name [page]
Displays the contents of the specified database table
show tech triggers
Displays table names and the triggers that are associated with those tables
show tech version [page]
Displays the version of the installed components
show timezone config
Displays the current timezone settings
show timezone list [ page ]
Displays the available timezones
show trace [ task_name ]
Displays trace information for a particular task
show ups status
Shows the current status of the USB-connected APC smart-UPS device and starts the monitoring service if this service is not already started
show version active
Displays the software version on the active partition
show version inactive
Displays the software version on the inactive partition
show web-security
Displays the contents of the current web-security certificate
show webapp session timeout
Displays the webapp session timeout value, which is the amount of time, in minutes, that can elapse before a web application times out and logs off the user
show workingdir
Retrieves the current working directory for activelog, inactivelog, install, and TFTP

Unset Commands

unset ipsec policy_group policy_group
Disables the ipsec policy on the specified group.
unset ipsec policy_name policy_name
Disables the ipsec policy with the specified name
unset network dns options [ timeout ] [ attempts ] [ rotate ]
Unsets DNS options
unset network domain
Unsets the domain name and restarts the server
unset network ipv6 static_address [ reboot ]
Unsets the ipv6 static address

Utils Commands

utils auditd { enable | disable | status }
Starts, stops, and provides the status of the system auditing service
utils core { active | inactive } analyze [core_filename]
Generates a backtrace for a core file, a thread list, and the current value of all CPU registers
utils core { active | inactive } list
Creates reports about the server in the platform/log directory
utils cuc activate CUSRSV
Converts the standalone Cisco Unity Connection server to Cisco Unity Connection SRSV server
utils cuc cluster activate
Activates this server in a Cisco Unity Connection cluster
utils cuc cluster deactivate
Deactivates this server in a Cisco Unity Connection cluster
utils cuc cluster makeprimary
Forces the specified server to take the primary server status in a Cisco Unity Connection cluster
utils cuc cluster overwritedb
Overwrites the database on the server on which you run this command with the database from the other server in the Connection cluster. Replication restarts after the database is overwritten. This method is used when you restore one server from a backup and must copy the restored data to the other server.
utils cuc cluster renegotiate
Creates a cluster relationship with the publisher server in a Connection cluster after the server was replaced or the Connection was reinstalled on the publisher server. This command overwrites all data on the publisher server with data from the subscriber server and initializes replication between the servers.
utils cuc create report
Collects data that is helpful to technical support staff for troubleshooting the system. Data collected includes version information, cluster status, service information, database information, trace files, log files, disk information, memory information, and restart information.
utils cuc networking clear_replication
Stops the Connection Digital Networking Replication Agent and Connection SMTP service, deletes the drop, queue, and pickup replication folders, clears the status of in-progress directory pushes to or pulls from this server, and restarts the Connection Digital Networking Replication Agent and Connection SMTP service. Depending on the size of the replication folders, this operation may take several minutes.
utils cuc networking dscp { on | off }
Causes Connection either to start or to stop including a DSCP value of 18 in packets sent between the Connection servers in a cluster, so a router configured to prioritize packets based on their DSCP value can prioritize Connection data and voice messages.
utils cuc reset password
Resets the password for a specified user account. If Connection locked the account because of too many failed sign-in attempts, this command also unlocks the account.
utils dbreplication clusterreset
Resets replication on an entire cluster
utils dbreplication dropadmindb
Drops the Informix syscdr database on any server in the cluster
utils dbreplication forcedatasyncsub nodename [offloadpub] [timeoutvalue]
Forces a subscriber server to have its data restored from data on the publisher server
utils dbreplication quickaudit { nodename | all }
Runs a quick database check on selected content on dynamic tables
utils dbreplication repair { nodename | all }
Repairs database replication
utils dbreplication repairreplicate replicatename [ nodename | all ]
Repairs mismatched data between cluster nodes and changes the node data to match the publisher data
utils dbreplication repairtable tablename [ nodename | all ]
Repairs mismatched data between cluster nodes and changes the node to match the publisher data
utils dbreplication reset { nodename | all }
Resets and restarts database replication. You can use this command to rebuild replication when the system has not set up replication properly
utils dbreplication runtimestate nodename
Monitors progress of the database replication process and provides replication state in the cluster
utils dbreplication setprocess [process]
Improves replication performance of clusters that have nodes separated by WANs with delay (Clustering over WAN configuration)
utils dbreplication setrepltimeout timeout
Sets the timeout for database replication on large clusters
utils dbreplication status { all | node | replicate }
Shows the status of database replication and indicates whether the servers in the cluster are connected and the data is in sync
utils dbreplication stop { nodename | all }
Stops the automatic setup of database replication. Run this command on subscriber and publisher servers before executing the CLI command utils dbreplication reset or utils dbreblication clusterreset. You can run this command on the subscriber servers simultaneously, before you run it on the publisher server.
utils diagnose { fix | list | module | test | version } [module_name]
Enables you to diagnose and attempt to automatically fix system problems
utils disaster_recovery backup network [featurelist] [path] [servername] [username]
Displays information about the backup files that are stored on a remote server
utils disaster_recovery backup tape [featurelist] [devicename]
Displays information about the backup files that are stored on tape
utils disaster_recovery cancel_backup [confirm]
Cancels the ongoing backup
utils disaster_recovery device add network devicename path server_namei/ip_address username [Number_of_backups]
Adds the backup network device
utils disaster_recovery device add tape devicenametapeid
Displays information about the backup files that are stored on a tape.
utils disaster_recovery device delete device_name | *
Deletes the specified device
utils disaster_recovery device list
Displays the device name, device type, and device path for all the backup devices.
utils disaster_recovery history [operation]
Displays the history of previous backups and restores
utils disaster_recovery restore network restore_server tarfilename devicename
Backs up files to a remote server
utils disaster_recovery restore tape server tarfilename tapeid
Displays information about the backup files that are stored on a tape
utils disaster_recovery schedule add schedulename devicename featurelist datetime frequency
Adds the configured schedules to backup schedule
utils disaster_recovery schedule { enable | disable } [schedulename]
Enables or disables the specified backup schedule
utils disaster_recovery schedule list
Displays the schedules that are configured
utils disaster_recovery show_registration hostname
Displays the registered features and components on the specified server
utils disaster_recovery show_tapeid
Displays a list of tape device IDs
utils disaster_recovery status operation
Displays the status of the current backup or restore job
utils fior { enable | disable | start | stop | status }
Allows you to monitor the I/O on the server. The File I/O Reporting service provides a kernel-base daemon for collecting file I/O per process.
utils fior list start= [date-time] stop=date-time
Displays a list of the file I/O events, in chronological order, from oldest to newest
utils fior top { read | write | read-rate | write-rate }
Displays a list of top processes that create file I/O. You can sort this list by the total number of bytes read, the total number of bytes written, the rate of bytes read, or the rate of bytes written.

utils fips { enable | disable | status }
Enables, disables, or displays the status of FIPS 140-2 mode. FIPS 140-2 mode is disabled by default; only an administrator can enable FIPS.
utils firewall ipv4 debug { off | | [time] }
Turns IPv4 firewall debugging on or off. If you do not enter a time parameter, this command turns on debugging for 5 minutes.
utils firewall ipv4 { enable | disable | [time] }
Enables and disables IPv4 firewall
utils firewall ipv4 list
Displays the current configuration of the IPv4 firewall
utils firewall ipv4 status
Displays the current status of the IPv4 firewall
utils ipv6 firewall debug { off | | [time] }
Turns IPv6 firewall debugging on or off. If you do not enter a time parameter, this command turns on debugging for 5 minutes.
utils firewall ipv6 { enable | disable | [time] }
Enables and disables IPv6 firewall
utils firewall ipv6 list
Displays the current configuration of the IPv6 firewall
utils firewall ipv6 status
Displays the current status of the IPv6 firewall
utils ha failover { node name }
Initiates a manual failover for a specified node, where the Cisco Server Recovery Manager stops the critical services on the failed node and moves all users to the backup node.
utils ha fallback node name
Initiates a manual fallback for a specified node, where the Cisco Server Recovery Manager restarts the critical services on the active node and moves users back to the active node.
utils ha recover subcluster name
Initiates a manual recovery of the subcluster (when nodes are in a Failed state) where IM and Presence restarts the Cisco Server Recovery Manager service on that subcluster.
utils ha status subcluster name
Displays the HA status for a specified subcluster
utils ils findroutestring Directory URI
Returns all route strings that are associated with this directory URI, including the route string for the local cluster
utils ils findxnode
Returns the current xnode for the local cluster
utils ilslookup Directory URI
Returns the route string that is used for call routing when this directory URI is dialed from this cluster
utils ils showpeerinfo clustername
Returns the peer info vector for either a single cluster in an ILS network, or for all the clusters in an ILS network.
utils import config
Takes data from the platformConfig.xml file on the virtual floppy drive and modifies the system to match the configuration file. The system reboots after the command successfully completes.
utils iostat { interval | iterations | filename }
Displays the iostat output for the given number of iterations and intervals
utils iothrottle { enable | disable | status }
Allows you to manage and monitor IO throttling on the server
utils ldap config { fqdn | ipaddr }
Configures the system LDAP authentication
utils network arp delete host
Deletes an entry in the Address Resolution Protocol table
utils network arp set { host } { addr }
Sets an entry in the Address Resolution Protocol table
utils network arp list host hostname [options]
Lists the contents of the Address Resolution Protocol table
utils network capture eth0 [page] [numeric] [ file | fname ] [ count | num ] [ size | bytes ] [ src | addr ] [ dest | addr ] [ port | num ]
Captures IP packets on the specified Ethernet interface
utils network connectivity [ reset ] [hostname/ip address]
Verifies the node network connection to the first node in the cluster. Be aware that this connection is only valid on a subsequent node.
utils network host name [ server | serv ] [page] [detail] [srv]
Resolves a host name to an address or an address to a host name
utils network ipv6 host { host_name | ipv6_address }
Performs an IPv6 host lookup (or IPv6 address lookup) for the specified host name or IPv6 address
utils network ipv6 traceroute [ ipv6-address | hostname ]
Traces an IPv6 address or hostname
utils network ipv6 ping destination [count]
Allows you to ping an IPv6 address or hostname
utils network ping destination [count] [size]
Allows you to ping another server
utils network traceroute [destination]
Traces IP packets that are sent to a remote destination
utils nscd { restart | status }
Allows you to manage the network service cache daemon (NSCD).
utils ntp server add s1 [ s1 | s2 | s3 | s4 | s5 ] [norestart]
Adds a maximum of five specified NTP servers
utils ntp server delete
Allows you to delete a configured NTP server or all of them. When you choose the server to delete, you are prompted to indicate if you want to restart the NTP service. If you choose no, the NTP service does not get restarted after the server is deleted.
utils ntp config
Displays the current configuration of the NTP client and server
utils ntp restart
Restarts the NTP service
utils ntp server list
Lists all NTP servers
utils ntp start
If not already running, starts the NTP service.
utils ntp status
Displays the current status of NTP.
utils os kerneldump { enable | disable }
Configures kerneldump to provide a kernel crash dumping mechanism. The kernel captures the dump to the local disk, in case of a kernel crash.  The MCS-7835-H2 and MCS-7845-H2 models do not support this command.
utils os kerneldump ssh { enable | disable | status }
Enables, disables, or displays the status of an external SSH server
utils os secure { enforce | permissive | status }
Used to specify the level of security provided by selinux
utils remote_account create
Creates a remote accounts
utils remote_account disable
Disables a remote account
utils remote_account enable
Enables a remote account
utils remote_account status
Displays the status of a remote account
utils reset_application_ui_administrator_name
Resets the application user interface administrator name
utils reset_application_ui_administrator_password
Resets the application user interface password
utils reset_ui_administrator_name
Resets the administrator password you use to sign in to the administration user interface for the installed product
utils service { activate | deactivate | start | stop | restart } service_name
Activates, deactivates, starts, stops, or restarts a service
utils service list [page]
Displays a list of all services
utils service auto-restart { enable | disable | show } service-name
Starts or stops a specified service
utils snmp config 1/2c community-string { add | | delete | | list | | update }
Adds, deletes, lists or updates a community string interactively
utils snmp config 1/2c inform { add | | delete | | list | | update }
Adds, deletes, lists or updates inform notification destinations interactively
utils snmp config 1/2c trap { add | delete | list | update }
Adds, deletes, lists or updates trap destinations interactively
utils snmp config 3 inform { add | | delete | | list | | update }
Adds, deletes, lists or updates the v3 inform notification
utils snmp config mib2 { add | | delete | | list | | update }
Adds, deletes, lists or updates Mib2 information
utils snmp config 3 trap { add | | delete | | list | | update }
Adds, deletes, lists or updates v3 trap destinations
utils snmp config 3 user { add | | delete | | list | | update }
Adds, deletes, lists or updates v3 user configurations
utils snmp get version
Gets the SNMP data using the specified version for the specified MIB OID
utils snmp hardware-agents { status | | start | | stop | | restart }
Manipulates snmp hardware-agent services
utils snmp test
Sends sample alarms to local syslog and remote syslog
utils snmp walk version
Walks through the SNMP MIB using the specified version, starting with the specified OID
utils soap realtimeservice test [remote-ip] remote-httpsremote https-password
Executes a number of test cases on the remote server
utils sso { enable | disable | status }
Start, stop and get status of SSO based authentication
utils system restart
Allows you to restart the system on the same partition
utils system shutdown
Allows you to shutdown the stystem
utils system switch-version
Allows you to restart the system on the inactive partition
utils system boot { console | serial }
Redirects where the system boot output gets sent
utils system upgrade { initiate | cancel | status }
Allows you to install upgrades and Cisco Option (COP) files from both local and remote directories
utils vmtools status
Displays the status of VMware Tools.
utils vmtools upgrade
Updates the currently installed VMware Tools to the latest version prescribed by the ESXi host for that VM

2 comments:

  1. Very useful site for voice. Thanks for sharing!

    ReplyDelete
  2. I find utils network capture to be a hugely valuable troubleshooting tool, especially when interacting with third party H.323 devices.

    ReplyDelete