Configuring Syslog Messages for MRIB
Configuring the Syslog Filter Level for MRIB
Configuring the Syslog Filter Level for MRIB
POST http://<mgmt0_IP>/api/mo/sys/m6rib/inst.json
{
"m6ribInst": {
"children": [
{
"m6ribDom": {
"attributes": {
"name": "default"
},
"children": [
{
"m6ribLogLevel": {
"attributes": {
"level": "1",
"type": "m6rib"
}}}]}}]}}
{
imdata:[]
}
<System>
<m6rib-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<loglevel-items>
<level>1</level>
<type>m6rib</type>
</loglevel-items>
</Dom-list>
</dom-items>
</inst-items>
</m6rib-items>
</System>
Note: This example was added in Release 9.2(1).
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 level m6rib 1
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
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting Set Syslog Filter Level for MRIB
Deleting Set Syslog Filter Level for MRIB
POST http://<mgmt0_IP>/api/mo/sys/m6rib/inst.json
{
"m6ribInst": {
"children": [
{
"m6ribDom": {
"attributes": {
"name": "default"
},
"children": [
{
"m6ribLogLevel": {
"attributes": {
"status": "deleted"
}}}]}}]}}
{
imdata:[]
}
<System>
<m6rib-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<loglevel-items xc:operation="delete">
</loglevel-items>
</Dom-list>
</dom-items>
</inst-items>
</m6rib-items>
</System>
Note: This example was added in Release 9.2(1).
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 level m6rib 1
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
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html