Syslog
The nv unset
commands remove the configuration you set with the equivalent nv set
commands. This guide only describes an nv unset
command if it differs from the nv set
command.
nv set service syslog <vrf-id> server <server-id>
Configures the remote syslog
server.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> |
The VRF you want to configure. |
<server-id> |
The hostname or IP address of the syslog server. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set service syslog default server 192.168.0.254
nv set service syslog <vrf-id> server <server-id> port
Configures the port number of the remote syslog
server.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> |
The VRF you want to configure. |
<server-id> |
The hostname or IP address of the syslog server. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set service syslog default server 192.168.0.254 port 514
nv set service syslog <vrf-id> server <server-id> protocol
Configures the protocol you want to use to transmit syslog data. You can specify either UDP or TCP.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> |
The VRF you want to configure. |
<server-id> |
The hostname or IP address of the syslog server. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set service syslog default server 192.168.0.254 protocol tcp