Setting a message of the day (motd) banner, Prompting the user to acknowledge the motd banner – 3Com WX4400 3CRWX440095A User Manual

Page 120

Advertising
background image

120

C

HAPTER

6: C

ONFIGURING

AND

M

ANAGING

IP I

NTERFACES

AND

S

ERVICES

Setting a Message of

the Day (MOTD)

Banner

You can configure the WX switch to display a Message of the Day
(MOTD)

banner, which is a string of text that is displayed before the

beginning of the login prompt for a user’s CLI session. The MOTD
banner can be a message to users, or legal and
government-mandated warning messages.

To specify a MOTD banner, use the following command:

set banner motd “text

The MOTD banner text can be up to 4096 characters in length, enclosed
in

delimiting characters, for example double quotes (

).

The following command sets the MOTD banner on the WX:

WX# set banner motd "Meeting @ 4:00 p.m. in Conference Room #3"
success: motd changed.

To display the configured MOTD banner text, use the following
command:

display banner motd

To clear the MOTD banner from the WX configuration, use the following

command:

clear banner motd

Prompting the User

to Acknowledge the

MOTD Banner

Optionally, you can prompt the user to acknowledge the MOTD banner
by

entering

y

to continue. To do this, use the following commands:

set banner acknowledge mode {enable | disable}
set banner acknowledge message “message

The message is displayed at the end of the MOTD, and can be up to 32
characters in length. In response, the user has the option of entering y to
proceed or any other key to terminate the connection.

The following command enables the prompt for the MOTD banner:

WX# set banner acknowledge enable
success: change accepted.

The following command sets Do you agree? as the text to be displayed
following the MOTD banner:

WX# set banner acknowledge message ‘Do you agree?’
success: change accepted.

Advertising