Selecting a Management Interface

Custom Login Banners for the Console and Web Browser Interfaces

or if the switch is using the factory-default banner shown in figure 2-5, then the banner page does not appear in the Web browser when an operator initiates a login session with the switch.

Configuring and Displaying a Non-Default Banner

You can enable or disable banner operation using either the switch’s CLI or an SNMP application. The steps include:

1.Enable non-default banner operation and define the endpoint delimiter for the banner.

2.Enter the desired banner text, including any specific line breaks you want.

3.Enter the endpoint delimiter.

Use show banner motd to display the current banner status.

Syntax: banner motd < delimiter >

no banner motd

This command defines the single character used to termi­ nate 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 re-configuring new banner text.

The banner text string must terminate with the character defined by banner motd < delimiter >.

Example of Configuring and Displaying a Banner

Suppose a system operator wanted to configure the following banner message on her company’s switches:

2-9