Show the CLI Sequence for the Current Configuration

You can generate the sequence of CLI commands that are required to create the current configuration for the event broker, or for a given Message VPN on the event broker. This output can be useful if you need to duplicate those configurations for another event broker or Message VPN.

To generate the sequence of CLI commands that are required to create the current configuration for the event broker, or for a given Message VPN, enter the following User EXEC command:

solace> show current-config [all [redact] | message-vpn <vpn-name> [redact] [remove]]

Where:

all displays the CLI commands needed to create the current configuration for event broker, including configuration for all Message VPNs.

redact specifies to remove any sensitive information from the output.

message-vpn <vpn-name> displays the CLI commands needed to create (or remove) the current configuration for the given Message VPN.

remove specifies generation of remove commands instead of create commands.

You can use the “>” and “>>” characters to redirect the output to a file and use it to create a script of the CLI commands for creating the requested configuration. For more information on the “>” (redirect) and “>>” (append) characters, refer to CLI Command Output Redirection.