Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 CLI Commands by Level : Privileged EXEC Commands

Privileged EXEC Commands
All CLI Privileged EXEC commands are listed in Table 4 in alphabetical order.
The Privileged EXEC level commands primarily enable you to transfer and store software images and configuration files between the network and the
P-7500, and review the configuration.
In Privileged EXEC mode you are able to run any command listed in Table 3 for User EXEC level where applicable, as well as additional commands such as reload to restart the P-7500.
The Privileged EXEC level commands allow you to perform such functions as:
# admin
Description
Use this command to reach the Admin EXEC level by entering admin from the privileged EXEC level.
Syntax
admin
The admin command does not have any parameters or subcommands.
Example
tibco# admin
tibco(admin)#
The CLI is now at the Admin EXEC level.
# backup
Description
Use this command to immediately create a manual local backup of your configuration database file on the P-7500.
Syntax
backup
The backup command does not have any parameters or subcommands.
Example
tibco# backup
# boot
Description
Use this command to upgrade or downgrade the P-7500 system software to a new or old system software load and activate it, or to revert to and run the previous system software version that was running before the last upgrade.
Syntax
boot {<version> [default-config] | backout}
Where:
<version> is the version number of the new or old system software load to be activated.
default-config directs the P-7500 to revert to and run the default system configuration
backout directs the P-7500 to revert to and run the previous system software version that was running before the last upgrade
Example
tibco# boot 8.1.2.0200
# clear client stats
Description
Use this command to clear the statistics stored for one or more clients on the  P-7500.
Syntax
clear client [<ip-and-port>] [service <service-id>] [primary | backup] stats
Where:
<ip-and-port> is the IP address and port or IP address and network mask in Classless Inter-Domain Routing (CIDR) form: n.n.n.n:x or n.n.n.n/y (where n is 0-255, x is 1-65535, y is 0-32). Entering the wildcard character * in place of the IP address specifies all clients.
service asks to clear client service statistics
service filters the command output to only clear system information for clients associated with the specified service-id
<service-id> is the port number or name identifying the service. Entering the wildcard character * in place of a specific client service name specifies all client services
primary asks to clear statistics only for primary clients
backup asks to clear statistics only for backup clients
Note: Entering clear client stats without specifying a client clears the global stats. The global stats are an aggregate of all existing client stats.
Example
tibco# clear client 192.168.1.217:57984 stats
# clear log acl
Description
Use this command to clear the Access Control List (ACL) log either globally, or individually for client connections, publishing subjects, or subscription subjects.
Syntax
clear log acl [client-connect | publish-subject | subscribe-subject]
Where:
client-connect asks to clear service denial logs relating only to client connection ACLs
publish-subject asks to clear service denial logs relating only to publishing subject ACLs
subscribe-subject asks to clear service denial logs relating only to subscribing subject ACLs
Note: Entering no command parameters clears service denial log information for all ACLs.
Example
tibco# clear log acl subscribe-subject
# clear rv service stats
Description
Use this command to clear all Rendezvous service-level statistics stored for one or more clients on the  P-7500.
Syntax
clear rv service <service-id> stats [primary | backup]
Where:
<service-id> is the port number or name identifying the service. Entering the wildcard character * in place of a specific client service name specifies all client services
primary asks to clear statistics only for primary clients
backup asks to clear statistics only for backup clients
Example
tibco# clear rv service * stats backup
# clear snmp stats
Description
Use this command to clear the Simple Network Management Protocol (SNMP) server statistics from the TIBCO Messaging Appliance P-7500 CLI display when viewing SNMP server status on the  P-7500.
Syntax
clear snmp stats
The clear snmp stats command does not have any parameters or subcommands.
Example
tibco# clear snmp stats
# clear stats acl
Description
Use this command to clear the global statistics on Access Control Lists (ACLs).
Syntax
clear stats acl
The clear stats acl command does not have any parameters or subcommands.
Example
tibco# clear stats acl
# clear stats client
Description
Use this command to clear all global statistics stored for one or more clients on the  P-7500.
Syntax
clear stats client
The clear stats client command does not have any parameters or subcommands.
Example
tibco# clear stats client
# configure
Description
Use this command to reach the Global CONFIG level by entering configure from the privileged EXEC level.
Syntax
configure
The configure command does not have any parameters or subcommands.
Example
tibco# configure
tibco(config)#
The CLI is now at the Global CONFIG level.
# copy
Description
Use this command to either:
Syntax
copy <source> <destination>
Where:
<source> is the location of the source file. Possible formats: current-config, sftp://[<username>@]<ip-addr>/<remote-pathname>, or <local-pathname>. `*' and `?' characters can be used to match multiple files. Valid file name formats are described in Table 5.
<destination> is the destination where to put the file. Depending on context, the value may be left unspecified. `*' and `?' characters can be used to match multiple files. Valid file name formats are described in Table 5.
SFTP1
A remotely available file accessible through the SFTP protocol. In a copy operation only one of either <source> or <destination> may be specified as an SFTP file, but not both.
Absolute or relative name of a regular file stored in the / root directory. Internally, an absolute name is always relative to the / root directory, while relative names are always evaluated relative to the present working directory (displayable through the pwd User EXEC command).

