Basic Operation Guide 2014/02

Example 2 Show banner motd output
HP Switch(config)# show banner motd
Banner Information
Configured Banner:
This is a private system maintained by the
Allied Widget Corporation.
Unauthorized use of this system can result in
civil and criminal penalties!
Example 3 Banner in the switch’s running-config file
HP Switch (config)# show running
Running configuration:
; J8697A Configuration Editor; Created on release #K.15.12.0001
; Ver #01:01:00
hostname "HP Switch"
module 1 type J8702A
vlan 1
name "DEFAULT_VLAN"
untagged A1-A24
ip address dhcp-bootp
exit
banner motd "This is a private system maintained by the\n Allied Widget
Corporation.\nUnauthorized use of this system can result in\n civil and
criminal penalties!"
password manager
HP Switch (config)#
The next time someone logs onto the switch’s management CLI, the login screen displays the
configured banner. Entering a correct password clears the banner and displays the CLI prompt.
Example 4 CLI result of the login banner configuration
This is a private system maintained by the
Allied Widget Corporation.
Unauthorized use of this system can result in
civil and criminal penalties!
Operating notes
The default banner appears only when the switch is in the factory default configuration. Using
no banner motd deletes the currently configured banner text and blocks display of the
default banner. The default banner is restored only if the switch is reset to its factory-default
configuration.
The switch supports one banner at any time. Configuring a new banner replaces any former
banner configured on the switch.
If the switch is configured with ssh version 1 or ssh version 1-or-2, configuring the banner sets
the SSH configuration to ssh version 2 and displays the following message in the CLI:
Warning: SSH version has been set to v2.
12 Getting Started