Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[config] Add commands for adding/removing syslog servers #609

Merged
merged 5 commits into from
Aug 19, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4079,4 +4079,35 @@ This command displays the routing policy that takes precedence over the other ro
Exit routemap
```

**Syslog config commands
tsvanduyn marked this conversation as resolved.
Show resolved Hide resolved

This sub-section of commands is used to add or remove the configured syslog servers.

**config syslog add
tsvanduyn marked this conversation as resolved.
Show resolved Hide resolved

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.

- Usage: config syslog add <ip-address>
- Example:
```
admin@str-s6000-acs-11:~$ sudo config syslog add 1.1.1.1
Syslog server 1.1.1.1 added to configuration
Restarting rsyslog-config service...
admin@str-s6000-acs-11:~$
```

**config syslog delete
tsvanduyn marked this conversation as resolved.
Show resolved Hide resolved

This command is used to delete the syslog server configured.

- Usage: config syslog del <ip-address>
- Example:
```
admin@str-s6000-acs-11:~$ sudo config syslog del 1.1.1.1
Syslog server 1.1.1.1 removed from configuration
Restarting rsyslog-config service...
admin@str-s6000-acs-11:~$
```


Go Back To [Beginning of the document](#SONiC-COMMAND-LINE-INTERFACE-GUIDE) or [Beginning of this section](#Quagga-BGP-Show-Commands)