Situatie
Steps to configure banner through CLI
-
- Login to the device using SSH / TELNET and go to enable mode.
-
- Go into the config mode.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
- Go into the config mode.
-
- Use below command to configure banner for required banner types (motd / login / exec)
Router(config)#banner motd #Unauthorized access to this device is prohibited!#
- Use below command to configure banner for required banner types (motd / login / exec)
-
- Exit config mode
Router(config)#exit
Router#
- Exit config mode
- Copy the running configuration into startup configuration using the below command:
Router#write memory
Building configuration… [OK]
Router#
Leave A Comment?