Configuring and displaying a nondefault banner
You can enable or disable banner operation using either the switch’s CLI or an SNMP application. The steps include:
Enable nondefault banner operation and define the endpoint delimiter for the banner.
Type the desired banner text, including line breaks.
Type the endpoint delimiter.
Use show banner motd
to display
the current banner status.
Syntax
no banner motd
This command defines the single character used to terminate the banner text and enables banner text input. You can use any character except a blank space as a delimiter. The
no
form of the command disables the login banner feature.
<banner-text-string>
The switch allows up to 3070 banner characters, including blank spaces and CR-LF ([Enter]). (The tilde “~“ and the delimiter defined by
banner motd <delimiter>
are not allowed as part of the banner text.) While entering banner text, you can backspace to edit the current line (that is, a line that has not been terminated by a CR-LF.) However, terminating a line in a banner by entering a CR-LF prevents any further editing of that line. To edit a line in a banner entry after terminating the line with a CR-LF requires entering the delimiter described above and then reconfiguring new banner text.
NOTE: In redundant management, the banner is not seen on the standby module, only the active module. | |