Skip to content

Commit 197e49a

Browse files
committed
Updated Command Reference with Banner feature commands
Signed-off-by: Yevhen Fastiuk <[email protected]>
1 parent 1ae2d63 commit 197e49a

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

doc/Command-Reference.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@
222222
* [Static DNS show command](#static-dns-show-command)
223223
* [Wake-on-LAN Commands](#wake-on-lan-commands)
224224
* [Send Wake-on-LAN Magic Packet command](#send-wake-on-lan-magic-packet-command)
225+
* [Banner Commands](#banner-commands)
226+
* [Banner config commands](#banner-config-commands)
227+
* [Banner show command](#banner-show-command)
225228

226229
## Document History
227230

@@ -13672,3 +13675,89 @@ Sending 3 magic packet to 11:33:55:77:99:bb via interface Vlan1000
1367213675
```
1367313676
1367413677
For the 4th example, it specifise 2 target MAC addresses and `count` is 3. So it'll send 6 magic packets in total.
13678+
13679+
# Banner Commands
13680+
13681+
This sub-section explains the list of the configuration options available for Banner feature.
13682+
13683+
## Banner config commands
13684+
13685+
- Set banner feature state
13686+
13687+
```
13688+
admin@sonic:~$ config banner state <enabled|disabled>
13689+
Usage: config config banner state <enabled|disabled>
13690+
13691+
Set banner feature state
13692+
13693+
Options:
13694+
-?, -h, --help Show this message and exit.
13695+
```
13696+
13697+
- Set login message
13698+
13699+
```
13700+
admin@sonic:~$ config banner login <message>
13701+
Usage: config banner login <message>
13702+
13703+
Set login message
13704+
13705+
Options:
13706+
-?, -h, --help Show this message and exit.
13707+
```
13708+
13709+
- Set logout message
13710+
13711+
```
13712+
admin@sonic:~$ config banner logout <message>
13713+
Usage: config banner logout <message>
13714+
13715+
Set logout message
13716+
13717+
Options:
13718+
-?, -h, --help Show this message and exit.
13719+
```
13720+
13721+
- Set message of the day
13722+
13723+
```
13724+
admin@sonic:~$ config banner motd <message>
13725+
Usage: config banner motd <message>
13726+
13727+
Set message of the day
13728+
13729+
Options:
13730+
-?, -h, --help Show this message and exit.
13731+
```
13732+
13733+
## Banner show command
13734+
13735+
- how banner messages
13736+
13737+
```
13738+
admin@sonic:~$ show banner
13739+
Usage: show banner
13740+
13741+
Show banner messages
13742+
13743+
Options:
13744+
-h, -?, --help Show this message and exit.
13745+
```
13746+
```
13747+
admin@sonic:~$ show banner
13748+
state login motd logout
13749+
------- ------- ------------------------------------------------ --------
13750+
enabled Login You are on
13751+
Message ____ ___ _ _ _ ____
13752+
/ ___| / _ \| \ | (_)/ ___|
13753+
\___ \| | | | \| | | |
13754+
___) | |_| | |\ | | |___
13755+
|____/ \___/|_| \_|_|\____|
13756+
13757+
-- Software for Open Networking in the Cloud --
13758+
13759+
Unauthorized access and/or use are prohibited.
13760+
All access and/or use are subject to monitoring.
13761+
13762+
Help: https://sonic-net.github.io/SONiC/
13763+
```

0 commit comments

Comments
 (0)