How to Configure Router Hostname and Banner

How to Configure Router Hostname and Banner

1. How to Configure Router Hostname

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#


2.     How to Configure Router Banner

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.

MOTD Banner

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 ?

How to Configure Router 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.


Router Login Banner

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

  1. What is banner in router
  2. How to change router hostname
  3. How to set a banner on router
  4. Cisco login banner example


Post a Comment

0 Comments