openconfig-interfaces

openconfig-version: 2.3.1

Description

Model for managing network interfaces and subinterfaces. This module also defines convenience types / groupings for other models to create references to interfaces:

base-interface-ref (type) - reference to a base interface interface-ref (grouping) - container for reference to a interface + subinterface interface-ref-state (grouping) - container for read-only (opstate) reference to interface + subinterface

This model reuses data items defined in the IETF YANG model for interfaces described by RFC 7223 with an alternate structure (particularly for operational state data) and with additional configuration items.

Portions of this code were derived from IETF RFC 7223. Please reproduce this note if possible.

IETF code is subject to the following copyright and license: Copyright (c) IETF Trust and the persons identified as authors of the code. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info).

Imports

ietf-interfaces
openconfig-yang-types
openconfig-types
openconfig-extensions

Defined types

interface-id

description:
User-defined identifier for an interface, generally used to name a interface reference. The id can be arbitrary but a useful convention is to use a combination of base interface name and subinterface index.

type: string

base-interface-ref

description:
Reusable type for by-name reference to a base interface. This type may be used in cases where ability to reference a subinterface is not required.

type: leafref

  • path reference: /interfaces/interface/name

Data elements

/
interfaces

description:
Top level container for interfaces, including configuration and state data.

nodetype: container (rw)

/interfaces/
interface

description:
The list of named interfaces on the device.

nodetype: list (rw)

list keys: [name]

/interfaces/interface/
name

description:
References the configured name of the interface

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/interfaces/interface/
config

description:
Configurable items at the global, physical interface level

nodetype: container (rw)

/interfaces/interface/config/
name

description:
The name of the interface. A device MAY restrict the allowed values for this leaf, possibly depending on the type of the interface. For system-controlled interfaces, this leaf is the device-specific name of the interface. The 'config false' list interfaces/interface[name]/state contains the currently existing interfaces on the device. If a client tries to create configuration for a system-controlled interface that is not present in the corresponding state list, the server MAY reject the request if the implementation does not support pre-provisioning of interfaces or if the name refers to an interface that can never exist in the system. A NETCONF server MUST reply with an rpc-error with the error-tag 'invalid-value' in this case. The IETF model in RFC 7223 provides YANG features for the following (i.e., pre-provisioning and arbitrary-names), however they are omitted here: If the device supports pre-provisioning of interface configuration, the 'pre-provisioning' feature is advertised. If the device allows arbitrarily named user-controlled interfaces, the 'arbitrary-names' feature is advertised. When a configured user-controlled interface is created by the system, it is instantiated with the same name in the /interfaces/interface[name]/state list.

nodetype: leaf (rw)

type: string

/interfaces/interface/config/
type

description:
The type of the interface. When an interface entry is created, a server MAY initialize the type leaf with a valid value, e.g., if it is possible to derive the type from the name of the interface. If a client tries to set the type of an interface to a value that can never be used by the system, e.g., if the type is not supported or if the type does not match the name of the interface, the server MUST reject the request. A NETCONF server MUST reply with an rpc-error with the error-tag 'invalid-value' in this case.

nodetype: leaf (rw)

type: identityref

  • base: ietf-if:interface-type

/interfaces/interface/config/
mtu

description:
Set the max transmission unit size in octets for the physical interface. If this is not set, the mtu is set to the operational default -- e.g., 1514 bytes on an Ethernet interface.

nodetype: leaf (rw)

type: uint16

/interfaces/interface/config/
loopback-mode

description:
When set to true, the interface is logically looped back, such that packets that are forwarded via the interface are received on the same interface.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/config/
description

description:
A textual description of the interface. A server implementation MAY map this leaf to the ifAlias MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and ifAlias. The definition of such a mechanism is outside the scope of this document. Since ifAlias is defined to be stored in non-volatile storage, the MIB implementation MUST map ifAlias to the value of 'description' in the persistently stored datastore. Specifically, if the device supports ':startup', when ifAlias is read the device MUST return the value of 'description' in the 'startup' datastore, and when it is written, it MUST be written to the 'running' and 'startup' datastores. Note that it is up to the implementation to decide whether to modify this single leaf in 'startup' or perform an implicit copy-config from 'running' to 'startup'. If the device does not support ':startup', ifAlias MUST be mapped to the 'description' leaf in the 'running' datastore.

nodetype: leaf (rw)

type: string

/interfaces/interface/config/
enabled

description:
This leaf contains the configured, desired state of the interface. Systems that implement the IF-MIB use the value of this leaf in the 'running' datastore to set IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry has been initialized, as described in RFC 2863. Changes in this leaf in the 'running' datastore are reflected in ifAdminStatus, but if ifAdminStatus is changed over SNMP, this leaf is not affected.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/config/
tpid

description:
Optionally set the tag protocol identifier field (TPID) that is accepted on the VLAN

nodetype: leaf (rw)

type: identityref

  • base: oc-vlan-types:TPID_TYPES

default: oc-vlan-types:TPID_0X8100

/interfaces/interface/
state

description:
Operational state data at the global interface level

nodetype: container (ro)

/interfaces/interface/state/
name

description:
The name of the interface. A device MAY restrict the allowed values for this leaf, possibly depending on the type of the interface. For system-controlled interfaces, this leaf is the device-specific name of the interface. The 'config false' list interfaces/interface[name]/state contains the currently existing interfaces on the device. If a client tries to create configuration for a system-controlled interface that is not present in the corresponding state list, the server MAY reject the request if the implementation does not support pre-provisioning of interfaces or if the name refers to an interface that can never exist in the system. A NETCONF server MUST reply with an rpc-error with the error-tag 'invalid-value' in this case. The IETF model in RFC 7223 provides YANG features for the following (i.e., pre-provisioning and arbitrary-names), however they are omitted here: If the device supports pre-provisioning of interface configuration, the 'pre-provisioning' feature is advertised. If the device allows arbitrarily named user-controlled interfaces, the 'arbitrary-names' feature is advertised. When a configured user-controlled interface is created by the system, it is instantiated with the same name in the /interfaces/interface[name]/state list.

nodetype: leaf (ro)

type: string

/interfaces/interface/state/
type

description:
The type of the interface. When an interface entry is created, a server MAY initialize the type leaf with a valid value, e.g., if it is possible to derive the type from the name of the interface. If a client tries to set the type of an interface to a value that can never be used by the system, e.g., if the type is not supported or if the type does not match the name of the interface, the server MUST reject the request. A NETCONF server MUST reply with an rpc-error with the error-tag 'invalid-value' in this case.

nodetype: leaf (ro)

type: identityref

  • base: ietf-if:interface-type

/interfaces/interface/state/
mtu

description:
Set the max transmission unit size in octets for the physical interface. If this is not set, the mtu is set to the operational default -- e.g., 1514 bytes on an Ethernet interface.

nodetype: leaf (ro)

type: uint16

/interfaces/interface/state/
loopback-mode

description:
When set to true, the interface is logically looped back, such that packets that are forwarded via the interface are received on the same interface.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/state/
description

description:
A textual description of the interface. A server implementation MAY map this leaf to the ifAlias MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and ifAlias. The definition of such a mechanism is outside the scope of this document. Since ifAlias is defined to be stored in non-volatile storage, the MIB implementation MUST map ifAlias to the value of 'description' in the persistently stored datastore. Specifically, if the device supports ':startup', when ifAlias is read the device MUST return the value of 'description' in the 'startup' datastore, and when it is written, it MUST be written to the 'running' and 'startup' datastores. Note that it is up to the implementation to decide whether to modify this single leaf in 'startup' or perform an implicit copy-config from 'running' to 'startup'. If the device does not support ':startup', ifAlias MUST be mapped to the 'description' leaf in the 'running' datastore.

nodetype: leaf (ro)

type: string

/interfaces/interface/state/
enabled

description:
This leaf contains the configured, desired state of the interface. Systems that implement the IF-MIB use the value of this leaf in the 'running' datastore to set IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry has been initialized, as described in RFC 2863. Changes in this leaf in the 'running' datastore are reflected in ifAdminStatus, but if ifAdminStatus is changed over SNMP, this leaf is not affected.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/state/
ifindex

description:
System assigned number for each interface. Corresponds to ifIndex object in SNMP Interface MIB

nodetype: leaf (ro)

type: uint32

/interfaces/interface/state/
admin-status

description:
The desired state of the interface. In RFC 7223 this leaf has the same read semantics as ifAdminStatus. Here, it reflects the administrative state as set by enabling or disabling the interface.

nodetype: leaf (ro)

type: enumeration

  • DOWN
    Not ready to pass packets and not in some test mode.
  • TESTING
    In some test mode.
  • UP
    Ready to pass packets.

/interfaces/interface/state/
oper-status

description:
The current operational state of the interface. This leaf has the same semantics as ifOperStatus.

nodetype: leaf (ro)

type: enumeration

  • DORMANT
    Waiting for some external event.
  • LOWER_LAYER_DOWN
    Down due to state of lower-layer interface(s).
  • UNKNOWN
    Status cannot be determined for some reason.
  • TESTING
    In some test mode. No operational packets can be passed.
  • UP
    Ready to pass packets.
  • DOWN
    The interface does not pass any packets.
  • NOT_PRESENT
    Some component (typically hardware) is missing.

/interfaces/interface/state/
last-change

description:
This timestamp indicates the absolute time of the last state change of the interface (e.g., up-to-down transition). This is different than the SNMP ifLastChange object in the standard interface MIB in that it is not relative to the system boot time (i.e,. sysUpTime). The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

nodetype: leaf (ro)

type: oc-types:timeticks64

/interfaces/interface/state/
counters

description:
A collection of interface-related statistics objects.

nodetype: container (ro)

/interfaces/interface/state/counters/
in-octets

description:
The total number of octets received on the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
in-unicast-pkts

description:
The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were not addressed to a multicast or broadcast address at this sub-layer. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
in-broadcast-pkts

description:
The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were addressed to a broadcast address at this sub-layer. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
in-multicast-pkts

description:
The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were addressed to a multicast address at this sub-layer. For a MAC-layer protocol, this includes both Group and Functional addresses. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
in-discards

description:
The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
in-errors

description:
For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
in-unknown-protos

description:
For packet-oriented interfaces, the number of packets received via the interface that were discarded because of an unknown or unsupported protocol. For character-oriented or fixed-length interfaces that support protocol multiplexing, the number of transmission units received via the interface that were discarded because of an unknown or unsupported protocol. For any interface that does not support protocol multiplexing, this counter is not present. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
in-fcs-errors

description:
Number of received packets which had errors in the frame check sequence (FCS), i.e., framing errors. Discontinuities in the value of this counter can occur when the device is re-initialization as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
out-octets

description:
The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
out-unicast-pkts

description:
The total number of packets that higher-level protocols requested be transmitted, and that were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
out-broadcast-pkts

description:
The total number of packets that higher-level protocols requested be transmitted, and that were addressed to a broadcast address at this sub-layer, including those that were discarded or not sent. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
out-multicast-pkts

description:
The total number of packets that higher-level protocols requested be transmitted, and that were addressed to a multicast address at this sub-layer, including those that were discarded or not sent. For a MAC-layer protocol, this includes both Group and Functional addresses. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
out-discards

description:
The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
out-errors

description:
For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
carrier-transitions

description:
Number of times the interface state has transitioned between up and down since the time the device restarted or the last-clear time, whichever is most recent.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/state/counters/
last-clear

description:
Timestamp of the last time the interface counters were cleared. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

nodetype: leaf (ro)

type: oc-types:timeticks64

/interfaces/interface/state/
tpid

description:
Optionally set the tag protocol identifier field (TPID) that is accepted on the VLAN

nodetype: leaf (ro)

type: identityref

  • base: oc-vlan-types:TPID_TYPES

default: oc-vlan-types:TPID_0X8100

/interfaces/interface/
hold-time

description:
Top-level container for hold-time settings to enable dampening advertisements of interface transitions.

nodetype: container (rw)

/interfaces/interface/hold-time/
config

description:
Configuration data for interface hold-time settings.

nodetype: container (rw)

/interfaces/interface/hold-time/config/
up

description:
Dampens advertisement when the interface transitions from down to up. A zero value means dampening is turned off, i.e., immediate notification.

nodetype: leaf (rw)

type: uint32

