In this post I will create a MOTD banner for my switch and verify the configuration with a show command.
switch1#conf t
switch1(config)#banner motd $ Authorised Access Only $
switch1(config)#end
switch1#sh run | include banner
banner motd ^C Authorised Access Only ^C
switch1#