HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 106

Enabling displaying the copyright statement, Configuring banners, Banner types, Banner input methods

Page 106 highlights

Enabling displaying the copyright statement By default, the device displays the copyright statement when a Telnet or SSH user logs in, or when a user quits user view through the console port. You can disable or enable the function as needed. The following is a sample copyright statement: * Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. * * Without the owner's prior written consent, * * no decompiling or reverse-engineering shall be allowed. * To enable displaying the copyright statement: Step 1. Enter system view. 2. Enable displaying the copyright statement. Command system-view copyright-info enable Remarks N/A By default, this function is enabled. Configuring banners Banners are messages that the system displays when a user logs in. Banner types The system supports the following banners: • Legal banner-Appears after the copyright statement. To continue login, the user must enter Y or press Enter. To quit the process, the user must enter N. Y and N are case insensitive. • Message of the Day (MOTD) banner-Appears after the legal banner and before the login banner. • Login banner-Appears only when password or scheme authentication has been configured. • Shell banner-Appears after a user logs in. Banner input methods You can configure a single-line banner or a multi-line banner: • Single-line banner. A single-line banner must be input in the same line as the command. The start and end delimiters for the banner can be any printable character, but they must be the same and must not be included in the banner. The input text, including the command keywords and the delimiters, cannot exceed 510 characters. Do not press Enter before you input the end delimiter. For example, you can configure the shell banner "Have a nice day." as follows: system-view [System] header shell %Have a nice day.% • Multi-line banner. 99

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

99
Enabling displaying the copyright statement
By default, the device displays the copyright statement when a Telnet or SSH user logs in, or when a user
quits user view through the console port. You can disable or enable the function as needed. The following
is a sample copyright statement:
******************************************************************************
* Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P.
*
* Without the owner's prior written consent,
*
* no decompiling or reverse-engineering shall be allowed.
*
******************************************************************************
To enable displaying the copyright statement:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable displaying the
copyright statement.
copyright-info
enable
By default, this function is enabled.
Configuring banners
Banners are messages that the system displays when a user logs in.
Banner types
The system supports the following banners:
Legal banner
—Appears after the copyright statement. To continue login, the user must enter
Y
or
press
Enter
. To quit the process, the user must enter
N
.
Y
and
N
are case insensitive.
Message of the Day (MOTD) banner
—Appears after the legal banner and before the login banner.
Login
banner
—Appears only when password or scheme authentication has been configured.
Shell
banner
—Appears after a user logs in.
Banner input methods
You can configure a single-line banner or a multi-line banner:
Single-line banner.
A single-line banner must be input in the same line as the command. The start and end delimiters
for the banner can be any printable character, but they must be the same and must not be included
in the banner. The input text, including the command keywords and the delimiters, cannot exceed
510 characters. Do not press
Enter
before you input the end delimiter.
For example, you can configure the shell banner "Have a nice day." as follows:
<System> system-view
[System] header shell %Have a nice day.%
Multi-line banner.