default: 0

/interfaces/interface/hold-time/config/
down

description:
Dampens advertisement when the interface transitions from up to down. A zero value means dampening is turned off, i.e., immediate notification.

nodetype: leaf (rw)

type: uint32

default: 0

/interfaces/interface/hold-time/
state

description:
Operational state data for interface hold-time.

nodetype: container (ro)

/interfaces/interface/hold-time/state/
up

description:
Dampens advertisement when the interface transitions from down to up. A zero value means dampening is turned off, i.e., immediate notification.

nodetype: leaf (ro)

type: uint32

default: 0

/interfaces/interface/hold-time/state/
down

description:
Dampens advertisement when the interface transitions from up to down. A zero value means dampening is turned off, i.e., immediate notification.

nodetype: leaf (ro)

type: uint32

default: 0

/interfaces/interface/
subinterfaces

description:
Enclosing container for the list of subinterfaces associated with a physical interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/
subinterface

description:
The list of subinterfaces (logical interfaces) associated with a physical interface

nodetype: list (rw)

list keys: [index]

/interfaces/interface/subinterfaces/subinterface/
index

description:
The index number of the subinterface -- used to address the logical interface

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/index

/interfaces/interface/subinterfaces/subinterface/
config

description:
Configurable items at the subinterface level

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/config/
index

description:
The index of the subinterface, or logical interface number. On systems with no support for subinterfaces, or not using subinterfaces, this value should default to 0, i.e., the default subinterface.

nodetype: leaf (rw)

type: uint32

default: 0

/interfaces/interface/subinterfaces/subinterface/config/
description

description:
A textual description of the interface. A server implementation MAY map this leaf to the ifAlias MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and ifAlias. The definition of such a mechanism is outside the scope of this document. Since ifAlias is defined to be stored in non-volatile storage, the MIB implementation MUST map ifAlias to the value of 'description' in the persistently stored datastore. Specifically, if the device supports ':startup', when ifAlias is read the device MUST return the value of 'description' in the 'startup' datastore, and when it is written, it MUST be written to the 'running' and 'startup' datastores. Note that it is up to the implementation to decide whether to modify this single leaf in 'startup' or perform an implicit copy-config from 'running' to 'startup'. If the device does not support ':startup', ifAlias MUST be mapped to the 'description' leaf in the 'running' datastore.

nodetype: leaf (rw)

type: string

/interfaces/interface/subinterfaces/subinterface/config/
enabled

description:
This leaf contains the configured, desired state of the interface. Systems that implement the IF-MIB use the value of this leaf in the 'running' datastore to set IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry has been initialized, as described in RFC 2863. Changes in this leaf in the 'running' datastore are reflected in ifAdminStatus, but if ifAdminStatus is changed over SNMP, this leaf is not affected.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/
state

description:
Operational state data for logical interfaces

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/state/
index

description:
The index of the subinterface, or logical interface number. On systems with no support for subinterfaces, or not using subinterfaces, this value should default to 0, i.e., the default subinterface.

nodetype: leaf (ro)

type: uint32

default: 0

/interfaces/interface/subinterfaces/subinterface/state/
description

description:
A textual description of the interface. A server implementation MAY map this leaf to the ifAlias MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and ifAlias. The definition of such a mechanism is outside the scope of this document. Since ifAlias is defined to be stored in non-volatile storage, the MIB implementation MUST map ifAlias to the value of 'description' in the persistently stored datastore. Specifically, if the device supports ':startup', when ifAlias is read the device MUST return the value of 'description' in the 'startup' datastore, and when it is written, it MUST be written to the 'running' and 'startup' datastores. Note that it is up to the implementation to decide whether to modify this single leaf in 'startup' or perform an implicit copy-config from 'running' to 'startup'. If the device does not support ':startup', ifAlias MUST be mapped to the 'description' leaf in the 'running' datastore.

nodetype: leaf (ro)

type: string

/interfaces/interface/subinterfaces/subinterface/state/
enabled

description:
This leaf contains the configured, desired state of the interface. Systems that implement the IF-MIB use the value of this leaf in the 'running' datastore to set IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry has been initialized, as described in RFC 2863. Changes in this leaf in the 'running' datastore are reflected in ifAdminStatus, but if ifAdminStatus is changed over SNMP, this leaf is not affected.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/state/
name

description:
The system-assigned name for the sub-interface. This MAY be a combination of the base interface name and the subinterface index, or some other convention used by the system.

nodetype: leaf (ro)

type: string

/interfaces/interface/subinterfaces/subinterface/state/
ifindex

description:
System assigned number for each interface. Corresponds to ifIndex object in SNMP Interface MIB

nodetype: leaf (ro)

type: uint32

/interfaces/interface/subinterfaces/subinterface/state/
admin-status

description:
The desired state of the interface. In RFC 7223 this leaf has the same read semantics as ifAdminStatus. Here, it reflects the administrative state as set by enabling or disabling the interface.

nodetype: leaf (ro)

type: enumeration

  • DOWN
    Not ready to pass packets and not in some test mode.
  • TESTING
    In some test mode.
  • UP
    Ready to pass packets.

/interfaces/interface/subinterfaces/subinterface/state/
oper-status

description:
The current operational state of the interface. This leaf has the same semantics as ifOperStatus.

nodetype: leaf (ro)

type: enumeration

  • DORMANT
    Waiting for some external event.
  • LOWER_LAYER_DOWN
    Down due to state of lower-layer interface(s).
  • UNKNOWN
    Status cannot be determined for some reason.
  • TESTING
    In some test mode. No operational packets can be passed.
  • UP
    Ready to pass packets.
  • DOWN
    The interface does not pass any packets.
  • NOT_PRESENT
    Some component (typically hardware) is missing.

/interfaces/interface/subinterfaces/subinterface/state/
last-change

description:
This timestamp indicates the absolute time of the last state change of the interface (e.g., up-to-down transition). This is different than the SNMP ifLastChange object in the standard interface MIB in that it is not relative to the system boot time (i.e,. sysUpTime). The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

nodetype: leaf (ro)

type: oc-types:timeticks64

/interfaces/interface/subinterfaces/subinterface/state/
counters

description:
A collection of interface-related statistics objects.

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-octets

description:
The total number of octets received on the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-unicast-pkts

description:
The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were not addressed to a multicast or broadcast address at this sub-layer. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-broadcast-pkts

description:
The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were addressed to a broadcast address at this sub-layer. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-multicast-pkts

description:
The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were addressed to a multicast address at this sub-layer. For a MAC-layer protocol, this includes both Group and Functional addresses. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-discards

description:
The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-errors

description:
For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-unknown-protos

description:
For packet-oriented interfaces, the number of packets received via the interface that were discarded because of an unknown or unsupported protocol. For character-oriented or fixed-length interfaces that support protocol multiplexing, the number of transmission units received via the interface that were discarded because of an unknown or unsupported protocol. For any interface that does not support protocol multiplexing, this counter is not present. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
in-fcs-errors

description:
Number of received packets which had errors in the frame check sequence (FCS), i.e., framing errors. Discontinuities in the value of this counter can occur when the device is re-initialization as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
out-octets

description:
The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
out-unicast-pkts

description:
The total number of packets that higher-level protocols requested be transmitted, and that were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
out-broadcast-pkts

description:
The total number of packets that higher-level protocols requested be transmitted, and that were addressed to a broadcast address at this sub-layer, including those that were discarded or not sent. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
out-multicast-pkts

description:
The total number of packets that higher-level protocols requested be transmitted, and that were addressed to a multicast address at this sub-layer, including those that were discarded or not sent. For a MAC-layer protocol, this includes both Group and Functional addresses. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
out-discards

description:
The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
out-errors

description:
For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of 'last-clear'.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
carrier-transitions

description:
Number of times the interface state has transitioned between up and down since the time the device restarted or the last-clear time, whichever is most recent.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/state/counters/
last-clear

description:
Timestamp of the last time the interface counters were cleared. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

nodetype: leaf (ro)

type: oc-types:timeticks64

/interfaces/interface/subinterfaces/subinterface/
vlan

description:
Enclosing container for VLAN interface-specific data on subinterfaces

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/vlan/
config

description:
Configuration parameters for VLANs

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/vlan/config/
vlan-id

description:
VLAN id for the subinterface -- specified inline for the case of a local VLAN. The id is scoped to the subinterface, and could be repeated on different subinterfaces.

nodetype: leaf (rw)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:qinq-id

/interfaces/interface/subinterfaces/subinterface/vlan/
state

description:
State variables for VLANs

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/vlan/state/
vlan-id

description:
VLAN id for the subinterface -- specified inline for the case of a local VLAN. The id is scoped to the subinterface, and could be repeated on different subinterfaces.

nodetype: leaf (ro)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:qinq-id

/interfaces/interface/subinterfaces/subinterface/
ipv4

description:
Parameters for the IPv4 address family.

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/
addresses

description:
Enclosing container for address list

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/
address

description:
The list of configured IPv4 addresses on the interface.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/
config

description:
Configuration data for each configured IPv4 address on the interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/config/
ip

description:
The IPv4 address on the interface.

nodetype: leaf (rw)

type: oc-inet:ipv4-address

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/config/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (rw)

type: uint8

  • range: 0..32

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/
state

description:
Operational state data for each IPv4 address configured on the interface

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/state/
ip

description:
The IPv4 address on the interface.

nodetype: leaf (ro)

type: oc-inet:ipv4-address

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/state/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (ro)

type: uint8

  • range: 0..32

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/state/
origin

description:
The origin of this address, e.g., statically configured, assigned by DHCP, etc..

nodetype: leaf (ro)

type: ip-address-origin

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/
vrrp

description:
Enclosing container for VRRP groups handled by this IP interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/
vrrp-group

description:
List of VRRP groups, keyed by virtual router id

nodetype: list (rw)

list keys: [virtual-router-id]

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/
virtual-router-id

description:
References the configured virtual router id for this VRRP group

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/virtual-router-id

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/
config

description:
Configuration data for the VRRP group

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/config/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (rw)

type: uint8

  • range: 1..255

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/config/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (rw)

type: oc-inet:ip-address

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/config/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (rw)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/config/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/config/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (rw)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/config/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/config/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (rw)

type: uint16

  • range: 1..4095

default: 100

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/
state

description:
Operational state data for the VRRP group

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (ro)

type: uint8

  • range: 1..255

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (ro)

type: oc-inet:ip-address

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (ro)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (ro)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (ro)

type: uint16

  • range: 1..4095

default: 100

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/state/
current-priority

description:
Operational value of the priority for the interface in the VRRP group

nodetype: leaf (ro)

type: uint8

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/
interface-tracking

description:
Top-level container for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/
config

description:
Configuration data for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/config/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/config/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (rw)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/
state

description:
Operational state data for VRRP interface tracking

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/state/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/state/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (ro)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv4/
proxy-arp

description:
Configuration and operational state parameters relating to proxy ARP. This functionality allows a system to respond to ARP requests that are not explicitly destined to the local system.

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/proxy-arp/
config

description:
Configuration parameters for proxy ARP

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/proxy-arp/config/
mode

description:
When set to a value other than DISABLE, the local system should respond to ARP requests that are for target addresses other than those that are configured on the local subinterface using its own MAC address as the target hardware address. If the REMOTE_ONLY value is specified, replies are only sent when the target address falls outside the locally configured subnets on the interface, whereas with the ALL value, all requests, regardless of their target address are replied to.

nodetype: leaf (rw)

type: enumeration

  • ALL
    The system responds to ARP requests where the sender and target IP addresses are in different subnets, as well as those where they are in the same subnet.
  • DISABLE
    The system should not respond to ARP requests that do not specify an IP address configured on the local subinterface as the target address.
  • REMOTE_ONLY
    The system responds to ARP requests only when the sender and target IP addresses are in different subnets.

default: DISABLE

/interfaces/interface/subinterfaces/subinterface/ipv4/proxy-arp/
state

description:
Operational state parameters for proxy ARP

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/proxy-arp/state/
mode

description:
When set to a value other than DISABLE, the local system should respond to ARP requests that are for target addresses other than those that are configured on the local subinterface using its own MAC address as the target hardware address. If the REMOTE_ONLY value is specified, replies are only sent when the target address falls outside the locally configured subnets on the interface, whereas with the ALL value, all requests, regardless of their target address are replied to.

