IPI-LOGGING-REMOTE
Configure enable
This attribute enables/disables the logging host debug.
Attribute Name: enable
Attribute Type: empty
Netconf edit-config payload
<logging xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-logging">
<debug>
<config>
</enable><!-- operation="delete"-->
</config>
</debug>
</logging>
Command Syntax
debug logging host
Configure enable rsyslog
Enable/disable the rsyslog feature
Attribute Name: enable-rsyslog
Attribute Type: boolean
Netconf edit-config payload
<logging xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-logging">
<remote-logging>
<rsyslog>
<vrf>management</vrf>
<config>
<vrf>management</vrf>
</config>
<enable-rsyslog>true</enable-rsyslog> <!-- operation="delete"-->
</rsyslog>
</remote-logging>
</logging>
Command Syntax
feature rsyslog (vrf management|)
Configure vrf
Enable/disable the rsyslog feature
Attribute Name: enable-rsyslog
Attribute Type: boolean
Netconf edit-config payload
<logging xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-logging">
<remote-logging>
<rsyslog>
<vrf>management</vrf>
<config>
<vrf>management</vrf>
</config>
<enable-rsyslog>true</enable-rsyslog> <!-- operation="delete"-->
</rsyslog>
</remote-logging>
</logging>
Command Syntax
no feature rsyslog (vrf management|)
Configure severity
This atribute is used to specify the kind of messages by severity level. The default value is debug-detail. The possible values for levels are as follows: [Operator] 0-emerg; 1-alert; 2-critical; 3-error; 4-notify; 5-info [Debug] 3-error; 4-warning; 5-notif; 6-debug-info; 7-debug-detail
Attribute Name: severity
Attribute Type: enum (0|1|2|3|4|5|6|7)
Netconf edit-config payload
<logging xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-logging">
<remote-logging>
<rsyslog>
<vrf>management</vrf>
<config>
<vrf>management</vrf>
</config>
<remote-servers>
<remote-server>
<address>A.B.C.D</address>
<config>
<address>1</address>
</config>
<severity>7</severity>
</remote-server>
</remote-servers>
</rsyslog>
</remote-logging>
</logging>
Command Syntax
logging remote server (A.B.C.D|X:X::X:X|HOSTNAME) ((0|1|2|3|4|5|6|7)|) (vrf management|)
Configure remote server facility
This attribute is used to specify the facility level used by syslog messages. The default value is local7. The possible values are local0, local1, local2, local3, local4, local5, local6, local7 and user.
Attribute Name: remote-server-facility
Attribute Type: enum (local0|local1|local2|local3|local4|local5|local6|local7|user)
Default Value: local7
Netconf edit-config payload
<logging xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-logging">
<global>
<config>
<remote-server-facility>local7</remote-server-facility> <!-- operation="delete"-->
</config>
</global>
</logging>
Command Syntax
logging remote facility (local0|local1|local2|local3|local4|local5|local6|local7|user)
Last modified date: 08/22/2023