Table Of Contents
Command Line Interface
Overview
Starting a CLI Session
CLI Basics
Completing Commands
Getting Help on Commands
Ending a CLI Session
Cisco IPT Platform CLI Commands
delete account
delete dns
delete ipsec
delete process
delete smtp
file check
file delete
file dump
file get
file list
file search
file tail
file view
run sql
set account
set commandcount
set ipsec
set logging
set network dhcp
set network dns
set network dns options
set network domain
set network failover
set network gateway
set network ip
set network mtu
set network max_ip_conntrack
set network nic
set network pmtud
set network status
set password
set smtp
set timezone
set trace
set web-security
set workingdir
show account
show cert
show environment
show firewall list
show hardware
show ipsec
show logins
show memory
show myself
show network
show open
show packages
show perf counterhelp
show perf list categories
show perf list classes
show perf list counter
show perf list instances
show perf query class
show perf query counter
show perf query instance
show perf query path
show process
show registry
show risdb
show smtp
show stats io
show status
show tech all
show tech ccm_service
show tech database
show tech dbintegrity
show tech dbinuse
show tech dbschema
show tech dbstateinfo
show tech devdefaults
show tech gateway
show tech locales
show tech network
show tech notify
show tech params all
show tech params enterprise
show tech params service
show tech prefs
show tech procedures
show tech routepatterns
show tech routeplan
show tech runtime
show tech systables
show tech system
show tech table
show tech triggers
show tech version
show timezone
show trace
show ups status
show version
show web-security
show workingdir
unset ipsec
unset network
utils core list
utils core analyze
utils csa disable
utils csa enable
utils csa status
utils dbreplication status
utils dbreplication stop
utils dbreplication repair
utils dbreplication reset
utils disaster_recovery backup tape
utils disaster_recovery backup network
utils disaster_recovery cancel_backup
utils disaster_recovery restore tape
utils disaster_recovery restore network
utils disaster_recovery show_backupfiles network
utils disaster_recovery show_backupfiles tape
utils disaster_recovery show_registration
utils disaster_recovery show_tapeid
utils disaster_recovery status
utils fior
utils iothrottle enable
utils iothrottle disable
utils iothrottle status
utils netdump client
utils netdump server
utils network arp
utils network capture eth0
utils network host
utils network ping
utils network tracert
utils ntp
utils remote_account
utils reset_ui_administrator_name
utils reset_ui_administrator_password
utils service list
utils service
utils sftp handshake
utils snmp test
utils soap realtimeservice test
utils system
utils system upgrade
Command Line Interface
Overview
This appendix describes the CLI commands that are available on the Cisco Unified Communications Operating System server.
Starting a CLI Session
You can access the Cisco Unified Communications Operating System CLI remotely or locally:
•
From a web client workstation, such as the workstation that you use for Cisco Unified Communications Operating System Administration, you can use SSH to connect securely to the Cisco Unified Communications Operating System.
•
You can access the Cisco Unified Communications Operating System CLI directly by using the monitor and keyboard that you used during installation or by using a terminal server that is connected to the serial port. Use this method if a problem exists with the IP address.
Before You Begin
Ensure you have the following information that gets defined during installation:
•
A primary IP address and hostname
•
An administrator ID
•
A password
You will need this information to log in to the Cisco IPT Platform.
Perform the following steps to start a CLI session:
Step 1
Do one of the following actions depending on your method of access:
•
From a remote system, use SSH to connect securely to the Cisco IPT Platform. In your SSH client, enter
ssh adminname@hostname
where adminname specifies the Administrator ID and hostname specifies the hostname that was defined during installation.
For example, ssh admin@ipt-1.
•
From a direct connection, you receive this prompt automatically:
where ipt-1 represents the host name of the system.
Enter your administrator ID.
In either case, the system prompts you for a password.
Step 2
Enter your password.
The CLI prompt displays. The prompt represents the Administrator ID; for example:
CLI Basics
The following section contains basic tips for using the command line interface.
Completing Commands
To complete commands, use Tab:
•
Enter the start of a command and press Tab to complete the command. For example, if you enter se and press Tab, set gets completed.
•
Enter a full command name and press Tab to display all the commands or subcommands that are available. For example, if you enter set and press Tab, you see all the set subcommands. An * identifies the commands that have subcommands.
•
If you reach a command, keep pressing Tab, and the current command line repeats; this indicates that no additional expansion is available.
Getting Help on Commands
You can get two kinds of help on any command:
•
Detailed help that includes a definition of the command and an example of its use
•
Short query help that includes only command syntax
Procedure
To get detailed help, at the CLI prompt, enter
help command
Where command specifies the command name or the command and parameter. See Example A-1.
To query only command syntax, at the CLI prompt, enter
command?
Where command represents the command name or the command and parameter. See Example A-2.
Note
If you enter a ? after a menu command, such as set, it acts like the Tab key and lists the commands that are available.
Example A-1 Detailed Help Example:
admin:help file list activelog
This will list active logging files
detail - show detailed listing
reverse - reverse sort order
file-spec can contain '*' as wildcards
admin:file list activelog platform detail
02 Dec,2004 12:00:59 <dir> drf
02 Dec,2004 12:00:59 <dir> log
16 Nov,2004 21:45:43 8,557 enGui.log
27 Oct,2004 11:54:33 47,916 startup.log
dir count = 2, file count = 2
Example A-2 Query Example:
admin:file list activelog?
file list activelog file-spec [options]
file-spec mandatory file to view
options optional page|detail|reverse|[date|size]
Ending a CLI Session
At the CLI prompt, enter quit. If you are logged in remotely, you get logged off, and the ssh session gets dropped. If you are logged in locally, you get logged off, and the login prompt returns.
Cisco IPT Platform CLI Commands
The following sections list and describe the CLI commands that are available for the Cisco Unified Communications Operating System.
delete account
This command allows you to delete an administrator account.
Command Syntax
delete account account-name
Parameters
•
account-name represents the name of an administrator account.
Requirements
Command privilege level: 4
Allowed during upgrade: No
delete dns
This command allows you to delete the IP address for a DNS server.
Command Syntax
delete dns ip-address
Parameters
•
ip-address represents the IP address of the DNS server you want to delete.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, this command causes a temporary loss of network connectivity.
Requirements
Command privilege level: 1
Allowed during upgrade: No
delete ipsec
This command allows you to delete IPSec policies and associations.
Command Syntax
delete ipsec
policy {ALL | policy-name}
association policy name {ALL | association-name}
Parameters
•
policy-name represents an IPSec policy.
•
association-name represents an IPSec association.
Requirements
Command privilege level: 1
Allowed during upgrade: No
delete process
This command allows you to delete a particular process.
Command Syntax
delete process process-id [force | terminate | crash]
Parameters
•
process-id represents the process ID number.
Options
•
force—Tells the process to stop
•
terminate—Tells the operating system to terminate the process
•
crash—Crashes the process and produces a crash dump
Usage Guidelines
Note
Use the force option only if the command alone does not delete the process and use the terminate option only if force does not delete the process.
Requirements
Command privilege level: 1
Allowed during upgrade: Yes
delete smtp
This command allows you to delete the SMTP host.
Command Syntax
delete smtp
Requirements
Command privilege level: 1
Allowed during upgrade: No
file check
This command checks the /usr directory tree to see whether any files or directories have been added, removed, or changed in size since the last fresh installation or upgrade and displays the results.
Command Syntax
file check [detection-size-kb]
Options
detection-size-kb specifies the minimum file size change that is required for the command to display the file as changed.
Usage Guidelines
The command notifies you about a possible impact to system performance and asks you whether you want to continue.
Caution 
Because running this command can affect system performance, Cisco recommends that you run the command during off-peak hours.
The display includes both deleted and new files.
Defaults
The default value of detection-size-kb is 100 KB.
Requirements
Command privilege level: 0
Allowed during upgrade: No
file delete
This command deletes one or more files.
Command Syntax
file delete
activelog directory/filename [detail] [noconfirm]
inactivelog directory/filename [detail] [noconfirm]
install directory/filename [detail] [noconfirm]
tftp directory/filename [detail]
Parameters
•
activelog specifies a log on the active side.
•
inactivelog specifies a log on the inactive side.
•
install specifies an installation log.
•
tftp specifies a TFTP file.
•
directory/filename specifies the path and filename of the file(s) to delete. You can use the wildcard character, *, for filename.
Options
•
detail—Displays a listing of deleted files with the date and time.
•
noconfirm—Deletes files without asking you to confirm each deletion.
Usage Guidelines
Caution 
You cannot recover a deleted file except, possibly, by using the Disaster Recovery System.
If you delete a TFTP data file on the inactive side, you may need to manually restore that file if you switch versions to the inactive side.
Requirements
Command privilege level: 1
Allowed during upgrade: Yes
Example
The following example deletes the install log.
file delete install install.log
file dump
This command dumps the contents of a file to the screen, a page at a time.
Command Syntax
file dump
activelog directory/filename [detail] [hex]
inactivelog directory/filename [detail] [hex]
install directory/filename [detail] [hex]
tftp directory/filename [detail] [hex]
Parameters
•
activelog specifies a log on the active side.
•
inactivelog specifies a log on the inactive side.
•
install specifies an installation log.
•
tftp specifies a TFTP file.
•
directory/filename specifies the path and filename of the file to dump. You can use the wildcard character, *, for filename as long as it resolves to one file.
Options
•
detail—Displays listing with the date and time
•
hex—Displays output in hexadecimal
Requirements
Command privilege level: 1 for logs, 0 for TFTP files
Allowed during upgrade: Yes
Example
This command dumps contents of file _cdrIndex.idx.
file dump activelog cm/cdr/_cdrIndex.idx
file get
This command sends the file to another system by using SFTP.
Command Syntax
file get
activelog directory/filename [reltime] [abstime] [match] [recurs]
inactivelog directory/filename [reltime] [abstime] [match] [recurs]
install directory/filename [reltime] [abstime] [match] [recurs]
tftp directory/filename [reltime] [abstime] [match] [recurs]
Parameters
•
activelog specifies a log on the active side.
•
inactivelog specifies a log on the inactive side.
•
install specifies an installation log.
•
tftp specifies a TFTP file.
•
directory/filename specifies the path to the file(s) to delete. You can use the wildcard character, *, for filename as long as it resolves to one file.
Options
•
abstime—Absolute time period, specified as hh:mm:MM/DD/YY hh:mm:MM/DD/YY
•
reltime—Relative time period, specified as minutes | hours | days | weeks | months value
•
match—Match a particular string in the filename, specified as string value
•
recurs—Get all files, including subdirectories
Usage Guidelines
After the command identifies the specified files, you get prompted to enter an SFTP host, username, and password.
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
Examples
This command gets all files in the activelog operating system directory that match the string "plat".
file get activelog platform match plat
This command gets all operating system log files for a particular time period.
file get activelog platform/log abstime 18:00:9/27/2005 18:00:9/28/2005
file list
This command lists the log files in an available log directory.
Command Syntax
file list
activelog directory [page] [detail] [reverse] [date | size]
inactivelog directory [page] [detail] [reverse] [date | size]
install directory [page] [detail] [reverse] [date | size]
tftp directory [page] [detail] [reverse] [date | size]
Parameters
•
activelog specifies a log on the active side.
•
inactivelog specifies a log on the inactive side.
•
install specifies an installation log.
•
tftp specifies a TFTP file.
•
directory specifies the path to the directory to list. You can use a wildcard character, *, for directory as long as it resolves to one directory.
Options
•
detail—Long listing with date and time
•
date—Sort by date
•
size—Sort by file size
•
reverse—Reverse sort direction
•
page—Displays the output one screen at a time
Requirements
Command privilege level: 1 for logs, 0 for TFTP files
Allowed during upgrade: Yes
Examples
This example lists operating system log files with details.
file list activelog platform/log page detail
This example lists directories in CDR repository.
file list activelog cm/cdr_repository
This example lists CDR files in a specified directory by size.
file list activelog cm/cdr_repository/processed/20050812 size
file search
This command searches the content of a log and displays the matching lines a page at a time.
Command Syntax
file search
activelog directory/filename reg-exp [abstime hh:mm:ss mm/dd/yyyy hh:mm:ss mm/dd/yyyy] [ignorecase] [reltime {days | hours | minutes} timevalue]
inactivelog directory/filename reg-exp [abstime hh:mm:ss mm/dd/yyyy hh:mm:ss mm/dd/yyyy] [ignorecase] [reltime {days | hours | minutes} timevalue]
install directory/filename reg-exp [abstime hh:mm:ss mm/dd/yyyy hh:mm:ss mm/dd/yyyy] [ignorecase] [reltime {days | hours | minutes} timevalue]
tftp directory/filename reg-exp [abstime hh:mm:ss mm/dd/yyyy hh:mm:ss mm/dd/yyyy] [ignorecase] [reltime {days | hours | minutes} timevalue]
Parameters
•
activelog specifies a log on the active side.
•
inactivelog specifies a log on the inactive side.
•
install specifies an installation log.
•
tftp specifies a TFTP file.
•
reg-exp represents a regular expression.
•
directory/filename represents the path to the file(s) to search. You can use the wildcard character, *, to represent all or part of the filename.
Options
•
abstime—Specifies which files to search based on file creation time. Enter a start time and an end time.
•
days|hours|minutes—Specifies whether the file age is in days, hours, or minutes.
•
ignorecase—Ignores case when searching
•
reltime—Specifies which files to search based on file creation time. Enter the age of files to search.
•
hh:mm:ss mm/dd/yyyy—An absolute time, in the format hours:minutes:seconds month/day/year.
•
timevalue—The age of files to search. The unit of this value is specified with the {days | hours | minutes} option.
Usage Guidelines
Write the search term in the form of a regular expression, which is a special text string for describing a search pattern.
If the search term is found in only one file, the filename appears at the top of the output. If the search term is found in multiple files, each line of the output begins with the filename in which the matching line was found.
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
Example
file search activelog platform/log/platform.log Err[a-z] ignorecase
file tail
This command tails (prints the last few lines) of a log file.
Command Syntax
file tail
activelog directory/filename [detail] [hex] [lines]
inactivelog directory/filename [detail] [hex] [lines]
install directory/filename [detail] [hex] [lines]
tftp directory/filename [detail] [hex] [lines]
Parameters
•
activelog specifies a log on the active side.
•
inactivelog specifies a log on the inactive side.
•
install specifies an installation log.
•
tftp specifies a TFTP file.
•
directory/filename specifies the path to the file to tail. You can use the wildcard character, *, for filename as long as it resolves to one file.
Options
•
detail—Long listing with date and time
•
hex—Hexadecimal listing
•
lines—Number of lines to display
Requirements
Command privilege level: 1 for logs, 0 for TFTP files
Allowed during upgrade: Yes
Example
This example tails the operating system CLI log file.
file tail activelog platform/log/cli00001.log
file view
This command displays the contents of a file.
Command Syntax
file view
activelog directory/filename
inactivelog directory/filename
install directory/filename
tftp directory/filename
Parameters
•
activelog specifies a log on the active side.
•
inactivelog specifies a log on the inactive side.
•
install specifies an installation log.
•
tftp specifies a TFTP file.
•
directory/filename specifies the path to the file to view. You can use the wildcard character, *, for filename as long as it resolves to one file.
Usage Guidelines
Caution 
Do not use this command to view binary files because this can corrupt the terminal session.
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
Examples
This example displays the install log.
file view install install.log
This example displays a particular CDR file.
file view activelog /cm/cdr_repository/processed/20058012/{filename}
run sql
This command allows you to run an SQL command.
Command Syntax
run sql sql_statement
Parameters
•
sql_statement represents the SQL command to run.
Requirements
Command privilege level: 1
Allowed during upgrade: No
Example
This example runs an SQL command.
run sql select name from device
set account
This command sets up a new account on the operating system.
Command Syntax
set account name
Parameters
•
name represents the username for the new account.
Usage Guidelines
After you enter the username, the system prompts you to enter the privilege level and password for the new account.
Requirements
Command privilege level: 0
Allowed during upgrade: No
set commandcount
This command changes the CLI command prompt, so it displays how many CLI commands have executed.
Command Syntax
set commandcount {enable | disable}
Parameters
•
unit-name represents the name of the certificate that you want to regenerate.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set ipsec
This command allows you to set IPSec policies and associations.
Command Syntax
set ipsec
policy {ALL | policy-name}
association policy-name {ALL | association-name}
Parameters
•
policy-name represents an IPSec policy.
•
association-name represents an IPSec association.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set logging
This command allows you to enable or disable logging.
Command Syntax
set logging {enable | disable}
Requirements
Command privilege level: 0
Allowed during upgrade: No
set network dhcp
This command enables or disables DHCP for Ethernet interface 0. You cannot configure Ethernet interface 1.
Command Syntax
set network dhcp eth0 {enable | disable}
Parameters
•
eth0 specifies Ethernet interface 0.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, this command causes the system to restart. Cisco also recommends that you restart all nodes whenever any IP address gets changed.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set network dns
This command sets the IP address for the primary or secondary DNS server.
Command Syntax
set network dns {primary | secondary} ip-address
Parameters
•
ip-address represents the IP address of the primary or secondary DNS server.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, this command causes a temporary loss of network connectivity.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set network dns options
This command sets DNS options.
Command Syntax
set network dns options [timeout seconds] [attempts number] [rotate]
Parameters
•
timeout sets the DNS request timeout.
•
attempts sets the number of times to attempt a DNS request before quitting.
•
rotate causes the system to rotate among the configured DNS servers, distributing the load.
•
seconds specifies the DNS timeout period, in seconds.
•
number specifies the number of attempts.
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
set network domain
This command sets the domain name for the system.
Command Syntax
set network domain domain-name
Parameters
•
domain-name represents the system domain that you want to assign.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, this command causes a temporary loss of network connectivity.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set network failover
This command enables and disables Network Fault Tolerance on the Media Convergence Server network interface card.
Command Syntax
failover {enable | disable}
Parameters
•
enable enables Network Fault Tolerance.
•
disable disables Network Fault Tolerance.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set network gateway
This command enables you to configure the IP address of the network gateway.
Command Syntax
set network gateway ip-address
Parameters
•
ip-address represents the IP address of the network gateway that you want to assign.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, this command causes the system to restart.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set network ip
This command sets the IP address for Ethernet interface 0. You cannot configure Ethernet interface 1.
Command Syntax
set network ip eth0 ip-address ip-mask
Parameters
•
eth0 specifies Ethernet interface 0.
•
ip-address represents the IP address that you want assign.
•
ip-mask represents the IP mask that you want to assign.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, this command causes the system to restart.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set network mtu
This command sets the maximum MTU value.
Command Syntax
set network mtu mtu_max
Parameters
•
mtu_max specifies the maximum MTU value.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, the system will temporarily lose network connectivity.
set network max_ip_conntrack
This command sets the ip_conntrack_max value.
Command Syntax
set network max_ip_conntrack ip_conntrack_max
Parameters
•
ip_conntrack_max specifies the value for ip_conntrack_max.
set network nic
This command sets the properties of the Ethernet Interface 0. You cannot configure Ethernet interface 1.
Command Syntax
set network nic eth0 [auto en | dis] [speed 10 | 100] [duplex half | full]
Parameters
•
eth0 specifies Ethernet interface 0.
•
auto specifies whether auto negotiation gets enabled or disabled.
•
speed specifies whether the speed of the Ethernet connection: 10 or 100 Mbps.
•
duplex specifies half-duplex or full-duplex.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Note
You can enable only one active NIC at a time.
Caution 
If you continue, this command causes a temporary loss of network connections while the NIC gets reset.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set network pmtud
This command enables and disables Path MTU Discovery.
Command Syntax
set network pmtud [enable | disable]
Parameters
•
enable enables Path MTU Discovery.
•
disable disables Path MTU Discovery.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, the system will temporarily lose network connectivity.
set network status
This command sets the status of Ethernet 0 to up or down. You cannot configure Ethernet interface 1.
Command Syntax
set network status eth0 {up | down}
Parameters
•
eth0 specifies Ethernet interface 0.
Usage Guidelines
The system asks whether you want to continue to execute this command.
Caution 
If you continue, the system will temporarily lose network connectivity.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set password
This command allows you to change the administrator and security passwords.
Command Syntax
set password {admin | security}
Parameters
•
eth0 specifies Ethernet interface 0.
Usage Guidelines
The systems prompts you for the old and new passwords.
Caution 
The password must contain at least six characters, and the system checks it for strength.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set smtp
This command sets the SMTP server hostname.
Command Syntax
set smtp hostname
Parameters
•
hostname represents the SMTP server name.
Requirements
Command privilege level: 0
Allowed during upgrade: No
set timezone
This command lets you change the system time zone.
Command Syntax
set timezone timezone
Parameters
•
timezone specifies the new timezone.
Usage Guidelines
Enter enough characters to uniquely identify the new time zone. Be aware that the time-zone name is case-sensitive.
Caution 
You must restart the system after you change the time zone.
Requirements
Command privilege level: 0
Allowed during upgrade: No
Example
This example sets the time zone to Pacific time.
set trace
This command sets trace activity for the specified task.
Command Syntax
set trace
enable Error tname
enable Special tname
enable State_Transition tname
enable Significant tname
enable Entry_exit tname
enable Arbitrary tname
enable Detailed tname
disable tname
Parameters
•
tname represents the task for which you want to enable or disable traces.
•
enable Error sets task trace settings to the error level.
•
enable Special sets task trace settings to the special level.
•
enable State_Transition sets task trace settings to the state transition level.
•
enable Significant sets task trace settings to the significant level.
•
enable Entry_exit sets task trace settings to the entry_exit level.
•
enable Arbitrary sets task trace settings to the arbitrary level.
•
enable Detailed sets task trace settings to the detailed level.
•
disable unsets the task trace settings.
Requirements
Command privilege level: 1
Allowed during upgrade: No
set web-security
This command sets the web security certificate information for the operating system.
Command Syntax
set web-security orgunit orgname locality state country
Parameters
•
orgunit represents the organizational unit.
•
orgname represents the organizational name.
•
locality represents the organization location.
•
state represents the organization state.
•
country represents the organization country.
Requirements
Command privilege level: 0
Allowed during upgrade: No
set workingdir
This command sets the working directory for active, inactive, and installation logs.
Command Syntax
set workingdir
activelog directory
inactivelog directory
install directory
tftp directory
Parameters
•
activelog sets the working directory for active logs.
•
inactivelog set the working directory for inactive logs.
•
install sets the working directory for installation logs.
•
tftp sets the working directory for TFTP files.
•
directory represents the current working directory.
Requirements
Command privilege level: 0 for logs, 1 for TFTP
Allowed during upgrade: Yes
show account
This command lists current administrator accounts, except the master administrator account.
Command Syntax
show account
Requirements
Command privilege level: 4
Allowed during upgrade: Yes
show cert
This command displays certificate contents and certificate trust lists.
Command Syntax
show cert
own filename
trust filename
list {own | trust}
Parameters
•
filename represents the name of the certificate file.
•
own specifies owned certificates.
•
trust specifies trusted certificates.
•
list specifies a certificate trust list.
Requirements
Command privilege level: 1
Allowed during upgrade: Yes
Example
This command displays own certificate trust lists.
show environment
This command displays information about the server hardware.
Command Syntax
show environment
fans
power-supply
temperatures
Options
•
fans—Displays information gathered by fan probes
•
power-supply—Displays information gathered by power supply probes
•
temperatures—Displays information gathered by temperature probes
show firewall list
This command displays system aspects of the server.
Command Syntax
show firewall list [detail] [page] [file filename]
Options
•
detail—Displays detailed statistics on every available device on the system
•
page—Displays the output one page at a time
•
file filename—Outputs the information to a file
Note
The file option saves the information to platform/cli/filename.txt. Ensure the file name does not contain the "." character.
Requirements
Command privilege level: 1
Allowed during upgrade: Yes
show hardware
This command displays the following information on the platform hardware.
Command Syntax
show hardware
Usage Guidelines
This command displays the following information on the platform hardware:
•
Platform
•
Serial number
•
BIOS build level
•
BIOS manufacturer
•
Active processors
•
RAID controller status
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
show ipsec
This command displays information on IPSec policies and associations.
Command Syntax
show ipsec
policy
association policy
information policy association
status
Parameters
•
policy displays all IPSec policies on the node.
•
association displays the association list and status for the policy.
•
information displays the association details and status for the policy.
•
status displays the status of all IPsec tunnels that are defined in the system.
•
policy represents the name of a specific IPSec policy.
•
association represents the association name.
Requirements
Command privilege level: 1
Allowed during upgrade: yes
Example
This example displays IPSec policies.
show logins
This command lists recent logins to the server.
Command Syntax
show logins number
Parameters
number specifies the number of most recent logins to display. The default is 20.
show memory
This command displays information about the server memory.
Command Syntax
show memory
count
module [ALL | module_number]
size
Options
•
count—Displays the number of memory modules on the system
•
module—Displays detailed information about each memory module
•
size—Displays the total amount of memory
Parameters
ALL displays information about all installed memory modules.
module_number specifies which memory module to display.
show myself
This command displays information about the current account.
Command Syntax
show myself
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
show network
This command displays network information.
Command Syntax
show network
eth0 [detail]
failover [detail] [page]
route [detail]
status [detail] [listen] [process] [all] [nodns] [search stext]
ip_conntrack
max_ip_conntrack
dhcp eth0 status
all [detail]
Parameters
•
eth0 specifies Ethernet 0.
•
failover specifies Network Fault Tolerance information.
•
route specifies network routing information.
•
status specifies active Internet connections.
•
ip_conntrack specifies ip_conntrack usage information.
•
max_ip_conntrack specifies max_ip_conntrack information.
•
dhcp eth0 status displays DHCP status information.
•
all specifies all basic network information.
Options
•
detail—Displays additional information
•
page—Displays information 1 page at a time.
•
listen—Displays only listening sockets
•
process—Displays the process ID and name of the program to which each socket belongs
•
all—Displays both listening and nonlistening sockets
•
nodns—Displays numerical addresses without any DNS information
•
search stext—Searches for the stext in the output
Usage Guidelines
The eth0 parameter displays Ethernet port 0 settings, including DHCP and DNS configurations and options.
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
Example
This example displays active Internet connecti