nodetype: leaf (ro)

type: enumeration

  • ALL
    The system responds to ARP requests where the sender and target IP addresses are in different subnets, as well as those where they are in the same subnet.
  • DISABLE
    The system should not respond to ARP requests that do not specify an IP address configured on the local subinterface as the target address.
  • REMOTE_ONLY
    The system responds to ARP requests only when the sender and target IP addresses are in different subnets.

default: DISABLE

/interfaces/interface/subinterfaces/subinterface/ipv4/
neighbors

description:
Enclosing container for neighbor list

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/
neighbor

description:
A list of mappings from IPv4 addresses to link-layer addresses. Entries in this list are used as static entries in the ARP Cache.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/neighbor/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/neighbor/
config

description:
Configuration data for each configured IPv4 address on the interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/neighbor/config/
ip

description:
The IPv4 address of the neighbor node.

nodetype: leaf (rw)

type: oc-inet:ipv4-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (rw)

type: oc-yang:phys-address

/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/neighbor/
state

description:
Operational state data for each IPv4 address configured on the interface

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/neighbor/state/
ip

description:
The IPv4 address of the neighbor node.

nodetype: leaf (ro)

type: oc-inet:ipv4-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (ro)

type: oc-yang:phys-address

/interfaces/interface/subinterfaces/subinterface/ipv4/neighbors/neighbor/state/
origin

description:
The origin of this neighbor entry, static or dynamic.

nodetype: leaf (ro)

type: neighbor-origin

/interfaces/interface/subinterfaces/subinterface/ipv4/
unnumbered

description:
Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/
config

description:
Configuration data for unnumbered interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/config/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/
state

description:
Operational state data for unnumbered interfaces

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/state/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv4/unnumbered/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/subinterfaces/subinterface/ipv4/
config

description:
Top-level IPv4 configuration data for the interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv4/config/
enabled

description:
Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv4/config/
mtu

description:
The size, in octets, of the largest IPv4 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (rw)

type: uint16

  • range: 68..max

/interfaces/interface/subinterfaces/subinterface/ipv4/config/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv4/
state

description:
Top level IPv4 operational state data

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/state/
enabled

description:
Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv4/state/
mtu

description:
The size, in octets, of the largest IPv4 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (ro)

type: uint16

  • range: 68..max

/interfaces/interface/subinterfaces/subinterface/ipv4/state/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv4/state/
counters

description:
Packet and byte counters for IP transmission and reception for the address family.

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
in-pkts

description:
The total number of IP packets received for the specified address family, including those received in error

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
in-octets

description:
The total number of octets received in input IP packets for the specified address family, including those received in error.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
in-error-pkts

description:
Number of IP packets discarded due to errors for the specified address family, including errors in the IP header, no route found to the IP destination, invalid address, unknown protocol, etc.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
in-forwarded-pkts

description:
The number of input packets for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
in-forwarded-octets

description:
The number of octets received in input IP packets for the specified address family for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
in-discarded-pkts

description:
The number of input IP packets for the specified address family, for which no problems were encountered to prevent their continued processing, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
out-pkts

description:
The total number of IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
out-octets

description:
The total number of octets in IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
out-error-pkts

description:
Number of IP packets for the specified address family locally generated and discarded due to errors, including no route found to the IP destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
out-forwarded-pkts

description:
The number of packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
out-forwarded-octets

description:
The number of octets in packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv4/state/counters/
out-discarded-pkts

description:
The number of output IP packets for the specified address family for which no problem was encountered to prevent their transmission to their destination, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/
ipv6

description:
Parameters for the IPv6 address family.

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/
addresses

description:
Enclosing container for address list

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/
address

description:
The list of configured IPv6 addresses on the interface.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/
config

description:
Configuration data for each IPv6 address on the interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/config/
ip

description:
The IPv6 address on the interface.

nodetype: leaf (rw)

type: oc-inet:ipv6-address

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/config/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (rw)

type: uint8

  • range: 0..128

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/
state

description:
State data for each IPv6 address on the interface

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/state/
ip

description:
The IPv6 address on the interface.

nodetype: leaf (ro)

type: oc-inet:ipv6-address

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/state/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (ro)

type: uint8

  • range: 0..128

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/state/
origin

description:
The origin of this address, e.g., static, dhcp, etc.

nodetype: leaf (ro)

type: ip-address-origin

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/state/
status

description:
The status of an address. Most of the states correspond to states from the IPv6 Stateless Address Autoconfiguration protocol.

nodetype: leaf (ro)

type: enumeration

  • TENTATIVE
    The uniqueness of the address on the link is being verified. Addresses in this state should not be used for general communication and should only be used to determine the uniqueness of the address.
  • DEPRECATED
    This is a valid but deprecated address that should no longer be used as a source address in new communications, but packets addressed to such an address are processed as expected.
  • INACCESSIBLE
    The address is not accessible because the interface to which this address is assigned is not operational.
  • INVALID
    This isn't a valid address, and it shouldn't appear as the destination or source address of a packet.
  • DUPLICATE
    The address has been determined to be non-unique on the link and so must not be used.
  • PREFERRED
    This is a valid address that can appear as the destination or source address of a packet.
  • UNKNOWN
    The status cannot be determined for some reason.
  • OPTIMISTIC
    The address is available for use, subject to restrictions, while its uniqueness on a link is being verified.

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/
vrrp

description:
Enclosing container for VRRP groups handled by this IP interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/
vrrp-group

description:
List of VRRP groups, keyed by virtual router id

nodetype: list (rw)

list keys: [virtual-router-id]

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/
virtual-router-id

description:
References the configured virtual router id for this VRRP group

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/virtual-router-id

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/
config

description:
Configuration data for the VRRP group

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/config/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (rw)

type: uint8

  • range: 1..255

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/config/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (rw)

type: oc-inet:ip-address

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/config/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (rw)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/config/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/config/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (rw)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/config/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/config/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (rw)

type: uint16

  • range: 1..4095

default: 100

description:
For VRRP on IPv6 interfaces, sets the virtual link local address

nodetype: leaf (rw)

type: oc-inet:ip-address

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/
state

description:
Operational state data for the VRRP group

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (ro)

type: uint8

  • range: 1..255

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (ro)

type: oc-inet:ip-address

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (ro)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (ro)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (ro)

type: uint16

  • range: 1..4095

default: 100

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/state/
current-priority

description:
Operational value of the priority for the interface in the VRRP group

nodetype: leaf (ro)

type: uint8

description:
For VRRP on IPv6 interfaces, sets the virtual link local address

nodetype: leaf (ro)

type: oc-inet:ip-address

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/
interface-tracking

description:
Top-level container for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/
config

description:
Configuration data for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/config/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/config/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (rw)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/
state

description:
Operational state data for VRRP interface tracking

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/state/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/state/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (ro)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/subinterfaces/subinterface/ipv6/
router-advertisement

description:
Configuration and operational state parameters relating to router advertisements.

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/
config

description:
Configuration parameters relating to router advertisements for IPv6.

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/config/
interval

description:
The interval between periodic router advertisement neighbor discovery messages sent on this interface expressed in seconds.

nodetype: leaf (rw)

type: uint32

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/config/
lifetime

description:
The lifetime advertised in the router advertisement neighbor discovery message on this interface.

nodetype: leaf (rw)

type: uint32

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/config/
suppress

description:
When set to true, router advertisement neighbor discovery messages are not transmitted on this interface.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/
state

description:
Operational state parameters relating to router advertisements for IPv6.

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/state/
interval

description:
The interval between periodic router advertisement neighbor discovery messages sent on this interface expressed in seconds.

nodetype: leaf (ro)

type: uint32

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/state/
lifetime

description:
The lifetime advertised in the router advertisement neighbor discovery message on this interface.

nodetype: leaf (ro)

type: uint32

/interfaces/interface/subinterfaces/subinterface/ipv6/router-advertisement/state/
suppress

description:
When set to true, router advertisement neighbor discovery messages are not transmitted on this interface.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/
neighbors

description:
Enclosing container for list of IPv6 neighbors

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/
neighbor

description:
List of IPv6 neighbors

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/
ip

description:
References the configured IP neighbor address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/
config

description:
Configuration data for each IPv6 address on the interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/config/
ip

description:
The IPv6 address of the neighbor node.

nodetype: leaf (rw)

type: oc-inet:ipv6-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (rw)

type: oc-yang:phys-address

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/
state

description:
State data for each IPv6 address on the interface

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/state/
ip

description:
The IPv6 address of the neighbor node.

nodetype: leaf (ro)

type: oc-inet:ipv6-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (ro)

type: oc-yang:phys-address

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/state/
origin

description:
The origin of this neighbor entry.

nodetype: leaf (ro)

type: neighbor-origin

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/state/
is-router

description:
Indicates that the neighbor node acts as a router.

nodetype: leaf (ro)

type: empty

/interfaces/interface/subinterfaces/subinterface/ipv6/neighbors/neighbor/state/
neighbor-state

description:
The Neighbor Unreachability Detection state of this entry.

nodetype: leaf (ro)

type: enumeration

  • DELAY
    The neighbor is no longer known to be reachable, and traffic has recently been sent to the neighbor. Rather than probe the neighbor immediately, however, delay sending probes for a short while in order to give upper-layer protocols a chance to provide reachability confirmation.
  • STALE
    The neighbor is no longer known to be reachable, but until traffic is sent to the neighbor no attempt should be made to verify its reachability.
  • PROBE
    The neighbor is no longer known to be reachable, and unicast Neighbor Solicitation probes are being sent to verify reachability.
  • REACHABLE
    Roughly speaking, the neighbor is known to have been reachable recently (within tens of seconds ago).
  • INCOMPLETE
    Address resolution is in progress, and the link-layer address of the neighbor has not yet been determined.

/interfaces/interface/subinterfaces/subinterface/ipv6/
unnumbered

description:
Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/
config

description:
Configuration data for unnumbered interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/config/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/
state

description:
Operational state data for unnumbered interfaces

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/state/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/subinterfaces/subinterface/ipv6/unnumbered/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/subinterfaces/subinterface/ipv6/
config

description:
Top-level config data for the IPv6 interface

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/config/
enabled

description:
Controls whether IPv6 is enabled or disabled on this interface. When IPv6 is enabled, this interface is connected to an IPv6 stack, and the interface can send and receive IPv6 packets.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv6/config/
mtu

description:
The size, in octets, of the largest IPv6 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (rw)

type: uint32

  • range: 1280..max

/interfaces/interface/subinterfaces/subinterface/ipv6/config/
dup-addr-detect-transmits

description:
The number of consecutive Neighbor Solicitation messages sent while performing Duplicate Address Detection on a tentative address. A value of zero indicates that Duplicate Address Detection is not performed on tentative addresses. A value of one indicates a single transmission with no follow-up retransmissions.

nodetype: leaf (rw)

type: uint32

default: 1

/interfaces/interface/subinterfaces/subinterface/ipv6/config/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/
state

description:
Top-level operational state data for the IPv6 interface

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/state/
enabled

description:
Controls whether IPv6 is enabled or disabled on this interface. When IPv6 is enabled, this interface is connected to an IPv6 stack, and the interface can send and receive IPv6 packets.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv6/state/
mtu

description:
The size, in octets, of the largest IPv6 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (ro)

type: uint32

  • range: 1280..max

/interfaces/interface/subinterfaces/subinterface/ipv6/state/
dup-addr-detect-transmits

description:
The number of consecutive Neighbor Solicitation messages sent while performing Duplicate Address Detection on a tentative address. A value of zero indicates that Duplicate Address Detection is not performed on tentative addresses. A value of one indicates a single transmission with no follow-up retransmissions.

nodetype: leaf (ro)

type: uint32

default: 1

/interfaces/interface/subinterfaces/subinterface/ipv6/state/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/state/
counters

description:
Packet and byte counters for IP transmission and reception for the address family.

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
in-pkts

description:
The total number of IP packets received for the specified address family, including those received in error

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
in-octets

description:
The total number of octets received in input IP packets for the specified address family, including those received in error.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
in-error-pkts

description:
Number of IP packets discarded due to errors for the specified address family, including errors in the IP header, no route found to the IP destination, invalid address, unknown protocol, etc.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
in-forwarded-pkts

