H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Login
H3C S7500 Series Ethernet Switches Chapter 1
Login Commands
1-8
After you execute this command, user interface VTY 0 will be disconnected. The user in
it must log in again to connect to the switch.
1.1.8 header
Syntax
header [ incoming | login | shell ] text
undo header { incoming | login | shell }
View
System view
Parameters
incoming: Sets the incoming banner for users that log in through modems. If
authentication is required, the banner appears after a Modem user passes the
authentication. (The session banner does not appear in this case.)
login: Sets the login banner. The banner set by this keyword is valid only when
authentication is required for users’ login, and appears while the switch prompts for
inputting username and password.
shell: Sets the session banner, which appears after a session is established. If
authentication is required, the banner appears after a user passes the authentication.
text: Banner to be displayed. If no keyword (incoming, login, or shell) is specified, this
argument is the login banner by default. You can provide this argument in two ways.
z Enter the banner in the same line as the command (A command line can accept up
to 254 characters, including the keywords and spaces).
z Enter the banner in multiple lines (you can start a new line by pressing <Enter>,)
where you can enter a banner that can contain up to 2000 characters (including
the invisible characters).
Note that the first character is treated as the beginning character and the end character
of the banner. After entering the end character, you can press <Enter> to exit the
interaction.
Description
Use the header command to set the banners that are displayed when a user logs into a
switch. The login banner is displayed on the terminal when the connection is
established. And the session banner is displayed on the terminal if a user successfully
logs in.
Use the undo header command to disable displaying a specific banner or all banners.
Note that if you specify any one of the three keywords without providing the text
argument, the specified keyword will be regarded as the content of the login banner.