Basic Operation Guide 2014/02

The disable option disables prefixing returned messages for the session for which
this command is executed.
Note: This setting is not saved when the switch is rebooted.
Default: Disabled on all CLI sessions
Example 16 Message prefixes
HP Switch(config)# router rip
Error: IP Routing support must be enabled first.
HP Switch(config)# qinq mixed vlan
Warning: This command will reboot the device. Any prior configuration
on this config file will be erased and the device will boot up with a
default configuration
for the new qinq mode.
Do you want to continue [y/n]? n
HP Switch(config)# snmp-server mib hpSwitchAuthMIB included
Information: For security reasons, network administrators are
encouraged to disable SNMPv2 before using the MIB.
To determine if message labeling is enabled, enter the show session command.
Example 17 The label cli-return-message command enabled
HP Switch(config)# show session
show message type : Enabled
cli interactive mode: Enabled
CLI interactive commands
When the CLI interactive command mode is enabled, you must explicitly enter the choice of yes
(‘y’) or no (‘n’) for interactive commands. When interactive command mode is disabled, the default
choice for all command is yes, except as noted below. The CLI interactive mode command enables
or disables interactive mode for the CLI session.
Syntax:
session interactive-mode [ enable | disable ]
Enables or disables interactive mode for the CLI session.
The disable option disables interactive mode. The default choice for yes/no
interactive commands will be yes except for commands when there is a prompt to
save the config. The default for that is no.
The default choice for rebooting the switch is yes.
Note: This setting is not saved when the switch is rebooted.
Default: Enabled on all sessions.
Example 18 CLI interactive mode when disabled
HP Switch(config)# no password all
Password protection for all will be deleted, continue [y/n]? y
HP Switch(config)# boot system flash secondary
System will be rebooted from secondary image.
Do you want to continue [y/n]? y
Do you want to save current configuration [y/n]? n
To determine if the CLI interactive mode is enabled or disabled, enter the show session command.
CLI interactive commands 35