description:
The number of input packets for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
in-forwarded-octets

description:
The number of octets received in input IP packets for the specified address family for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
in-discarded-pkts

description:
The number of input IP packets for the specified address family, for which no problems were encountered to prevent their continued processing, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
out-pkts

description:
The total number of IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
out-octets

description:
The total number of octets in IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
out-error-pkts

description:
Number of IP packets for the specified address family locally generated and discarded due to errors, including no route found to the IP destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
out-forwarded-pkts

description:
The number of packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
out-forwarded-octets

description:
The number of octets in packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/state/counters/
out-discarded-pkts

description:
The number of output IP packets for the specified address family for which no problem was encountered to prevent their transmission to their destination, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/subinterfaces/subinterface/ipv6/
autoconf

description:
Top-level container for IPv6 autoconf

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/
config

description:
[adapted from IETF IP model RFC 7277] Parameters to control the autoconfiguration of IPv6 addresses, as described in RFC 4862.

nodetype: container (rw)

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/config/
create-global-addresses

description:
[adapted from IETF IP model RFC 7277] If enabled, the host creates global addresses as described in RFC 4862.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/config/
create-temporary-addresses

description:
[adapted from IETF IP model RFC 7277] If enabled, the host creates temporary addresses as described in RFC 4941.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/config/
temporary-valid-lifetime

description:
[adapted from IETF IP model RFC 7277] The time period during which the temporary address is valid.

nodetype: leaf (rw)

type: uint32

default: 604800

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/config/
temporary-preferred-lifetime

description:
[adapted from IETF IP model RFC 7277] The time period during which the temporary address is preferred.

nodetype: leaf (rw)

type: uint32

default: 86400

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/
state

description:
Operational state data

nodetype: container (ro)

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/state/
create-global-addresses

description:
[adapted from IETF IP model RFC 7277] If enabled, the host creates global addresses as described in RFC 4862.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/state/
create-temporary-addresses

description:
[adapted from IETF IP model RFC 7277] If enabled, the host creates temporary addresses as described in RFC 4941.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/state/
temporary-valid-lifetime

description:
[adapted from IETF IP model RFC 7277] The time period during which the temporary address is valid.

nodetype: leaf (ro)

type: uint32

default: 604800

/interfaces/interface/subinterfaces/subinterface/ipv6/autoconf/state/
temporary-preferred-lifetime

description:
[adapted from IETF IP model RFC 7277] The time period during which the temporary address is preferred.

nodetype: leaf (ro)

type: uint32

default: 86400

/interfaces/interface/
ethernet

description:
Top-level container for ethernet configuration and state

nodetype: container (rw)

/interfaces/interface/ethernet/
config

description:
Configuration data for ethernet interfaces

nodetype: container (rw)

/interfaces/interface/ethernet/config/
mac-address

description:
Assigns a MAC address to the Ethernet interface. If not specified, the corresponding operational state leaf is expected to show the system-assigned MAC address.

nodetype: leaf (rw)

type: oc-yang:mac-address

/interfaces/interface/ethernet/config/
auto-negotiate

description:
Set to TRUE to request the interface to auto-negotiate transmission parameters with its peer interface. When set to FALSE, the transmission parameters are specified manually.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/ethernet/config/
duplex-mode

description:
When auto-negotiate is TRUE, this optionally sets the duplex mode that will be advertised to the peer. If unspecified, the interface should negotiate the duplex mode directly (typically full-duplex). When auto-negotiate is FALSE, this sets the duplex mode on the interface directly.

nodetype: leaf (rw)

type: enumeration

  • FULL
    Full duplex mode
  • HALF
    Half duplex mode

/interfaces/interface/ethernet/config/
port-speed

description:
When auto-negotiate is TRUE, this optionally sets the port-speed mode that will be advertised to the peer for negotiation. If unspecified, it is expected that the interface will select the highest speed available based on negotiation. When auto-negotiate is set to FALSE, sets the link speed to a fixed value -- supported values are defined by ETHERNET_SPEED identities

nodetype: leaf (rw)

type: identityref

  • base: ETHERNET_SPEED

/interfaces/interface/ethernet/config/
enable-flow-control

description:
Enable or disable flow control for this interface. Ethernet flow control is a mechanism by which a receiver may send PAUSE frames to a sender to stop transmission for a specified time. This setting should override auto-negotiated flow control settings. If left unspecified, and auto-negotiate is TRUE, flow control mode is negotiated with the peer interface.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/ethernet/config/
aggregate-id

description:
Specify the logical aggregate interface to which this interface belongs

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/ethernet/
state

description:
State variables for Ethernet interfaces

nodetype: container (ro)

/interfaces/interface/ethernet/state/
mac-address

description:
Assigns a MAC address to the Ethernet interface. If not specified, the corresponding operational state leaf is expected to show the system-assigned MAC address.

nodetype: leaf (ro)

type: oc-yang:mac-address

/interfaces/interface/ethernet/state/
auto-negotiate

description:
Set to TRUE to request the interface to auto-negotiate transmission parameters with its peer interface. When set to FALSE, the transmission parameters are specified manually.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/ethernet/state/
duplex-mode

description:
When auto-negotiate is TRUE, this optionally sets the duplex mode that will be advertised to the peer. If unspecified, the interface should negotiate the duplex mode directly (typically full-duplex). When auto-negotiate is FALSE, this sets the duplex mode on the interface directly.

nodetype: leaf (ro)

type: enumeration

  • FULL
    Full duplex mode
  • HALF
    Half duplex mode

/interfaces/interface/ethernet/state/
port-speed

description:
When auto-negotiate is TRUE, this optionally sets the port-speed mode that will be advertised to the peer for negotiation. If unspecified, it is expected that the interface will select the highest speed available based on negotiation. When auto-negotiate is set to FALSE, sets the link speed to a fixed value -- supported values are defined by ETHERNET_SPEED identities

nodetype: leaf (ro)

type: identityref

  • base: ETHERNET_SPEED

/interfaces/interface/ethernet/state/
enable-flow-control

description:
Enable or disable flow control for this interface. Ethernet flow control is a mechanism by which a receiver may send PAUSE frames to a sender to stop transmission for a specified time. This setting should override auto-negotiated flow control settings. If left unspecified, and auto-negotiate is TRUE, flow control mode is negotiated with the peer interface.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/ethernet/state/
hw-mac-address

description:
Represenets the 'burned-in', or system-assigned, MAC address for the Ethernet interface.

nodetype: leaf (ro)

type: oc-yang:mac-address

/interfaces/interface/ethernet/state/
negotiated-duplex-mode

description:
When auto-negotiate is set to TRUE, and the interface has completed auto-negotiation with the remote peer, this value shows the duplex mode that has been negotiated.

nodetype: leaf (ro)

type: enumeration

  • FULL
    Full duplex mode
  • HALF
    Half duplex mode

/interfaces/interface/ethernet/state/
negotiated-port-speed

description:
When auto-negotiate is set to TRUE, and the interface has completed auto-negotiation with the remote peer, this value shows the interface speed that has been negotiated.

nodetype: leaf (ro)

type: identityref

  • base: ETHERNET_SPEED

/interfaces/interface/ethernet/state/
counters

description:
Ethernet interface counters

nodetype: container (ro)

/interfaces/interface/ethernet/state/counters/
in-mac-control-frames

description:
MAC layer control frames received on the interface

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
in-mac-pause-frames

description:
MAC layer PAUSE frames received on the interface

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
in-oversize-frames

description:
Number of oversize frames received on the interface

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
in-jabber-frames

description:
Number of jabber frames received on the interface. Jabber frames are typically defined as oversize frames which also have a bad CRC. Implementations may use slightly different definitions of what constitutes a jabber frame. Often indicative of a NIC hardware problem.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
in-fragment-frames

description:
Number of fragment frames received on the interface.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
in-8021q-frames

description:
Number of 802.1q tagged frames received on the interface

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
in-crc-errors

description:
Number of receive error events due to FCS/CRC check failure

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
out-mac-control-frames

description:
MAC layer control frames sent on the interface

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
out-mac-pause-frames

description:
MAC layer PAUSE frames sent on the interface

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/counters/
out-8021q-frames

description:
Number of 802.1q tagged frames sent on the interface

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/ethernet/state/
aggregate-id

description:
Specify the logical aggregate interface to which this interface belongs

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/ethernet/
switched-vlan

description:
Enclosing container for VLAN interface-specific data on Ethernet interfaces. These are for standard L2, switched-style VLANs.

nodetype: container (rw)

/interfaces/interface/ethernet/switched-vlan/
config

description:
Configuration parameters for VLANs

nodetype: container (rw)

/interfaces/interface/ethernet/switched-vlan/config/
interface-mode

description:
Set the interface to access or trunk mode for VLANs

nodetype: leaf (rw)

type: oc-vlan-types:vlan-mode-type

/interfaces/interface/ethernet/switched-vlan/config/
native-vlan

description:
Set the native VLAN id for untagged frames arriving on a trunk interface. Tagged frames sent on an interface configured with a native VLAN should have their tags stripped prior to transmission. This configuration is only valid on a trunk interface.

nodetype: leaf (rw)

type: oc-vlan-types:vlan-id

/interfaces/interface/ethernet/switched-vlan/config/
access-vlan

description:
Assign the access vlan to the access port.

nodetype: leaf (rw)

type: oc-vlan-types:vlan-id

/interfaces/interface/ethernet/switched-vlan/config/
trunk-vlans

description:
Specify VLANs, or ranges thereof, that the interface may carry when in trunk mode. If not specified, all VLANs are allowed on the interface. Ranges are specified in the form x..y, where x

nodetype: leaf-list (rw)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:vlan-range

/interfaces/interface/ethernet/switched-vlan/
state

description:
State variables for VLANs

nodetype: container (ro)

/interfaces/interface/ethernet/switched-vlan/state/
interface-mode

description:
Set the interface to access or trunk mode for VLANs

nodetype: leaf (ro)

type: oc-vlan-types:vlan-mode-type

/interfaces/interface/ethernet/switched-vlan/state/
native-vlan

description:
Set the native VLAN id for untagged frames arriving on a trunk interface. Tagged frames sent on an interface configured with a native VLAN should have their tags stripped prior to transmission. This configuration is only valid on a trunk interface.

nodetype: leaf (ro)

type: oc-vlan-types:vlan-id

/interfaces/interface/ethernet/switched-vlan/state/
access-vlan

description:
Assign the access vlan to the access port.

nodetype: leaf (ro)

type: oc-vlan-types:vlan-id

/interfaces/interface/ethernet/switched-vlan/state/
trunk-vlans

description:
Specify VLANs, or ranges thereof, that the interface may carry when in trunk mode. If not specified, all VLANs are allowed on the interface. Ranges are specified in the form x..y, where x

nodetype: leaf-list (ro)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:vlan-range

/interfaces/interface/ethernet/
poe

description:
Top-level container for PoE configuration and state data

nodetype: container (rw)

/interfaces/interface/ethernet/poe/
config

description:
Configuration data for PoE

nodetype: container (rw)

/interfaces/interface/ethernet/poe/config/
enabled

description:
Enable or disable PoE in the ethernet interface.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/ethernet/poe/
state

description:
Operational state data for PoE

nodetype: container (ro)

/interfaces/interface/ethernet/poe/state/
enabled

description:
Enable or disable PoE in the ethernet interface.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/ethernet/poe/state/
power-used

description:
Power used by the ethernet interface in Watts.

nodetype: leaf (ro)

type: decimal64

/interfaces/interface/ethernet/poe/state/
power-class

description:
IEEE 802.3af Power class detected for this ethernet interface.

nodetype: leaf (ro)

type: uint8

/interfaces/interface/
aggregation

description:
Options for logical interfaces representing aggregates

nodetype: container (rw)

/interfaces/interface/aggregation/
config

description:
Configuration variables for logical aggregate / LAG interfaces

nodetype: container (rw)

/interfaces/interface/aggregation/config/
lag-type

description:
Sets the type of LAG, i.e., how it is configured / maintained

nodetype: leaf (rw)

type: aggregation-type

description:
Specifies the mininum number of member interfaces that must be active for the aggregate interface to be available

nodetype: leaf (rw)

type: uint16

/interfaces/interface/aggregation/
state

