|
225 | 225 | * [Static DNS show command](#static-dns-show-command)
|
226 | 226 | * [Wake-on-LAN Commands](#wake-on-lan-commands)
|
227 | 227 | * [Send Wake-on-LAN Magic Packet command](#send-wake-on-lan-magic-packet-command)
|
| 228 | +* [Banner Commands](#banner-commands) |
| 229 | + * [Banner config commands](#banner-config-commands) |
| 230 | + * [Banner show command](#banner-show-command) |
228 | 231 |
|
229 | 232 | ## Document History
|
230 | 233 |
|
@@ -13819,3 +13822,89 @@ Sending 3 magic packet to 11:33:55:77:99:bb via interface Vlan1000
|
13819 | 13822 | ```
|
13820 | 13823 |
|
13821 | 13824 | For the 4th example, it specifise 2 target MAC addresses and `count` is 3. So it'll send 6 magic packets in total.
|
| 13825 | +
|
| 13826 | +# Banner Commands |
| 13827 | +
|
| 13828 | +This sub-section explains the list of the configuration options available for Banner feature. |
| 13829 | +
|
| 13830 | +## Banner config commands |
| 13831 | +
|
| 13832 | +- Set banner feature state |
| 13833 | +
|
| 13834 | +``` |
| 13835 | +admin@sonic:~$ config banner state <enabled|disabled> |
| 13836 | +Usage: config config banner state <enabled|disabled> |
| 13837 | +
|
| 13838 | + Set banner feature state |
| 13839 | +
|
| 13840 | +Options: |
| 13841 | + -?, -h, --help Show this message and exit. |
| 13842 | +``` |
| 13843 | +
|
| 13844 | +- Set login message |
| 13845 | +
|
| 13846 | +``` |
| 13847 | +admin@sonic:~$ config banner login <message> |
| 13848 | +Usage: config banner login <message> |
| 13849 | +
|
| 13850 | + Set login message |
| 13851 | +
|
| 13852 | +Options: |
| 13853 | + -?, -h, --help Show this message and exit. |
| 13854 | +``` |
| 13855 | +
|
| 13856 | +- Set logout message |
| 13857 | +
|
| 13858 | +``` |
| 13859 | +admin@sonic:~$ config banner logout <message> |
| 13860 | +Usage: config banner logout <message> |
| 13861 | +
|
| 13862 | + Set logout message |
| 13863 | +
|
| 13864 | +Options: |
| 13865 | + -?, -h, --help Show this message and exit. |
| 13866 | +``` |
| 13867 | +
|
| 13868 | +- Set message of the day |
| 13869 | +
|
| 13870 | +``` |
| 13871 | +admin@sonic:~$ config banner motd <message> |
| 13872 | +Usage: config banner motd <message> |
| 13873 | +
|
| 13874 | + Set message of the day |
| 13875 | +
|
| 13876 | +Options: |
| 13877 | + -?, -h, --help Show this message and exit. |
| 13878 | +``` |
| 13879 | +
|
| 13880 | +## Banner show command |
| 13881 | +
|
| 13882 | +- how banner messages |
| 13883 | +
|
| 13884 | +``` |
| 13885 | +admin@sonic:~$ show banner |
| 13886 | +Usage: show banner |
| 13887 | +
|
| 13888 | + Show banner messages |
| 13889 | +
|
| 13890 | +Options: |
| 13891 | + -h, -?, --help Show this message and exit. |
| 13892 | +``` |
| 13893 | +``` |
| 13894 | +admin@sonic:~$ show banner |
| 13895 | +state login motd logout |
| 13896 | +------- ------- ------------------------------------------------ -------- |
| 13897 | +enabled Login You are on |
| 13898 | + Message ____ ___ _ _ _ ____ |
| 13899 | + / ___| / _ \| \ | (_)/ ___| |
| 13900 | + \___ \| | | | \| | | | |
| 13901 | + ___) | |_| | |\ | | |___ |
| 13902 | + |____/ \___/|_| \_|_|\____| |
| 13903 | +
|
| 13904 | + -- Software for Open Networking in the Cloud -- |
| 13905 | +
|
| 13906 | + Unauthorized access and/or use are prohibited. |
| 13907 | + All access and/or use are subject to monitoring. |
| 13908 | +
|
| 13909 | + Help: https://sonic-net.github.io/SONiC/ |
| 13910 | +``` |
0 commit comments