Skip to content

Commit 0ce003e

Browse files
committed
[ssip]: Update UM.
Signed-off-by: Nazarii Hnydyn <[email protected]>
1 parent 812ebf3 commit 0ce003e

File tree

1 file changed

+44
-12
lines changed

1 file changed

+44
-12
lines changed

doc/Command-Reference.md

+44-12
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
* [Subinterfaces Show Commands](#subinterfaces-show-commands)
149149
* [Subinterfaces Config Commands](#subinterfaces-config-commands)
150150
* [Syslog](#syslog)
151+
* [Syslog show commands](#syslog-show-commands)
151152
* [Syslog config commands](#syslog-config-commands)
152153
* [System State](#system-state)
153154
* [Processes](#processes)
@@ -8545,40 +8546,71 @@ Go Back To [Beginning of the document](#) or [Beginning of this section](#static
85458546
85468547
## Syslog
85478548
8549+
### Syslog Show Commands
8550+
8551+
This subsection explains how to display configured syslog servers.
8552+
8553+
**show syslog**
8554+
8555+
This command displays configured syslog servers.
8556+
8557+
- Usage:
8558+
```
8559+
show syslog
8560+
```
8561+
8562+
- Example:
8563+
```
8564+
admin@sonic:~$ show syslog
8565+
SERVER IP SOURCE IP PORT VRF
8566+
----------- ----------- ------ -------
8567+
2.2.2.2 1.1.1.1 514 default
8568+
```
8569+
85488570
### Syslog Config Commands
85498571
8550-
This sub-section of commands is used to add or remove the configured syslog servers.
8572+
This subsection explains how to configure syslog servers.
85518573
85528574
**config syslog add**
85538575
8554-
This command is used to add a SYSLOG server to the syslog server list. Note that more that one syslog server can be added in the device.
8576+
This command is used to add a syslog server to the syslog server list.
8577+
Note that more that one syslog server can be added in the device.
85558578
85568579
- Usage:
85578580
```
8558-
config syslog add <ip_address>
8581+
config syslog add <server_address>
85598582
```
85608583
8584+
- Parameters:
8585+
- _server_address_: syslog server IP address
8586+
- _source_: syslog source IP address
8587+
- _port_: syslog server UDP port
8588+
- _vrf_: syslog VRF device
8589+
85618590
- Example:
85628591
```
8563-
admin@sonic:~$ sudo config syslog add 1.1.1.1
8564-
Syslog server 1.1.1.1 added to configuration
8565-
Restarting rsyslog-config service...
8592+
admin@sonic:~$ sudo config syslog add 2.2.2.2 --source 1.1.1.1 --port 514 --vrf default
8593+
Running command: systemctl reset-failed rsyslog-config
8594+
Running command: systemctl restart rsyslog-config
85668595
```
85678596
8568-
**config syslog delete**
8597+
**config syslog del**
85698598
8570-
This command is used to delete the syslog server configured.
8599+
This command is used to delete the configured syslog server.
85718600
85728601
- Usage:
85738602
```
8574-
config syslog del <ip_address>
8603+
config syslog del <server_address>
85758604
```
85768605
8606+
- Parameters:
8607+
- _server_address_: syslog server IP address
8608+
85778609
- Example:
85788610
```
8579-
admin@sonic:~$ sudo config syslog del 1.1.1.1
8580-
Syslog server 1.1.1.1 removed from configuration
8581-
Restarting rsyslog-config service...
8611+
admin@sonic:~$ sudo config syslog del 2.2.2.2
8612+
Running command: systemctl reset-failed rsyslog-config
8613+
Running command: systemctl restart rsyslog-config
85828614
```
85838615
85848616
Go Back To [Beginning of the document](#) or [Beginning of this section](#syslog)

0 commit comments

Comments
 (0)