description:
Operational state variables for logical aggregate / LAG interfaces

nodetype: container (ro)

/interfaces/interface/aggregation/state/
lag-type

description:
Sets the type of LAG, i.e., how it is configured / maintained

nodetype: leaf (ro)

type: aggregation-type

description:
Specifies the mininum number of member interfaces that must be active for the aggregate interface to be available

nodetype: leaf (ro)

type: uint16

/interfaces/interface/aggregation/state/
lag-speed

description:
Reports effective speed of the aggregate interface, based on speed of active member interfaces

nodetype: leaf (ro)

type: uint32

/interfaces/interface/aggregation/state/
member

description:
List of current member interfaces for the aggregate, expressed as references to existing interfaces

nodetype: leaf-list (ro)

type: oc-if:base-interface-ref

/interfaces/interface/aggregation/
switched-vlan

description:
Enclosing container for VLAN interface-specific data on Ethernet interfaces. These are for standard L2, switched-style VLANs.

nodetype: container (rw)

/interfaces/interface/aggregation/switched-vlan/
config

description:
Configuration parameters for VLANs

nodetype: container (rw)

/interfaces/interface/aggregation/switched-vlan/config/
interface-mode

description:
Set the interface to access or trunk mode for VLANs

nodetype: leaf (rw)

type: oc-vlan-types:vlan-mode-type

/interfaces/interface/aggregation/switched-vlan/config/
native-vlan

description:
Set the native VLAN id for untagged frames arriving on a trunk interface. Tagged frames sent on an interface configured with a native VLAN should have their tags stripped prior to transmission. This configuration is only valid on a trunk interface.

nodetype: leaf (rw)

type: oc-vlan-types:vlan-id

/interfaces/interface/aggregation/switched-vlan/config/
access-vlan

description:
Assign the access vlan to the access port.

nodetype: leaf (rw)

type: oc-vlan-types:vlan-id

/interfaces/interface/aggregation/switched-vlan/config/
trunk-vlans

description:
Specify VLANs, or ranges thereof, that the interface may carry when in trunk mode. If not specified, all VLANs are allowed on the interface. Ranges are specified in the form x..y, where x

nodetype: leaf-list (rw)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:vlan-range

/interfaces/interface/aggregation/switched-vlan/
state

description:
State variables for VLANs

nodetype: container (ro)

/interfaces/interface/aggregation/switched-vlan/state/
interface-mode

description:
Set the interface to access or trunk mode for VLANs

nodetype: leaf (ro)

type: oc-vlan-types:vlan-mode-type

/interfaces/interface/aggregation/switched-vlan/state/
native-vlan

description:
Set the native VLAN id for untagged frames arriving on a trunk interface. Tagged frames sent on an interface configured with a native VLAN should have their tags stripped prior to transmission. This configuration is only valid on a trunk interface.

nodetype: leaf (ro)

type: oc-vlan-types:vlan-id

/interfaces/interface/aggregation/switched-vlan/state/
access-vlan

description:
Assign the access vlan to the access port.

nodetype: leaf (ro)

type: oc-vlan-types:vlan-id

/interfaces/interface/aggregation/switched-vlan/state/
trunk-vlans

description:
Specify VLANs, or ranges thereof, that the interface may carry when in trunk mode. If not specified, all VLANs are allowed on the interface. Ranges are specified in the form x..y, where x

nodetype: leaf-list (ro)

type: union

    type: oc-vlan-types:vlan-id

    type: oc-vlan-types:vlan-range

/interfaces/interface/
routed-vlan

description:
Top-level container for routed vlan interfaces. These logical interfaces are also known as SVI (switched virtual interface), IRB (integrated routing and bridging), RVI (routed VLAN interface)

nodetype: container (rw)

/interfaces/interface/routed-vlan/
config

description:
Configuration data for routed vlan interfaces

nodetype: container (rw)

/interfaces/interface/routed-vlan/config/
vlan

description:
References the VLAN for which this IP interface provides routing services -- similar to a switch virtual interface (SVI), or integrated routing and bridging interface (IRB) in some implementations.

nodetype: leaf (rw)

type: union

    type: uint16

    type: string

/interfaces/interface/routed-vlan/
state

description:
Operational state data

nodetype: container (ro)

/interfaces/interface/routed-vlan/state/
vlan

description:
References the VLAN for which this IP interface provides routing services -- similar to a switch virtual interface (SVI), or integrated routing and bridging interface (IRB) in some implementations.

nodetype: leaf (ro)

type: union

    type: uint16

    type: string

/interfaces/interface/routed-vlan/
ipv4

description:
Parameters for the IPv4 address family.

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/
addresses

description:
Enclosing container for address list

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/addresses/
address

description:
The list of configured IPv4 addresses on the interface.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/routed-vlan/ipv4/addresses/address/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/routed-vlan/ipv4/addresses/address/
config

description:
Configuration data for each configured IPv4 address on the interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/addresses/address/config/
ip

description:
The IPv4 address on the interface.

nodetype: leaf (rw)

type: oc-inet:ipv4-address

/interfaces/interface/routed-vlan/ipv4/addresses/address/config/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (rw)

type: uint8

  • range: 0..32

/interfaces/interface/routed-vlan/ipv4/addresses/address/
state

description:
Operational state data for each IPv4 address configured on the interface

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/addresses/address/state/
ip

description:
The IPv4 address on the interface.

nodetype: leaf (ro)

type: oc-inet:ipv4-address

/interfaces/interface/routed-vlan/ipv4/addresses/address/state/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (ro)

type: uint8

  • range: 0..32

/interfaces/interface/routed-vlan/ipv4/addresses/address/state/
origin

description:
The origin of this address, e.g., statically configured, assigned by DHCP, etc..

nodetype: leaf (ro)

type: ip-address-origin

/interfaces/interface/routed-vlan/ipv4/addresses/address/
vrrp

description:
Enclosing container for VRRP groups handled by this IP interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/
vrrp-group

description:
List of VRRP groups, keyed by virtual router id

nodetype: list (rw)

list keys: [virtual-router-id]

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/
virtual-router-id

description:
References the configured virtual router id for this VRRP group

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/virtual-router-id

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/
config

description:
Configuration data for the VRRP group

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/config/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (rw)

type: uint8

  • range: 1..255

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/config/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (rw)

type: oc-inet:ip-address

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/config/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (rw)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/config/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/config/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (rw)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/config/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/config/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (rw)

type: uint16

  • range: 1..4095

default: 100

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/
state

description:
Operational state data for the VRRP group

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (ro)

type: uint8

  • range: 1..255

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (ro)

type: oc-inet:ip-address

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (ro)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (ro)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (ro)

type: uint16

  • range: 1..4095

default: 100

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/state/
current-priority

description:
Operational value of the priority for the interface in the VRRP group

nodetype: leaf (ro)

type: uint8

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/
interface-tracking

description:
Top-level container for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/
config

description:
Configuration data for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/config/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/config/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (rw)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/
state

description:
Operational state data for VRRP interface tracking

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/state/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv4/addresses/address/vrrp/vrrp-group/interface-tracking/state/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (ro)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/routed-vlan/ipv4/
proxy-arp

description:
Configuration and operational state parameters relating to proxy ARP. This functionality allows a system to respond to ARP requests that are not explicitly destined to the local system.

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/proxy-arp/
config

description:
Configuration parameters for proxy ARP

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/proxy-arp/config/
mode

description:
When set to a value other than DISABLE, the local system should respond to ARP requests that are for target addresses other than those that are configured on the local subinterface using its own MAC address as the target hardware address. If the REMOTE_ONLY value is specified, replies are only sent when the target address falls outside the locally configured subnets on the interface, whereas with the ALL value, all requests, regardless of their target address are replied to.

nodetype: leaf (rw)

type: enumeration

  • ALL
    The system responds to ARP requests where the sender and target IP addresses are in different subnets, as well as those where they are in the same subnet.
  • DISABLE
    The system should not respond to ARP requests that do not specify an IP address configured on the local subinterface as the target address.
  • REMOTE_ONLY
    The system responds to ARP requests only when the sender and target IP addresses are in different subnets.

default: DISABLE

/interfaces/interface/routed-vlan/ipv4/proxy-arp/
state

description:
Operational state parameters for proxy ARP

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/proxy-arp/state/
mode

description:
When set to a value other than DISABLE, the local system should respond to ARP requests that are for target addresses other than those that are configured on the local subinterface using its own MAC address as the target hardware address. If the REMOTE_ONLY value is specified, replies are only sent when the target address falls outside the locally configured subnets on the interface, whereas with the ALL value, all requests, regardless of their target address are replied to.

nodetype: leaf (ro)

type: enumeration

  • ALL
    The system responds to ARP requests where the sender and target IP addresses are in different subnets, as well as those where they are in the same subnet.
  • DISABLE
    The system should not respond to ARP requests that do not specify an IP address configured on the local subinterface as the target address.
  • REMOTE_ONLY
    The system responds to ARP requests only when the sender and target IP addresses are in different subnets.

default: DISABLE

/interfaces/interface/routed-vlan/ipv4/
neighbors

description:
Enclosing container for neighbor list

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/neighbors/
neighbor

description:
A list of mappings from IPv4 addresses to link-layer addresses. Entries in this list are used as static entries in the ARP Cache.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/routed-vlan/ipv4/neighbors/neighbor/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/routed-vlan/ipv4/neighbors/neighbor/
config

description:
Configuration data for each configured IPv4 address on the interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/neighbors/neighbor/config/
ip

description:
The IPv4 address of the neighbor node.

nodetype: leaf (rw)

type: oc-inet:ipv4-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (rw)

type: oc-yang:phys-address

/interfaces/interface/routed-vlan/ipv4/neighbors/neighbor/
state

description:
Operational state data for each IPv4 address configured on the interface

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/neighbors/neighbor/state/
ip

description:
The IPv4 address of the neighbor node.

nodetype: leaf (ro)

type: oc-inet:ipv4-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (ro)

type: oc-yang:phys-address

/interfaces/interface/routed-vlan/ipv4/neighbors/neighbor/state/
origin

description:
The origin of this neighbor entry, static or dynamic.

nodetype: leaf (ro)

type: neighbor-origin

/interfaces/interface/routed-vlan/ipv4/
unnumbered

description:
Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/unnumbered/
config

description:
Configuration data for unnumbered interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/unnumbered/config/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv4/unnumbered/
state

description:
Operational state data for unnumbered interfaces

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/unnumbered/state/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv4/unnumbered/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/unnumbered/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/unnumbered/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv4/unnumbered/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/routed-vlan/ipv4/unnumbered/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/unnumbered/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv4/unnumbered/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/routed-vlan/ipv4/
config

description:
Top-level IPv4 configuration data for the interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv4/config/
enabled

description:
Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv4/config/
mtu

description:
The size, in octets, of the largest IPv4 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (rw)

type: uint16

  • range: 68..max

/interfaces/interface/routed-vlan/ipv4/config/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv4/
state

description:
Top level IPv4 operational state data

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/state/
enabled

description:
Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv4/state/
mtu

description:
The size, in octets, of the largest IPv4 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (ro)

type: uint16

  • range: 68..max

/interfaces/interface/routed-vlan/ipv4/state/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv4/state/
counters

description:
Packet and byte counters for IP transmission and reception for the address family.

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv4/state/counters/
in-pkts

description:
The total number of IP packets received for the specified address family, including those received in error

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
in-octets

description:
The total number of octets received in input IP packets for the specified address family, including those received in error.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
in-error-pkts

description:
Number of IP packets discarded due to errors for the specified address family, including errors in the IP header, no route found to the IP destination, invalid address, unknown protocol, etc.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
in-forwarded-pkts

description:
The number of input packets for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
in-forwarded-octets

description:
The number of octets received in input IP packets for the specified address family for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
in-discarded-pkts

description:
The number of input IP packets for the specified address family, for which no problems were encountered to prevent their continued processing, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
out-pkts

description:
The total number of IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
out-octets

description:
The total number of octets in IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
out-error-pkts

description:
Number of IP packets for the specified address family locally generated and discarded due to errors, including no route found to the IP destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
out-forwarded-pkts

description:
The number of packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
out-forwarded-octets

description:
The number of octets in packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv4/state/counters/
out-discarded-pkts

