Configuration error checking, Deleting a configuration, Deleting a configuration 1 – Brocade Network Advisor SAN + IP User Manual v12.3.0 User Manual

Page 1483: Using a dash character in cli, Configuration manager

Advertising
background image

Brocade Network Advisor SAN + IP User Manual

1411

53-1003155-01

Deleting a configuration

34

NOTE

If the response message does not fall in any of the categories above, it is treated as a success
response from the device and stops the validation process.

Using a dash character in CLI Configuration manager

You can override how the Management application treats messages without editing the CLI
responses properties file. To do this, enter a dash (-) at the beginning of each configuration line. For
example, to create a configuration that defines an IP address for port 3/2, enter the following
commands in the CLI Configuration Manager:

-interface ethernet 3/2

- ip address 192.45.6.110 255.255.255.0

NOTE

Make sure there is no space between the dash and the first character of a command entered at the
configuration level. When entering a sublevel command, you must use a space or a tab between the
dash and the first character of the command.

Using the dash tells the Management application to ignore any response, even if the response is
not in the cliResponses.properties file.

Configuration error checking

To prevent invalid commands from being entered in a configuration definition, the
cliShowCommands.properties file under the Install_Home\conf\cli\ directory specifies what
commands cannot be included in a configuration definition. The command lists the following:

An entry in a command=disallowed format indicates a command that must not be entered in
the CLI Command tab.

For example, you see the ping=disallowed entry. Ping cannot be included in a configuration or
monitoring definition.

A command that does not have "disallowed" can only be used under the monitoring. For
example, by default, the sh (show) command is included in the cliShowCommands.properties
file. This means that the sh command can be entered only under monitoring. For more
information on monitoring, refer to

“Monitoring configurations”

on page 1414.

You can add commands to the lists in the cliShowCommands.properties file. However, any
commands you add to that file are commands that are treated as display commands only or
are commands that cannot be used in a definition if they are listed with the "=disallowed"
expression.

Deleting a configuration

To delete a configuration, complete the following steps.

1. Select Configure > CLI Configuration.

The CLI Configuration dialog box displays.

Advertising