- [Instructor] The Cisco IOS global command set,
includes an option that allows you to configure messages
that anyone logging into the switch
via the console port will see.
We going to ahead and log in here, click on the CLI tab,
expand the screen, hit Enter ena config t.
A login banner known as a message of the day
or an MOTD banner, should be configured to warn anyone
accessing the device, that unauthorized access
will not be tolerated.
The banner MOTD command requires the use of delimiters
to identify the content of the banner message.
We'll go ahead and do a question mark here,
and you can see that the banner command there at the top of
the command list.
The delimiter character can be any character.
For example, pound sign, as long as the character
does not occur in the body of the message.
I'm going to demonstrate now how to configure a banner message
of the day, at the global config mode.
The command is banner motd,
then my delimiter #Unauthorized access
is strictly forbidden and will be enforced
by the fullest extent of the law.
If you make a typing error,
you can just hit the spec space, and then go ahead
and retype the command string,
and that replaces the incorrect text.
I'm going to go ahead and hit the pound sign,
after an exclamation point,
and that completes my banner message of the day.
If I hit Enter, it accepts that command.
I hit exit, I hit exit.
I go ahead and hit Enter to get started,
and you can see that that banner message of the day,
is now displayed prior to gaining access to the switch.
Unauthorized access is strictly forbidden,
and that's the banner message of the day.