description:
The number of output IP packets for the specified address family for which no problem was encountered to prevent their transmission to their destination, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/
ipv6

description:
Parameters for the IPv6 address family.

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/
addresses

description:
Enclosing container for address list

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/addresses/
address

description:
The list of configured IPv6 addresses on the interface.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/routed-vlan/ipv6/addresses/address/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/routed-vlan/ipv6/addresses/address/
config

description:
Configuration data for each IPv6 address on the interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/addresses/address/config/
ip

description:
The IPv6 address on the interface.

nodetype: leaf (rw)

type: oc-inet:ipv6-address

/interfaces/interface/routed-vlan/ipv6/addresses/address/config/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (rw)

type: uint8

  • range: 0..128

/interfaces/interface/routed-vlan/ipv6/addresses/address/
state

description:
State data for each IPv6 address on the interface

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/addresses/address/state/
ip

description:
The IPv6 address on the interface.

nodetype: leaf (ro)

type: oc-inet:ipv6-address

/interfaces/interface/routed-vlan/ipv6/addresses/address/state/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (ro)

type: uint8

  • range: 0..128

/interfaces/interface/routed-vlan/ipv6/addresses/address/state/
origin

description:
The origin of this address, e.g., static, dhcp, etc.

nodetype: leaf (ro)

type: ip-address-origin

/interfaces/interface/routed-vlan/ipv6/addresses/address/state/
status

description:
The status of an address. Most of the states correspond to states from the IPv6 Stateless Address Autoconfiguration protocol.

nodetype: leaf (ro)

type: enumeration

  • TENTATIVE
    The uniqueness of the address on the link is being verified. Addresses in this state should not be used for general communication and should only be used to determine the uniqueness of the address.
  • DEPRECATED
    This is a valid but deprecated address that should no longer be used as a source address in new communications, but packets addressed to such an address are processed as expected.
  • INACCESSIBLE
    The address is not accessible because the interface to which this address is assigned is not operational.
  • INVALID
    This isn't a valid address, and it shouldn't appear as the destination or source address of a packet.
  • DUPLICATE
    The address has been determined to be non-unique on the link and so must not be used.
  • PREFERRED
    This is a valid address that can appear as the destination or source address of a packet.
  • UNKNOWN
    The status cannot be determined for some reason.
  • OPTIMISTIC
    The address is available for use, subject to restrictions, while its uniqueness on a link is being verified.

/interfaces/interface/routed-vlan/ipv6/addresses/address/
vrrp

description:
Enclosing container for VRRP groups handled by this IP interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/
vrrp-group

description:
List of VRRP groups, keyed by virtual router id

nodetype: list (rw)

list keys: [virtual-router-id]

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/
virtual-router-id

description:
References the configured virtual router id for this VRRP group

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/virtual-router-id

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/
config

description:
Configuration data for the VRRP group

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/config/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (rw)

type: uint8

  • range: 1..255

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/config/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (rw)

type: oc-inet:ip-address

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/config/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (rw)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/config/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/config/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (rw)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/config/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/config/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (rw)

type: uint16

  • range: 1..4095

default: 100

description:
For VRRP on IPv6 interfaces, sets the virtual link local address

nodetype: leaf (rw)

type: oc-inet:ip-address

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/
state

description:
Operational state data for the VRRP group

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
virtual-router-id

description:
Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

nodetype: leaf (ro)

type: uint8

  • range: 1..255

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
virtual-address

description:
Configure one or more virtual addresses for the VRRP group

nodetype: leaf-list (ro)

type: oc-inet:ip-address

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
priority

description:
Specifies the sending VRRP interface's priority for the virtual router. Higher values equal higher priority

nodetype: leaf (ro)

type: uint8

  • range: 1..254

default: 100

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
preempt

description:
When set to true, enables preemption by a higher priority backup router of a lower priority master router

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
preempt-delay

description:
Set the delay the higher priority router waits before preempting

nodetype: leaf (ro)

type: uint16

  • range: 0..3600

default: 0

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
accept-mode

description:
Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
advertisement-interval

description:
Sets the interval between successive VRRP advertisements -- RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

nodetype: leaf (ro)

type: uint16

  • range: 1..4095

default: 100

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/state/
current-priority

description:
Operational value of the priority for the interface in the VRRP group

nodetype: leaf (ro)

type: uint8

description:
For VRRP on IPv6 interfaces, sets the virtual link local address

nodetype: leaf (ro)

type: oc-inet:ip-address

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/
interface-tracking

description:
Top-level container for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/
config

description:
Configuration data for VRRP interface tracking

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/config/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/config/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (rw)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/
state

description:
Operational state data for VRRP interface tracking

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/state/
track-interface

description:
Sets a list of one or more interfaces that should be tracked for up/down events to dynamically change the priority state of the VRRP group, and potentially change the mastership if the tracked interface going down lowers the priority sufficiently. Any of the tracked interfaces going down will cause the priority to be lowered. Some implementations may only support a single tracked interface.

