H3C S5830V2 Command Reference Manual page 266

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

Syntax
header { incoming | legal | login | motd | shell } text
undo header { incoming | legal | login | motd | shell }
Default
The device does not have any banner.
Views
System view
Predefined user roles
network-admin
Parameters
incoming: Configures the banner to be displayed before a modem dial-up user accesses user view.
If authentication is required, the incoming banner appears after the authentication is passed.
legal: Configures the banner to be displayed before a user inputs the username and password to
access the CLI.
login: Configures the banner displayed to be before password or scheme authentication is
performed for a login user.
motd: Configures the greeting banner to be displayed before the legal banner appears.
shell: Configures the banner to be displayed before a non-modem dial-in user accesses user view.
text: Specifies the banner message. You can enter the message on the same line as the keywords or
on different lines. For more information, see Fundamentals Configuration Guide.
Examples
# Create the incoming banner, legal banner, login banner, MOTD banner, and shell banner.
<Sysname> system-view
[Sysname] header incoming
Please input banner content, and quit with the character '%'.
Welcome to incoming(header incoming)%
[Sysname] header legal
Please input banner content, and quit with the character '%'.
Welcome to legal (header legal)%
[Sysname] header login
Please input banner content, and quit with the character '%'.
Welcome to login(header login)%
[Sysname] header motd
Please input banner content, and quit with the character '%'.
Welcome to motd(header motd)%
[Sysname] header shell
Please input banner content, and quit with the character '%'.
Welcome to shell(header shell)%
In this example, the percentage sign (%) is the starting and ending character of the text argument.
Entering the percentage sign after the text quits the header command. Because it is the starting and
ending character, the percentage sign is not included in the banner.
# Test the configuration by using Telnet. The login banner appears only when password or scheme
login authentication has been configured.
******************************************************************************
* Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
254
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents