Banner login – Brocade Network OS Command Reference v4.1.0 User Manual

Page 88

Advertising
background image

50

Network OS Command Reference

53-1003115-01

banner login

2

banner login

Sets the switch banner.

Synopsis

banner login message

no banner login

Operands

message

The message string to be displayed on the switch console.

Defaults

None

Command Modes

Global configuration mode

Description

Use this command to create a switch banner. A banner is a text message that displays on the
console. The banner can include information about the switch that a user wants another user to
know when accessing the switch.

Usage Guidelines

The banner must be from 1 through 2048 characters in length.

The banner can appear on multiple lines if you enter multiline mode using ESC-M and using
CTRL-D to exit.

Examples

To create a banner with multiple lines:

switch(config)# banner login [Esc-m]

[Entering multiline mode, exit with ctrl-D.]

> banner login Hello

> and

> welcome

> to

> the

> switch

[Ctrl-D]

switch(config)# do show running-config banner

banner login "Hello\and\welcome\to\the\switch"

switch(config)# exit

Network OS (switch)

NOS Version 3.0.0

switch login: admin

Password: ******

Hello and welcome to the switch

To create a banner with a single line:

switch(config)# banner login “Please do not disturb the setup on this switch”

switch(config)# exit

Login: user

Password: *****

The cluster contains 5 switches

----------------

Advertising