Basic Operation Guide 2013/06

Table Of Contents
Banner motd command with non-interactive mode
The use of escape characters allows the banner motd command to be used in non-interactive mode
for multiple message lines. In non-interactive mode, you can create a banner message enclosed
in double quotes or other delimiter that uses escape characters within the delimiters. Other existing
CLI commands do not support the escape characters.
The following escape characters are supported:
double q\"
single quote\’
forward quote\`
backslash\\
form feed\f
newline\n
carriage return\r
horizontal tab\t
vertical tab\v
Example 20 Configuring the banner message using escape characters within double quote delimiters
HP Switch(config)# banner motd "You can
use the \banner motd\ CLI command in non-interactive mode.\n\n\tThe banner
motd command will support escape characters."
HP Switch(config)# show banner motd
Banner Information
Banner status: Enabled
Configured Banner:
You can use the banner motd CLI command in non-interactive mode.
The banner motd command will support escape characters."
The running configuration file contains the banner message as entered in the command line.
CLI interactive commands 39