How to Configure Router Hostname and Banner
The factory-assigned
default name of a router is a “Router”. You can change it by assigning a name to
a router that helps us to identify a router. You can Set or change the Router Name after Configuring the Router Hostname.
Router> enable
Router# configure terminal
Enter configuration commands, one per line. End with
CNTL / Z.
Router (config) # hostname R1
R1
(config) # exit
R1#
Tip:
By issuing the command “no hostname”
in Global Configuration Mode, You may remove the router name and set it to the
default.
R1 (config) # no hostname
Router
(config) # exit
Router#
A banner is simply some
text that appears for the user on the screen. Routers and Switches can display
various banners on what a Router or Switch administrator is doing. You can
configure a router or switch to display multiple banners, some before Login and
some after.
The MOTD banner for sending messages is displayed on all terminals and is useful that affects all users.
R1>
enable
R1# configure terminal
Enter configuration commands, one per line. End with
CNTL / Z.
R1 (config) # banner ?
Banner MOTD Options |
R1 (config) # banner motd $ Welcome to about2Networking.com Page
R1
(config) # exit
R1#
The $ sign is known as a delimiting character. The delimiting characters must surround the banner message and can be any character so long as it is not a character used within the body of the message.
Tip:
Disable the MOTD banner using the no banner motd command. The motd banner
displays before the login prompt and banner if one has been created.
The Login banner displays before the username and
password login prompt.
R1> enable
R1# configure terminal
Enter configuration commands, one per line. End with
CNTL / Z.
R1 (config) # banner login # Authorized Personnel
Only! #
R1 (config) # end
R1#
Tip:
Disable the login banner using the No banner login command. The MOTD banner is displayed
before the Login banner.
Search
Tags
- What is banner in router
- How to change router hostname
- How to set a banner on router
- Cisco login banner example
0 Comments