Basic Operation Guide 2014/02

Example 19 CLI interactive mode enabled
HP Switch(config)# show session
show message type : Enabled
cli interactive mode: Enabled
Interactive commands requiring additional options
Interactive commands that require input other than yes or no are not affected when CLI interactive
mode is disabled. A warning message is displayed when these commands are executed, for
example:
Interactive mode is disabled; This command will be ignored.
Enable cli-interactive-mode to use this command.
The following commands will issue this warning when interactive mode is disabled. An alternate
way to enter the command (when one is available) is shown.
Non-Interactive Alternate CommandCommand
No equivalent non-interactive commandsetup mgmt-interfaces
aaa port-access supplicant <port-list> secret
<secret-string>
aaa port-access supplicant
<port-list> secret
password manager plaintext <password-string>password manager
password operator plaintext <password-string>password operator
aaa port-access supplicant <port-list> secret
<secret-string>
aaa port-access supplicant
<port-list> secret
crypto host-cert generate self-signed <start-date>
<end-date> <CNAME-STR> <ORG-UNIT-STR>
<ORGANIZATION-STR> <CITY-STR> <STATE-STR> <CODE>
crypto host-cert generate
self-signed
Menu commands
When CLI interactive mode is disabled, all CLI commands that launch the menu interface will not
be affected by the interactive mode. A warning message is displayed, for example:
HP Switch(config)# menu
Interactive mode is disabled; This command will be ignored.
Enable cli-interactive-mode to use this command.
Other menu-based commands that will not be affected are:
setup
show interfaces display
SNMPv3 special cases
The following are special cases when using SNMPv3 with interactive mode.
snmpv3 user: In interactive mode, the command snmpv3 user will create snmpv3 users, even
if snmpv3 has not been enabled.
snmpv3 user: When interactive mode is disabled, this command only enables snmpv3. It does
not prompt for an authentication password. When the command is first executed, a default
initial user is created. A message displays:
User initial has been created.
36 Using the Command Line Interface (CLI)