nodetype: leaf-list (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv6/addresses/address/vrrp/vrrp-group/interface-tracking/state/
priority-decrement

description:
Set the value to subtract from priority when the tracked interface goes down

nodetype: leaf (ro)

type: uint8

  • range: 0..254

default: 0

/interfaces/interface/routed-vlan/ipv6/
router-advertisement

description:
Configuration and operational state parameters relating to router advertisements.

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/router-advertisement/
config

description:
Configuration parameters relating to router advertisements for IPv6.

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/router-advertisement/config/
interval

description:
The interval between periodic router advertisement neighbor discovery messages sent on this interface expressed in seconds.

nodetype: leaf (rw)

type: uint32

/interfaces/interface/routed-vlan/ipv6/router-advertisement/config/
lifetime

description:
The lifetime advertised in the router advertisement neighbor discovery message on this interface.

nodetype: leaf (rw)

type: uint32

/interfaces/interface/routed-vlan/ipv6/router-advertisement/config/
suppress

description:
When set to true, router advertisement neighbor discovery messages are not transmitted on this interface.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/router-advertisement/
state

description:
Operational state parameters relating to router advertisements for IPv6.

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/router-advertisement/state/
interval

description:
The interval between periodic router advertisement neighbor discovery messages sent on this interface expressed in seconds.

nodetype: leaf (ro)

type: uint32

/interfaces/interface/routed-vlan/ipv6/router-advertisement/state/
lifetime

description:
The lifetime advertised in the router advertisement neighbor discovery message on this interface.

nodetype: leaf (ro)

type: uint32

/interfaces/interface/routed-vlan/ipv6/router-advertisement/state/
suppress

description:
When set to true, router advertisement neighbor discovery messages are not transmitted on this interface.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/
neighbors

description:
Enclosing container for list of IPv6 neighbors

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/neighbors/
neighbor

description:
List of IPv6 neighbors

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/
ip

description:
References the configured IP neighbor address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/
config

description:
Configuration data for each IPv6 address on the interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/config/
ip

description:
The IPv6 address of the neighbor node.

nodetype: leaf (rw)

type: oc-inet:ipv6-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (rw)

type: oc-yang:phys-address

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/
state

description:
State data for each IPv6 address on the interface

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/state/
ip

description:
The IPv6 address of the neighbor node.

nodetype: leaf (ro)

type: oc-inet:ipv6-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (ro)

type: oc-yang:phys-address

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/state/
origin

description:
The origin of this neighbor entry.

nodetype: leaf (ro)

type: neighbor-origin

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/state/
is-router

description:
Indicates that the neighbor node acts as a router.

nodetype: leaf (ro)

type: empty

/interfaces/interface/routed-vlan/ipv6/neighbors/neighbor/state/
neighbor-state

description:
The Neighbor Unreachability Detection state of this entry.

nodetype: leaf (ro)

type: enumeration

  • DELAY
    The neighbor is no longer known to be reachable, and traffic has recently been sent to the neighbor. Rather than probe the neighbor immediately, however, delay sending probes for a short while in order to give upper-layer protocols a chance to provide reachability confirmation.
  • STALE
    The neighbor is no longer known to be reachable, but until traffic is sent to the neighbor no attempt should be made to verify its reachability.
  • PROBE
    The neighbor is no longer known to be reachable, and unicast Neighbor Solicitation probes are being sent to verify reachability.
  • REACHABLE
    Roughly speaking, the neighbor is known to have been reachable recently (within tens of seconds ago).
  • INCOMPLETE
    Address resolution is in progress, and the link-layer address of the neighbor has not yet been determined.

/interfaces/interface/routed-vlan/ipv6/
unnumbered

description:
Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/unnumbered/
config

description:
Configuration data for unnumbered interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/unnumbered/config/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/unnumbered/
state

description:
Operational state data for unnumbered interfaces

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/unnumbered/state/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/unnumbered/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/unnumbered/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/unnumbered/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv6/unnumbered/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/routed-vlan/ipv6/unnumbered/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/unnumbered/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/routed-vlan/ipv6/unnumbered/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/routed-vlan/ipv6/
config

description:
Top-level config data for the IPv6 interface

nodetype: container (rw)

/interfaces/interface/routed-vlan/ipv6/config/
enabled

description:
Controls whether IPv6 is enabled or disabled on this interface. When IPv6 is enabled, this interface is connected to an IPv6 stack, and the interface can send and receive IPv6 packets.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv6/config/
mtu

description:
The size, in octets, of the largest IPv6 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (rw)

type: uint32

  • range: 1280..max

/interfaces/interface/routed-vlan/ipv6/config/
dup-addr-detect-transmits

description:
The number of consecutive Neighbor Solicitation messages sent while performing Duplicate Address Detection on a tentative address. A value of zero indicates that Duplicate Address Detection is not performed on tentative addresses. A value of one indicates a single transmission with no follow-up retransmissions.

nodetype: leaf (rw)

type: uint32

default: 1

/interfaces/interface/routed-vlan/ipv6/config/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/
state

description:
Top-level operational state data for the IPv6 interface

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/state/
enabled

description:
Controls whether IPv6 is enabled or disabled on this interface. When IPv6 is enabled, this interface is connected to an IPv6 stack, and the interface can send and receive IPv6 packets.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/routed-vlan/ipv6/state/
mtu

description:
The size, in octets, of the largest IPv6 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (ro)

type: uint32

  • range: 1280..max

/interfaces/interface/routed-vlan/ipv6/state/
dup-addr-detect-transmits

description:
The number of consecutive Neighbor Solicitation messages sent while performing Duplicate Address Detection on a tentative address. A value of zero indicates that Duplicate Address Detection is not performed on tentative addresses. A value of one indicates a single transmission with no follow-up retransmissions.

nodetype: leaf (ro)

type: uint32

default: 1

/interfaces/interface/routed-vlan/ipv6/state/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/routed-vlan/ipv6/state/
counters

description:
Packet and byte counters for IP transmission and reception for the address family.

nodetype: container (ro)

/interfaces/interface/routed-vlan/ipv6/state/counters/
in-pkts

description:
The total number of IP packets received for the specified address family, including those received in error

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
in-octets

description:
The total number of octets received in input IP packets for the specified address family, including those received in error.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
in-error-pkts

description:
Number of IP packets discarded due to errors for the specified address family, including errors in the IP header, no route found to the IP destination, invalid address, unknown protocol, etc.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
in-forwarded-pkts

description:
The number of input packets for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
in-forwarded-octets

description:
The number of octets received in input IP packets for the specified address family for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
in-discarded-pkts

description:
The number of input IP packets for the specified address family, for which no problems were encountered to prevent their continued processing, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
out-pkts

description:
The total number of IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
out-octets

description:
The total number of octets in IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
out-error-pkts

description:
Number of IP packets for the specified address family locally generated and discarded due to errors, including no route found to the IP destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
out-forwarded-pkts

description:
The number of packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
out-forwarded-octets

description:
The number of octets in packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/routed-vlan/ipv6/state/counters/
out-discarded-pkts

description:
The number of output IP packets for the specified address family for which no problem was encountered to prevent their transmission to their destination, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/
tunnel

description:
In the case that the interface is logical tunnel interface, the parameters for the tunnel are specified within this subtree. Tunnel interfaces have only a single logical subinterface associated with them.

nodetype: container (rw)

/interfaces/interface/tunnel/
config

description:
Configuration parameters associated with the tunnel interface

nodetype: container (rw)

/interfaces/interface/tunnel/config/
src

description:
The source address that should be used for the tunnel.

nodetype: leaf (rw)

type: oc-inet:ip-address

/interfaces/interface/tunnel/config/
dst

description:
The destination address for the tunnel.

nodetype: leaf (rw)

type: oc-inet:ip-address

/interfaces/interface/tunnel/config/
ttl

description:
The time-to-live (or hop limit) that should be utilised for the IP packets used for the tunnel transport.

nodetype: leaf (rw)

type: uint8

  • range: 1..255

/interfaces/interface/tunnel/config/
gre-key

description:
The GRE key to be specified for the tunnel. The key is used to identify a traffic flow within a tunnel.

nodetype: leaf (rw)

type: uint32

/interfaces/interface/tunnel/
state

description:
Operational state parameters associated with the tunnel interface.

nodetype: container (ro)

/interfaces/interface/tunnel/state/
src

description:
The source address that should be used for the tunnel.

nodetype: leaf (ro)

type: oc-inet:ip-address

/interfaces/interface/tunnel/state/
dst

description:
The destination address for the tunnel.

nodetype: leaf (ro)

type: oc-inet:ip-address

/interfaces/interface/tunnel/state/
ttl

description:
The time-to-live (or hop limit) that should be utilised for the IP packets used for the tunnel transport.

nodetype: leaf (ro)

type: uint8

  • range: 1..255

/interfaces/interface/tunnel/state/
gre-key

description:
The GRE key to be specified for the tunnel. The key is used to identify a traffic flow within a tunnel.

nodetype: leaf (ro)

type: uint32

/interfaces/interface/tunnel/
ipv4

description:
Parameters for the IPv4 address family.

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/
addresses

description:
Enclosing container for address list

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/addresses/
address

description:
The list of configured IPv4 addresses on the interface.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/tunnel/ipv4/addresses/address/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/tunnel/ipv4/addresses/address/
config

description:
Configuration data for each configured IPv4 address on the interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/addresses/address/config/
ip

description:
The IPv4 address on the interface.

nodetype: leaf (rw)

type: oc-inet:ipv4-address

/interfaces/interface/tunnel/ipv4/addresses/address/config/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (rw)

type: uint8

  • range: 0..32

/interfaces/interface/tunnel/ipv4/addresses/address/
state

description:
Operational state data for each IPv4 address configured on the interface

nodetype: container (ro)

/interfaces/interface/tunnel/ipv4/addresses/address/state/
ip

description:
The IPv4 address on the interface.

nodetype: leaf (ro)

type: oc-inet:ipv4-address

/interfaces/interface/tunnel/ipv4/addresses/address/state/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (ro)

type: uint8

  • range: 0..32

/interfaces/interface/tunnel/ipv4/addresses/address/state/
origin

description:
The origin of this address, e.g., statically configured, assigned by DHCP, etc..

nodetype: leaf (ro)

type: ip-address-origin

/interfaces/interface/tunnel/ipv4/
proxy-arp

description:
Configuration and operational state parameters relating to proxy ARP. This functionality allows a system to respond to ARP requests that are not explicitly destined to the local system.

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/proxy-arp/
config

description:
Configuration parameters for proxy ARP

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/proxy-arp/config/
mode

description:
When set to a value other than DISABLE, the local system should respond to ARP requests that are for target addresses other than those that are configured on the local subinterface using its own MAC address as the target hardware address. If the REMOTE_ONLY value is specified, replies are only sent when the target address falls outside the locally configured subnets on the interface, whereas with the ALL value, all requests, regardless of their target address are replied to.

nodetype: leaf (rw)

type: enumeration

  • ALL
    The system responds to ARP requests where the sender and target IP addresses are in different subnets, as well as those where they are in the same subnet.
  • DISABLE
    The system should not respond to ARP requests that do not specify an IP address configured on the local subinterface as the target address.
  • REMOTE_ONLY
    The system responds to ARP requests only when the sender and target IP addresses are in different subnets.

default: DISABLE

/interfaces/interface/tunnel/ipv4/proxy-arp/
state

description:
Operational state parameters for proxy ARP

nodetype: container (ro)

/interfaces/interface/tunnel/ipv4/proxy-arp/state/
mode

description:
When set to a value other than DISABLE, the local system should respond to ARP requests that are for target addresses other than those that are configured on the local subinterface using its own MAC address as the target hardware address. If the REMOTE_ONLY value is specified, replies are only sent when the target address falls outside the locally configured subnets on the interface, whereas with the ALL value, all requests, regardless of their target address are replied to.

nodetype: leaf (ro)

type: enumeration

  • ALL
    The system responds to ARP requests where the sender and target IP addresses are in different subnets, as well as those where they are in the same subnet.
  • DISABLE
    The system should not respond to ARP requests that do not specify an IP address configured on the local subinterface as the target address.
  • REMOTE_ONLY
    The system responds to ARP requests only when the sender and target IP addresses are in different subnets.

default: DISABLE

/interfaces/interface/tunnel/ipv4/
neighbors

description:
Enclosing container for neighbor list

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/neighbors/
neighbor

description:
A list of mappings from IPv4 addresses to link-layer addresses. Entries in this list are used as static entries in the ARP Cache.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/tunnel/ipv4/neighbors/neighbor/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/tunnel/ipv4/neighbors/neighbor/
config

description:
Configuration data for each configured IPv4 address on the interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/neighbors/neighbor/config/
ip

description:
The IPv4 address of the neighbor node.

nodetype: leaf (rw)

type: oc-inet:ipv4-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (rw)

type: oc-yang:phys-address

/interfaces/interface/tunnel/ipv4/neighbors/neighbor/
state

description:
Operational state data for each IPv4 address configured on the interface

nodetype: container (ro)

/interfaces/interface/tunnel/ipv4/neighbors/neighbor/state/
ip

description:
The IPv4 address of the neighbor node.

nodetype: leaf (ro)

type: oc-inet:ipv4-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (ro)

type: oc-yang:phys-address

/interfaces/interface/tunnel/ipv4/neighbors/neighbor/state/
origin

description:
The origin of this neighbor entry, static or dynamic.

nodetype: leaf (ro)

type: neighbor-origin

/interfaces/interface/tunnel/ipv4/
unnumbered

description:
Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/unnumbered/
config

description:
Configuration data for unnumbered interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/unnumbered/config/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/tunnel/ipv4/unnumbered/
state

description:
Operational state data for unnumbered interfaces

nodetype: container (ro)

/interfaces/interface/tunnel/ipv4/unnumbered/state/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/tunnel/ipv4/unnumbered/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/unnumbered/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/unnumbered/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/tunnel/ipv4/unnumbered/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/tunnel/ipv4/unnumbered/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/interfaces/interface/tunnel/ipv4/unnumbered/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/tunnel/ipv4/unnumbered/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/tunnel/ipv4/
config

description:
Top-level IPv4 configuration data for the interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv4/config/
enabled

description:
Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/tunnel/ipv4/config/
mtu

description:
The size, in octets, of the largest IPv4 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (rw)

type: uint16

  • range: 68..max

/interfaces/interface/tunnel/ipv4/config/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/tunnel/ipv4/
state

description:
Top level IPv4 operational state data

nodetype: container (ro)

/interfaces/interface/tunnel/ipv4/state/
enabled

description:
Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/tunnel/ipv4/state/
mtu

description:
The size, in octets, of the largest IPv4 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (ro)

type: uint16

  • range: 68..max

/interfaces/interface/tunnel/ipv4/state/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/tunnel/ipv4/state/
counters

description:
Packet and byte counters for IP transmission and reception for the address family.

nodetype: container (ro)

/interfaces/interface/tunnel/ipv4/state/counters/
in-pkts

description:
The total number of IP packets received for the specified address family, including those received in error

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
in-octets

description:
The total number of octets received in input IP packets for the specified address family, including those received in error.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
in-error-pkts

description:
Number of IP packets discarded due to errors for the specified address family, including errors in the IP header, no route found to the IP destination, invalid address, unknown protocol, etc.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
in-forwarded-pkts

description:
The number of input packets for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
in-forwarded-octets

description:
The number of octets received in input IP packets for the specified address family for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
in-discarded-pkts

description:
The number of input IP packets for the specified address family, for which no problems were encountered to prevent their continued processing, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
out-pkts

description:
The total number of IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
out-octets

description:
The total number of octets in IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
out-error-pkts

description:
Number of IP packets for the specified address family locally generated and discarded due to errors, including no route found to the IP destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
out-forwarded-pkts

description:
The number of packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
out-forwarded-octets

description:
The number of octets in packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv4/state/counters/
out-discarded-pkts

description:
The number of output IP packets for the specified address family for which no problem was encountered to prevent their transmission to their destination, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/
ipv6

description:
Parameters for the IPv6 address family.

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/
addresses

description:
Enclosing container for address list

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/addresses/
address

description:
The list of configured IPv6 addresses on the interface.

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/tunnel/ipv6/addresses/address/
ip

description:
References the configured IP address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/tunnel/ipv6/addresses/address/
config

description:
Configuration data for each IPv6 address on the interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/addresses/address/config/
ip

description:
The IPv6 address on the interface.

nodetype: leaf (rw)

type: oc-inet:ipv6-address

/interfaces/interface/tunnel/ipv6/addresses/address/config/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (rw)

type: uint8

  • range: 0..128

/interfaces/interface/tunnel/ipv6/addresses/address/
state

description:
State data for each IPv6 address on the interface

nodetype: container (ro)

/interfaces/interface/tunnel/ipv6/addresses/address/state/
ip

description:
The IPv6 address on the interface.

nodetype: leaf (ro)

type: oc-inet:ipv6-address

/interfaces/interface/tunnel/ipv6/addresses/address/state/
prefix-length

description:
The length of the subnet prefix.

nodetype: leaf (ro)

type: uint8

  • range: 0..128

/interfaces/interface/tunnel/ipv6/addresses/address/state/
origin

description:
The origin of this address, e.g., static, dhcp, etc.

nodetype: leaf (ro)

type: ip-address-origin

/interfaces/interface/tunnel/ipv6/addresses/address/state/
status

description:
The status of an address. Most of the states correspond to states from the IPv6 Stateless Address Autoconfiguration protocol.

nodetype: leaf (ro)

type: enumeration

  • TENTATIVE
    The uniqueness of the address on the link is being verified. Addresses in this state should not be used for general communication and should only be used to determine the uniqueness of the address.
  • DEPRECATED
    This is a valid but deprecated address that should no longer be used as a source address in new communications, but packets addressed to such an address are processed as expected.
  • INACCESSIBLE
    The address is not accessible because the interface to which this address is assigned is not operational.
  • INVALID
    This isn't a valid address, and it shouldn't appear as the destination or source address of a packet.
  • DUPLICATE
    The address has been determined to be non-unique on the link and so must not be used.
  • PREFERRED
    This is a valid address that can appear as the destination or source address of a packet.
  • UNKNOWN
    The status cannot be determined for some reason.
  • OPTIMISTIC
    The address is available for use, subject to restrictions, while its uniqueness on a link is being verified.

/interfaces/interface/tunnel/ipv6/
router-advertisement

description:
Configuration and operational state parameters relating to router advertisements.

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/router-advertisement/
config

description:
Configuration parameters relating to router advertisements for IPv6.

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/router-advertisement/config/
interval

description:
The interval between periodic router advertisement neighbor discovery messages sent on this interface expressed in seconds.

nodetype: leaf (rw)

type: uint32

/interfaces/interface/tunnel/ipv6/router-advertisement/config/
lifetime

description:
The lifetime advertised in the router advertisement neighbor discovery message on this interface.

nodetype: leaf (rw)

type: uint32

/interfaces/interface/tunnel/ipv6/router-advertisement/config/
suppress

description:
When set to true, router advertisement neighbor discovery messages are not transmitted on this interface.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/tunnel/ipv6/router-advertisement/
state

description:
Operational state parameters relating to router advertisements for IPv6.

nodetype: container (ro)

/interfaces/interface/tunnel/ipv6/router-advertisement/state/
interval

description:
The interval between periodic router advertisement neighbor discovery messages sent on this interface expressed in seconds.

nodetype: leaf (ro)

type: uint32

/interfaces/interface/tunnel/ipv6/router-advertisement/state/
lifetime

description:
The lifetime advertised in the router advertisement neighbor discovery message on this interface.

nodetype: leaf (ro)

type: uint32

/interfaces/interface/tunnel/ipv6/router-advertisement/state/
suppress

description:
When set to true, router advertisement neighbor discovery messages are not transmitted on this interface.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/tunnel/ipv6/
neighbors

description:
Enclosing container for list of IPv6 neighbors

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/neighbors/
neighbor

description:
List of IPv6 neighbors

nodetype: list (rw)

list keys: [ip]

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/
ip

description:
References the configured IP neighbor address

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/
config

description:
Configuration data for each IPv6 address on the interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/config/
ip

description:
The IPv6 address of the neighbor node.

nodetype: leaf (rw)

type: oc-inet:ipv6-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (rw)

type: oc-yang:phys-address

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/
state

description:
State data for each IPv6 address on the interface

nodetype: container (ro)

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/state/
ip

description:
The IPv6 address of the neighbor node.

nodetype: leaf (ro)

type: oc-inet:ipv6-address

description:
The link-layer address of the neighbor node.

nodetype: leaf (ro)

type: oc-yang:phys-address

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/state/
origin

description:
The origin of this neighbor entry.

nodetype: leaf (ro)

type: neighbor-origin

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/state/
is-router

description:
Indicates that the neighbor node acts as a router.

nodetype: leaf (ro)

type: empty

/interfaces/interface/tunnel/ipv6/neighbors/neighbor/state/
neighbor-state

description:
The Neighbor Unreachability Detection state of this entry.

nodetype: leaf (ro)

type: enumeration

  • DELAY
    The neighbor is no longer known to be reachable, and traffic has recently been sent to the neighbor. Rather than probe the neighbor immediately, however, delay sending probes for a short while in order to give upper-layer protocols a chance to provide reachability confirmation.
  • STALE
    The neighbor is no longer known to be reachable, but until traffic is sent to the neighbor no attempt should be made to verify its reachability.
  • PROBE
    The neighbor is no longer known to be reachable, and unicast Neighbor Solicitation probes are being sent to verify reachability.
  • REACHABLE
    Roughly speaking, the neighbor is known to have been reachable recently (within tens of seconds ago).
  • INCOMPLETE
    Address resolution is in progress, and the link-layer address of the neighbor has not yet been determined.

/interfaces/interface/tunnel/ipv6/
unnumbered

description:
Top-level container for setting unnumbered interfaces. Includes reference the interface that provides the address information

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/unnumbered/
config

description:
Configuration data for unnumbered interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/unnumbered/config/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/tunnel/ipv6/unnumbered/
state

description:
Operational state data for unnumbered interfaces

nodetype: container (ro)

/interfaces/interface/tunnel/ipv6/unnumbered/state/
enabled

description:
Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/tunnel/ipv6/unnumbered/
interface-ref

description:
Reference to an interface or subinterface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/unnumbered/interface-ref/
config

description:
Configured reference to interface / subinterface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/unnumbered/interface-ref/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/tunnel/ipv6/unnumbered/interface-ref/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/tunnel/ipv6/unnumbered/interface-ref/
state

description:
Operational state for interface-ref

nodetype: container (ro)

/interfaces/interface/tunnel/ipv6/unnumbered/interface-ref/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/interfaces/interface/tunnel/ipv6/unnumbered/interface-ref/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/interfaces/interface/tunnel/ipv6/
config

description:
Top-level config data for the IPv6 interface

nodetype: container (rw)

/interfaces/interface/tunnel/ipv6/config/
enabled

description:
Controls whether IPv6 is enabled or disabled on this interface. When IPv6 is enabled, this interface is connected to an IPv6 stack, and the interface can send and receive IPv6 packets.

nodetype: leaf (rw)

type: boolean

default: true

/interfaces/interface/tunnel/ipv6/config/
mtu

description:
The size, in octets, of the largest IPv6 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (rw)

type: uint32

  • range: 1280..max

/interfaces/interface/tunnel/ipv6/config/
dup-addr-detect-transmits

description:
The number of consecutive Neighbor Solicitation messages sent while performing Duplicate Address Detection on a tentative address. A value of zero indicates that Duplicate Address Detection is not performed on tentative addresses. A value of one indicates a single transmission with no follow-up retransmissions.

nodetype: leaf (rw)

type: uint32

default: 1

/interfaces/interface/tunnel/ipv6/config/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (rw)

type: boolean

default: false

/interfaces/interface/tunnel/ipv6/
state

description:
Top-level operational state data for the IPv6 interface

nodetype: container (ro)

/interfaces/interface/tunnel/ipv6/state/
enabled

description:
Controls whether IPv6 is enabled or disabled on this interface. When IPv6 is enabled, this interface is connected to an IPv6 stack, and the interface can send and receive IPv6 packets.

nodetype: leaf (ro)

type: boolean

default: true

/interfaces/interface/tunnel/ipv6/state/
mtu

description:
The size, in octets, of the largest IPv6 packet that the interface will send and receive. The server may restrict the allowed values for this leaf, depending on the interface's type. If this leaf is not configured, the operationally used MTU depends on the interface's type.

nodetype: leaf (ro)

type: uint32

  • range: 1280..max

/interfaces/interface/tunnel/ipv6/state/
dup-addr-detect-transmits

description:
The number of consecutive Neighbor Solicitation messages sent while performing Duplicate Address Detection on a tentative address. A value of zero indicates that Duplicate Address Detection is not performed on tentative addresses. A value of one indicates a single transmission with no follow-up retransmissions.

nodetype: leaf (ro)

type: uint32

default: 1

/interfaces/interface/tunnel/ipv6/state/
dhcp-client

description:
Enables a DHCP client on the interface in order to request an address

nodetype: leaf (ro)

type: boolean

default: false

/interfaces/interface/tunnel/ipv6/state/
counters

description:
Packet and byte counters for IP transmission and reception for the address family.

nodetype: container (ro)

/interfaces/interface/tunnel/ipv6/state/counters/
in-pkts

description:
The total number of IP packets received for the specified address family, including those received in error

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
in-octets

description:
The total number of octets received in input IP packets for the specified address family, including those received in error.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
in-error-pkts

description:
Number of IP packets discarded due to errors for the specified address family, including errors in the IP header, no route found to the IP destination, invalid address, unknown protocol, etc.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
in-forwarded-pkts

description:
The number of input packets for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
in-forwarded-octets

description:
The number of octets received in input IP packets for the specified address family for which the device was not their final IP destination and for which the device attempted to find a route to forward them to that final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
in-discarded-pkts

description:
The number of input IP packets for the specified address family, for which no problems were encountered to prevent their continued processing, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
out-pkts

description:
The total number of IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
out-octets

description:
The total number of octets in IP packets for the specified address family that the device supplied to the lower layers for transmission. This includes packets generated locally and those forwarded by the device.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
out-error-pkts

description:
Number of IP packets for the specified address family locally generated and discarded due to errors, including no route found to the IP destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
out-forwarded-pkts

description:
The number of packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
out-forwarded-octets

description:
The number of octets in packets for which this entity was not their final IP destination and for which it was successful in finding a path to their final destination.

nodetype: leaf (ro)

type: oc-yang:counter64

/interfaces/interface/tunnel/ipv6/state/counters/
out-discarded-pkts

description:
The number of output IP packets for the specified address family for which no problem was encountered to prevent their transmission to their destination, but were discarded (e.g., for lack of buffer space).

nodetype: leaf (ro)

type: oc-yang:counter64

openconfig-if-ip

openconfig-version: 2.3.0

Description

This model defines data for managing configuration and operational state on IP (IPv4 and IPv6) interfaces.

This model reuses data items defined in the IETF YANG model for interfaces described by RFC 7277 with an alternate structure (particularly for operational state data) and with additional configuration items.

Portions of this code were derived from IETF RFC 7277. Please reproduce this note if possible.

IETF code is subject to the following copyright and license: Copyright (c) IETF Trust and the persons identified as authors of the code. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info).

