Follow these directions to a message of the day (MOTD) on a Cisco switch in IOS.
- In IOS, type enable and press enter
- Type configure terminal and press enter
- Type banner motd "Type the message here" and press enter
- Type exit and press enter
- Type exit and press enter again
Use the show running-config to verify that the MOTD has been added. Type exit and press enter to sign out of the switch. Attempt to access the switch again in IOS. The MOTD will be displayed.
The reload command can be used to return the switch to the configuration it had before any changes were made.
To ensure these changes remain saved if the switch is restarted, save the changes to the startup-config. In IOS, type enable and press enter to enter priviledge mode. Type copy running-config startup-config and press enter. This saves to NVRAM. To ensure the startup-config contains the MOTD, use the show startup-config command. It is also possible to save the changes to flash using the copy startup-config flash command. Then use the show flash command, and the startup-config file should be listed.