Skip to content
Ask AI

syslog

AsterNOS Model for syslog

module: asternos-syslog
+--rw syslog
+--rw remote-server* [ip]
| +--rw ip inet:ip-address-no-zone
| +--rw port? uint16
| +--rw vrf? vrf:vrf-ref
+--rw source-interface? string
PathAccess
/syslogRead-Write
/syslog/remote-serverRead-Write
/syslog/remote-server/ipRead-Write
/syslog/remote-server/portRead-Write
/syslog/remote-server/vrfRead-Write
/syslog/source-interfaceRead-Write

Path

/syslog

Node Type

container

Description

Configuration for the syslog service.

Access

Read-Write

Path

/syslog/remote-server

Node Type

list

Access

Read-Write

Path

/syslog/remote-server/ip

Node Type

leaf

Description

Remote syslog server ip

Access

Read-Write

Data Type

Constraints

Multiple constraints:

  • An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.
  • An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path

/syslog/remote-server/port

Node Type

leaf

Description

Remote syslog server port,default: 514

Access

Read-Write

Data Type

Constraints

Valid range: 1 to 65535

Path

/syslog/remote-server/vrf

Node Type

leaf

Description

Set interface VRF.

Access

Read-Write

Data Type

Constraints

LeafRef pointing to: asternos-vrf:vrf-ref

Path

/syslog/source-interface

Node Type

leaf

Description

Syslog server source-interface

Access

Read-Write

Data Type