Configuring System Logging (UDP)
Configuring Auth as the Facility to Use When Forwarding to the Server
Configuring Auth as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "auth",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>auth</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility auth
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Auth as the Facility to Use When Forwarding to the Server
Deleting Auth as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility auth
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Authpriv as the Facility to Use When Forwarding to the Server
Configuring Authpriv as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "authpriv",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>authpriv</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility authpriv
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Authpriv as the Facility to Use When Forwarding to the Server
Deleting Authpriv as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility authpriv
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Cron as the Facility to Use When Forwarding to the Server
Configuring Cron as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "cron",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>cron</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility cron
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Cron as the Facility to Use When Forwarding to the Server
Deleting Cron as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility cron
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Daemon as the Facility to Use When Forwarding to the Server
Configuring Daemon as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "daemon",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>daemon</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility daemon
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Daemon as the Facility to Use When Forwarding to the Server
Deleting Daemon as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility daemon
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring FTP as the Facility to Use When Forwarding to the Server
Configuring FTP as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "ftp",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>ftp</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility ftp
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting FTP as the Facility to Use When Forwarding to the Server
Deleting FTP as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility ftp
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Kernel as the Facility to Use When Forwarding to the Server
Configuring Kernel as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "kern",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>kern</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility kernel
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Kernel as the Facility to Use When Forwarding to the Server
Deleting Kernel as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility kernel
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local0 as the Facility to Use When Forwarding to the Server
Configuring Local0 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local0",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local0</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local0
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local0 as the Facility to Use When Forwarding to the Server
Deleting Local0 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local0
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local1 as the Facility to Use When Forwarding to the Server
Configuring Local1 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local1",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local1</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local1
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local1 as the Facility to Use When Forwarding to the Server
Deleting Local1 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local1
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local2 as the Facility to Use When Forwarding to the Server
Configuring Local2 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local2",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local2</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local2
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local2 as the Facility to Use When Forwarding to the Server
Deleting Local2 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local2
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local3 as the Facility to Use When Forwarding to the Server
Configuring Local3 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local3",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local3</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local3
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local3 as the Facility to Use When Forwarding to the Server
Deleting Local3 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local3
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local4 as the Facility to Use When Forwarding to the Server
Configuring Local4 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local4",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local4</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local4
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local4 as the Facility to Use When Forwarding to the Server
Deleting Local4 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local4
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local5 as the Facility to Use When Forwarding to the Server
Configuring Local5 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local5",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local5</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local5
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local5 as the Facility to Use When Forwarding to the Server
Deleting Local5 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local5
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local6 as the Facility to Use When Forwarding to the Server
Configuring Local6 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local6",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local6</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local6
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local6 as the Facility to Use When Forwarding to the Server
Deleting Local6 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local6
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Local7 as the Facility to Use When Forwarding to the Server
Configuring Local7 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "local7",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>local7</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility local7
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Local7 as the Facility to Use When Forwarding to the Server
Deleting Local7 as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility local7
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring LPR as the Facility to Use When Forwarding to the Server
Configuring LPR as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "lpr",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>lpr</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility lpr
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting LPR as the Facility to Use When Forwarding to the Server
Deleting LPR as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility lpr
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Mail as the Facility to Use When Forwarding to the Server
Configuring Mail as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "mail",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>mail</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility mail
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Mail as the Facility to Use When Forwarding to the Server
Deleting Mail as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility mail
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring News as the Facility to Use When Forwarding to the Server
Configuring News as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "news",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>news</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility news
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting News as the Facility to Use When Forwarding to the Server
Deleting News as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility news
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring Syslog as the Facility to Use When Forwarding to the Server
Configuring Syslog as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "syslog",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>syslog</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility syslog
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting Syslog as the Facility to Use When Forwarding to the Server
Deleting Syslog as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility syslog
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring User as the Facility to Use When Forwarding to the Server
Configuring User as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "user",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>user</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility user
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting User as the Facility to Use When Forwarding to the Server
Deleting User as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility user
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring UUCP as the Facility to Use When Forwarding to the Server
Configuring UUCP as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"forwardingFacility": "uucp",
"host": "host0",
"port": "123",
"severity": "notifications",
"transport": "udp",
"vrfName": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list>
<host>host0</host>
<forwardingFacility>uucp</forwardingFacility>
<port>123</port>
<severity>notifications</severity>
<transport>udp</transport>
<vrfName>VRF_1</vrfName>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
logging server host0 5 port 123 use-vrf VRF_1 facility uucp
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting UUCP as the Facility to Use When Forwarding to the Server
Deleting UUCP as the Facility to Use When Forwarding to the Server
POST http://<mgmt0_IP>/api/mo/sys/syslog.json
{
"syslogSyslog": {
"children": [
{
"syslogRemoteDest": {
"attributes": {
"host": "host0",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<syslog-items>
<rdst-items>
<RemoteDest-list xc:operation="delete">
<host>host0</host>
</RemoteDest-list>
</rdst-items>
</syslog-items>
</System>
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no logging server host0 5 port 123 use-vrf VRF_1 facility uucp
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html