Basic Operation Guide 2014/02

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 7 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.
Example 8 The running config file with banner motd configured in non-interactive mode
HP Switch(config)# show running-config
Running configuration:
;J8693A Configuration Editor; Created on release #K.15.10.0002
;Ver #01:01:00
hostname "HP Switch"
vlan 1
name "DEFAULT_VLAN"
untagged 1-48, a1-a4
ip address dhcp-bootp
exit
banner motd "You can use the \banner motd\ CLI command in
non-interactive mode.\n\n\tThe banner motd command will support
escape characters."
You can use a delimiting character other than quotes as well, as shown in the example below.
14 Getting Started