1
The copying of files through the Secure Copy (SCP) protocol is not supported by the P-7500.

Example
tibco# copy current-config /configs
# delete
Description
Use this command to delete a file from the P-7500.
Syntax
delete <file>
Where:
<file> is the name of the local file to delete which may include a pathname. Only <local-pathname> formats may be used. `*' and `?' characters can be used to match multiple files
Note: Some files are not allowed to be deleted (for example, rotating system event logs such as debug.log.X files).
Example
tibco# delete /configs/tibcopub7
# delete-load
Description
Use this command to delete a system software version already installed in the
/loads subdirectory on the P-7500 (as displayed through the show version User EXEC command).
Syntax
delete-load <version>
Where:
<version> is the version number of the system software to be deleted, with the exception of the system software identified on the P-7500 as either the current or backout load.
Example
tibco# delete load 8.1.2.0200
# disable
Description
Use this command to return yourself to the User EXEC level of the CLI from the Privileged EXEC level.
Syntax
disable
The disable command does not have any parameters or subcommands.
Example
tibco# disable
tibco>
# disconnect sessionid
Description
Use this command to forcibly disconnect a CLI user session from the
P-7500, and thereby allow access to the P-7500 for other CLI users.
Syntax
disconnect sessionid <session-id>
Where:
<session-id> is the integer value correlating to an existing session number, as displayed by the show session User EXEC command. The session id identifies which session to disconnect. Valid range is 1 to 8 (corresponding to up to eight active CLI user sessions).
Note: The user cannot disconnect their own session. A disconnect command that specifies the current session is ignored.
Example
tibco# disconnect sessionid 2
# exit
Description
Use this command to exit from CONFIG level to Privileged EXEC level, or from Privileged EXEC level to User EXEC level. (From User EXEC level, the > exit command closes the CLI session.)
Syntax
exit
The exit command does not have any parameters or subcommands.
Example
tibco# exit
tibco>
# power-down
Description
Use this command to turn off power to the P-7500, on a system by system basis.
Note: The P-7500 does not restart automatically after this command is run.
Syntax
power-down
The power-down command does not have any parameters or subcommands.
Example
tibco# power-down
# reload
Description
Use this command to restart the P-7500, restart the P-7500 to a default configuration, or restart the P-7500 and restore to a backup configuration.
Syntax
reload [default-config | config <config-file>]
Where:
[default-config | config-file <config-file>] is where to retrieve the P-7500 system configuration file from on restart. If left unspecified, the current configuration file is used.
Note: If the special mnemonic default-config is specified, the P-7500 data interface IP configuration is removed and reloaded with a minimal database, but the existing hostname and IP connectivity configuration (that is, IP address, subnet mask, and gateway) is unchanged. Otherwise, if specified, a configuration file that was backed up prior through the copy current-config Global CONFIG command is loaded onto the P-7500 on restart.
Example
tibco# reload
# rename
Description
Use this command to rename regular files in the P-7500 file system.
Syntax
rename <old> <new>
Where:
<old> is the current name of the Pathname file to be renamed. Only <local-pathname> formats may be used.
<new> is the new name for the Pathname file specified by <old>. Only <local-pathname> formats may be used.
Example
tibco# rename tibco1 tibco5
# setup
Description
Use this command to quickly set the hostname, interfaces, clock and time zone on the P-7500.
Syntax
setup
The setup command does not have any parameters or subcommands.
Example
tibco# setup

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved