PRESS RELEASE: INTERFACE ACQUIRES CENTRIQ'S CORPORATE
IT TRAINING BUSINESS - WE ARE EXPANDING!   (Jan 5, 2023)
Interface and Centriq Logos
LEARN MORE
1-800-264-9029|602-266-8500
  • Course Schedule
    • Microsoft Training
      • Microsoft Fundamentals Training
      • Windows Client
      • Teams
      • Teams / Microsoft 365 / MS365
      • Windows Server 2019
      • SQL Server Transact-SQL
      • SQL Server Administration
      • SQL Server Business Intelligence
      • Power BI
      • Power Platform
      • Azure
      • Data Engineering / Machine Learning
      • Artificial Intelligence (AI)
      • M365 Messaging
      • PowerShell
      • System Center
      • SharePoint
      • Microsoft Security
    • Cloud Computing
      • Azure
      • Amazon Cloud (AWS)
    • Developer Training
      • DevOps
      • Web Development
      • Java Programming
      • Python
    • Cisco Training
      • Cisco CCNA
      • Cisco Routing and Switching
      • Cisco Security
      • Cisco Wireless
      • Cisco Data Center and Storage
      • Cisco Collaboration
      • Cisco Contact Center
      • Cisco DevNet
    • CompTIA Certification
      • CompTIA A+
      • CompTIA CASP+
      • CompTIA Linux+
      • CompTIA Network+
      • CompTIA Project+
      • CompTIA Security+
    • Business Training
      • Project Management
      • ITIL
      • NIST
      • Business Analysis (PBA & CBAP)
      • Agile
    • Security Training
      • EC-Council
      • ISC2
      • Microsoft Security
      • CompTIA Security
      • NIST
      • Cisco Security
    • Wireless Training
      • Wireless Networking
    • Other Training
      • VMware
      • F5 Networks
      • Citrix
      • Microsoft Excel
  • Exams
    • Student Pricing
  • Subscriptions
  • Interface Gold
    • RemoteLive™
    • Replay™
    • Interface Gold™ Benefits
  • On-Demand
  • Resources
    • Tech Blogs
    • Tech Videos
    • Microsoft Learn Catalog
  • About
    • Instructors
    • Interface TechPak
    • Group Training & Private Classes
    • Contact

How to create a Cisco IOS Banner – Login and MOTD Message of the Day

Home > Videos > Cisco CCNA > How to create a Cisco IOS Banner – Login and MOTD Message of the Day

How to create a Cisco IOS Banner – Login and MOTD Message of the Day

Like This Video 0 4196 Mark Jacob
Added by Mark Jacob January 12, 2018

In this video, Cisco CCNA instructor Mark Jacob shows how to create a Login and Message of the Day (MOTD) banners in Cisco IOS.

The Banner is an interesting feature of the Cisco IOS. You could probably get by without it, but in a commercial environment you want to have it.

Video Trascription

What good is a banner? If somebody’s intent on breaking into my network, the banner’s not going to scare them away. But it will certainly give you a legal means, or a legal leg, to stand on. If you have a warning telling them to stay out and they come in anyway, now you can prosecute.

In the absence of the banner, or if you have a banner that says, “Welcome to our network, come in and have fun hacking,” you realize that you’re leaving yourself wide open.

I have a scenario that I’ve built, with a simple router.

001-how-to-modify-your-Cisco-IOS-banner

What I’m going to do is log in to this router. It’s built inside GNS3.

I’m going to modify the banner and show you a couple of ways to set the banner.

I’ll bring up my console to this device.

002-banner-how-to-modify-your-Cisco-IOS-banner

The command is #banner and the question (?) mark can help you out.

003-banner-how-to-modify-your-Cisco-IOS-banner

I can put my banner in lots of places. The one I’m going to focus on right now ‑‑ or actually two that I’m going to be talking about today ‑‑ banner login and banner MOTD. M‑O‑T‑D, message of the day.

Cisco IOS Login Banner

You could type, if I follow the question marks through, (#banner login ? and some line, some text that I want it to say.

004-banner-how-to-modify-your-Cisco-IOS-banner

Although you also notice that you a delimiting character. By default Cisco uses a “C”. This is some delimiting character which means to tell the device where the message starts.

This is the way I like to configure my banners, because now you can get online and find yourself some cool ASCII art. Paste that in, and that can be your banner.

I’m going to pick a delimiting character (%). The delimiting character can be any character that does not also appear in the body of your message. If it appears in the body of the message, as soon as it appears the second time, the device presumes that you’re done typing your message.

I use a percent sign “%” because that’s not in my banner. I’m going to hit Enter as opposed to continuing my message. I’m going to hit Enter.

005-banner-how-to-modify-your-Cisco-IOS-banner

It will prompt me, to enter my text message. At this point, if I had some ASCII art, such as Snoopy and the Red Baron or whatever, I could go to that text file, copy it, and paste it in.

I didn’t do that, so let’s do some interesting stuff. Let’s pick some characters. Just pound “#” signs and asterisks “*”, to have a box around it and hit enter.

006-banner-how-to-modify-your-Cisco-IOS-banner

You’ll notice, it still thinks I’m not done yet. Why? Because I haven’t put the delimiting character “%” in.

I’ll type “Here is a cool login banner!!” And then add some pace and place a (#) pound sign again.

008-banner-how-to-modify-your-Cisco-IOS-banner

I like to do it this way because now you can align your messages. If you try to do it in one long command, you’ll invariably end up with your columns not aligned.

Let’s go ahead and finish it and hit enter.

009-banner-how-to-modify-your-Cisco-IOS-banner

Now, I can keep hitting Enter and it’s still going to think I’m entering messages.

How do I indicate that I’m done? I have to enter the same delimiting character that I started with, which was a percent sign (%). Hit Enter.

010-banner-how-to-modify-your-Cisco-IOS-banner

It accepted my command.

One of the cool things you can do in GNS3 is to bring in a real host.

I have an actual Windows 7 box running inside Oracle VirtualBox. It’s a free download.

011-banner-how-to-modify-your-Cisco-IOS-banner

I want to access this PC, so I’ll come down here in my VirtualBox and click on it.

012-banner-how-to-modify-your-Cisco-IOS-banner

I can do far more than just generate pings from this machine. Notice it has PuTTY installed. I can double‑click and launch it.

013-banner-how-to-modify-your-Cisco-IOS-banner

You’ll notice that the address I’m trying to reach, 10.4.1.1. that’s the address on the interface of the router to which I’m about to try to access remotely, so that I can see if my banner has been successful.

014-banner-how-to-modify-your-Cisco-IOS-banner

Let’s go ahead and launch PuTTY.

I’m going to go ahead and leave it in the Telnet and click Open.

015-banner-how-to-modify-your-Cisco-IOS-banner

Look at that. That is the exact banner that I just created, and I get to see it.

016-banner-how-to-modify-your-Cisco-IOS-banner

Let’s go ahead and exit this, close this connection.

MOTD (Message of the Day) Banner

The other Cisco IOS banner you might find useful is your MOTD (Message of the Day). You may wonder why have two? The login banner, pretty much everybody sees it, logs in.

A banner MOTD message of the day might be for things like the system’s going to be going down this afternoon at 3:00 o’clock for maintenance etc… Again, the idea of the name of it, a helpful message of the day.

#banner motd, I’m going to use the same delimiting character (%). It can be anything that doesn’t appear in the message, so I’ll use a percent sign (%) which is my favorite. And hit Enter.

017-banner-how-to-modify-your-Cisco-IOS-banner

Let’s make some more pretty lines using the pound symbol (#). And I’ll type “This is a cooler motd!!”

018-banner-how-to-modify-your-Cisco-IOS-banner

I realize this is boring compared to some sweet art out there that you can paste in.

Let’s go ahead and close it out with (#) symbols all the way across and to let the device know that I’m done, the same delimiting character, the percent sign,(%) again.

019-banner-how-to-modify-your-Cisco-IOS-banner

Now I have a message of the day, and a banner login. Let’s go back to our test box and initiate PuTTY again. 10.4.1.1. I don’t have to change anything. Let’s go ahead and open it.

020-banner-how-to-modify-your-Cisco-IOS-banner

You’ll notice I have (motd) Message of the Day and a Login banner appearing in my text.

021-banner-how-to-modify-your-Cisco-IOS-banner

You may think that these are boring names, but it does make it obvious which one’s which.

The one on the top is MOTD (Message of the Day. The one on the bottom is the Login.

Occasionally, I’ve had a feedback that they want to know if you’re being tested if you’ve got them both going, which one are you likely to see first? I name it so it’s obvious which one’s which.

Banners are very useful tip to have. In fact, if you want to Google it, you can even include variables in there like, “You have attached to device named xyxyxyxy.” It’ll tell you that. Not necessary, but it makes your work environment more cool.

Banner login, banner MOTD ‑‑ very useful in a production environment in the sense of, you warn people to stay out, and then you prosecute them when they don’t.

You May Also Like

  • Installing DNS from scratch on a Windows Server
    Installing DNS from scratch on a Windows Server
  • Cisco CCNA and CCNP Certification Update 2019 – 2020
    Cisco CCNA and CCNP Certification Update 2019 – 2020
  • On the Topic of Mastery
    On the Topic of Mastery
  • The Easy Way to Convert Decimal Numbers to Binary Numbers and Back Again
    The Easy Way to Convert Decimal Numbers to Binary Numbers…
Category Cisco CCNA

Tags

Cisco IOS, Cisco Login Banner, Cisco MOTD Banner, Creating banners in Cisco IOS, MOTD Banner

Videos You May Like

A Simple Introduction to Cisco CML2

A Simple Introduction to Cisco CML2

0 3661 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Cable Testers and How to Use them in Network Environments

Cable Testers and How to Use them in Network Environments

0 654 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader demonstrates how to use cable testers in network environments. Let’s look at some tools that we can use to test our different cables in our environment. Cable Testers Properly Wired Connectivity … Continue reading Cable Testers and How to Use them in Network Environments

OSPF Adjacency Troubleshooting Solution – Getting Close to the OSPF adj

OSPF Adjacency Troubleshooting Solution – Getting Close to the OSPF adj

0 246 1

In this video, Cisco CCNA & CCNP instructor Mark Jacob shows how to troubleshoot OSPF Adjacency issues by showing the distance between routers with the show ip ospf neighbor command.

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.

Microsoft Subscription

Videos by Technology

  • Business Analysis (13)
  • Cisco CCNA (14)
  • Cloud Computing – Azure & AWS (3)
  • COBIT (1)
  • CompTIA Network + (21)
  • CompTIA Security + (3)
  • IT Security (7)
  • ITIL (5)
  • Office 365 (6)
  • PowerShell (6)
  • Project Management (PMP) (18)
  • SharePoint (7)
  • SQL Server (4)
  • Systems Center SCCM (1)
  • Web Development (9)
  • Webinars Event Recordings (15)
  • Windows 10 (15)
  • Windows 7 and 8.1 (5)
  • Windows Server (13)

Videos by Instructor

  • Dan Wahlin (7)
  • Interface (3)
  • Jason Yoder (6)
  • Mark Jacob (16)
  • Mark Thomas (5)
  • Mike Danseglio (10)
  • Mike Pfeiffer (3)
  • Peter Avila (4)
  • Rick Trader (24)
  • Spike Xavier (14)
  • Steve Fullmer (26)

Blogs You May Like

  • The Easy Way to Convert Decimal Numbers to Binary Numbers and Back Again
  • Cisco CCNA and CCNP Certification Update 2019 – 2020
  • Using Command Line Utilities for Troubleshooting Name Resolution
  • What’s Up With The New Cisco Certification 2019 Program?
  • Concepts of Routing
  • Understanding Network Cable Testers

Video Courses

  • ITIL 4 Foundation Certification Video Training Course
  • Project Management Professional (PMP®) Certification Video Training PMBOK® 6th Edition
  • PMI-PBA Business Analysis for IT Analysts and Project Managers (PMI-PBA)® Certification
  • SharePoint Designer 2013 for American Express
  • CompTIA Network+ (Coming Soon!)
  • CompTIA Security+ (Coming Soon!)
  • CompTIA A+ Certification Core 1 1001 (Coming Soon)
  • CompTIA A+ Certification Core 2 1002 (Coming Soon)

Live Training Courses

  • NET+007: CompTIA Network+ Certification Training + N10- 007 Exam
  • PowerShell - 10961: Automating Administration with Windows PowerShell
  • ITIL4® Foundation Certification Course with Exam
  • AZ-100: Azure Infrastructure and Deployment Training
  • PMI-PBA: Business Analysis for IT Analysts and Project Managers (PMI-PBA Certification)
  • Cisco CCNA - ICND1v3 Interconnecting Cisco Networking Devices CCNA Part 1
  • COBIT205: COBIT® 5 Foundation and Implementation IT Governance Training
  • DEV415: Microservices with ASP.NET Core and Docker
  • IT Security - SEC+501: CompTIA Security+ with Certification Exam SY0-501
  • SQL Server - SQL101: Introduction to Transact SQL
Facebook
Twitter
Linked In
Comment
EMAIL

About Us

  • Interface Gold™ Benefits
  • Interface TechPak
  • Group Training & Private Classes

Contact Us

3115 N 3rd Ave
G130
Phoenix, AZ 85013

602-266-8500

Stay in touch on our social channels!
Twitter
Facebook
LinkedIn
State of Arizona Contract # ADSPO18-210228

Copyright © 2023 Interface Technical Training. All Rights Reserved.

Interface Live Training Terms and Conditions Terms of Use Microsoft Subscription Terms and Conditions Privacy Policy WIOA Policy

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.