Imports

openconfig-inet-types
openconfig-interfaces
openconfig-vlan
openconfig-yang-types
openconfig-extensions

Defined types

neighbor-origin

description:
The origin of a neighbor entry.

type: enumeration

  • DYNAMIC
    Indicates that the mapping has been dynamically resolved using, e.g., IPv4 ARP or the IPv6 Neighbor Discovery protocol.
  • OTHER
    None of the following.
  • STATIC
    Indicates that the mapping has been statically configured - for example, using NETCONF or a Command Line Interface.

ip-address-origin

description:
The origin of an address.

type: enumeration

  • LINK_LAYER
    Indicates an address created by IPv6 stateless autoconfiguration that embeds a link-layer address in its interface identifier.
  • DHCP
    Indicates an address that has been assigned to this system by a DHCP server.
  • RANDOM
    Indicates an address chosen by the system at random, e.g., an IPv4 address within 169.254/16, an RFC 4941 temporary address, or an RFC 7217 semantically opaque address.
  • OTHER
    None of the following.
  • STATIC
    Indicates that the address has been statically configured - for example, using NETCONF or a Command Line Interface.

Data elements

openconfig-if-aggregate

openconfig-version: 2.3.1

Description

Model for managing aggregated (aka bundle, LAG) interfaces.

Imports

openconfig-interfaces
openconfig-if-ethernet
iana-if-type
openconfig-if-types
openconfig-extensions

Defined types

aggregation-type

description:
Type to define the lag-type, i.e., how the LAG is defined and managed

type: enumeration

  • LACP
    LAG managed by LACP
  • STATIC
    Statically configured bundle / LAG

Data elements

openconfig-if-ethernet

openconfig-version: 2.4.0

Description

Model for managing Ethernet interfaces -- augments the OpenConfig model for interface configuration and state.

Imports

openconfig-interfaces
iana-if-type
openconfig-yang-types
openconfig-extensions

Identities

base: ETHERNET_SPEED

description:
base type to specify available Ethernet link speeds

SPEED_100GB

description:
100 Gbps Ethernet

base identity: ETHERNET_SPEED

SPEED_25GB

description:
25 Gbps Ethernet

base identity: ETHERNET_SPEED

SPEED_1GB

description:
1 Gbps Ethernet

base identity: ETHERNET_SPEED

SPEED_10GB

description:
10 Gbps Ethernet

base identity: ETHERNET_SPEED

SPEED_10MB

description:
10 Mbps Ethernet

base identity: ETHERNET_SPEED

SPEED_40GB

description:
40 Gbps Ethernet

base identity: ETHERNET_SPEED

SPEED_2500MB

description:
2.5 Gbps Ethernet

base identity: ETHERNET_SPEED

SPEED_UNKNOWN

description:
Interface speed is unknown. Systems may report speed UNKNOWN when an interface is down or unpopuplated (e.g., pluggable not present).

base identity: ETHERNET_SPEED

SPEED_50GB

description:
50 Gbps Ethernet

base identity: ETHERNET_SPEED

SPEED_100MB

description:
100 Mbps Ethernet

base identity: ETHERNET_SPEED

SPEED_5GB

description:
5 Gbps Ethernet

base identity: ETHERNET_SPEED

Data elements

openconfig-if-poe

openconfig-version: 0.1.0

Description

This module defines configuration and state data for Power over Ethernet (PoE) based on the IEEE 802.3af standard.

Imports

openconfig-if-ethernet
openconfig-interfaces
openconfig-extensions

Data elements

openconfig-if-ip-ext

openconfig-version: 2.3.0

Description

This module adds extensions to the base IP configuration and operational state model to support additional use cases.

Imports

openconfig-interfaces
openconfig-if-ip
openconfig-extensions

Data elements

openconfig-vlan

openconfig-version: 3.0.1

Description

This module defines configuration and state variables for VLANs, in addition to VLAN parameters associated with interfaces

Imports

openconfig-vlan-types
openconfig-interfaces
openconfig-if-ethernet
openconfig-if-aggregate
iana-if-type
openconfig-extensions

Data elements

openconfig-if-tunnel

openconfig-version: 0.1.0

Description

This model adds extensions to the OpenConfig interfaces model to configure tunnel interfaces on a network device.

Imports

openconfig-interfaces
openconfig-extensions
openconfig-inet-types
openconfig-if-ip

Data elements