You can add a banner to give users helpful information before or after logging
in.
-
To add a banner to your switch, use the
following command:
configure banner {after-login | { before-login } { acknowledge } | before-login {acknowledge} save-to-configuration}
When using before-login, you have to select the
save-to-configuration option so that the change is saved to the
configuration file to have it show up in output of the show configuration {module-name} {detail}
command.
When you use the acknowledge option, users
must press a key to get the login prompt.
When no options are specified, the command configures a banner for a CLI session that
appears before login. A CLI banner can have a maximum size of 24 rows with 79 columns of
text.
-
To clear a configured banner, use the
following command:
unconfigure banner { after-login |
before-login } command.
-
To disable the acknowledgment feature
(which forces the user to press a key before the login screen appears), use the following
command omitting the acknowledge option:
configure banner {after-login | { before-login } { acknowledge } | before-login {acknowledge} save-to-configuration}
-
To display the banners that are
configured on the switch, use the following command:
show banner { after-login | before-login
}