Skip to content
Ask AI

RPCs

PathAccess
/clear-counters-interface/outputRead-Write
/clear-counters-interface/output/dataRead-Write

Path

/clear-counters-interface/output

Node Type

container

Access

Read-Write

Path

/clear-counters-interface/output/data

Node Type

leaf

Description

the result of clear counters interface.

Access

Read-Write

Data Type

<YANG type string>

PathAccess
/show-counters-interface/inputRead-Write
/show-counters-interface/input/nameRead-Write
/show-counters-interface/input/errors-onlyRead-Write
/show-counters-interface/input/rates-onlyRead-Write
/show-counters-interface/input/raw-statsRead-Write
/show-counters-interface/input/periodRead-Write
/show-counters-interface/input/allRead-Write
/show-counters-interface/input/detailRead-Write
/show-counters-interface/input/jsonRead-Write
/show-counters-interface/outputRead-Write
/show-counters-interface/output/dataRead-Write

Path

/show-counters-interface/input

Node Type

container

Access

Read-Write

Path

/show-counters-interface/input/name

Node Type

leaf

Description

The name of the interface.

Access

Read-Write

Data Type

<YANG type string>

/show-counters-interface/input/errors-only

Section titled “/show-counters-interface/input/errors-only”

Path

/show-counters-interface/input/errors-only

Node Type

leaf

Description

Display interface errors.

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

Path

/show-counters-interface/input/rates-only

Node Type

leaf

Description

Display interface rates.

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

Path

/show-counters-interface/input/raw-stats

Node Type

leaf

Description

Raw stats (unmodified output of netstat).

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

Path

/show-counters-interface/input/period

Node Type

leaf

Description

Display stats over a specified period (in seconds), default=0.

Access

Read-Write

Data Type

<YANG type uint8>

Constraints

Valid range: 0 to 100

Path

/show-counters-interface/input/all

Node Type

leaf

Description

Display all the stats counters.

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

Path

/show-counters-interface/input/detail

Node Type

leaf

Description

Display detailed statistics.

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

Path

/show-counters-interface/input/json

Node Type

leaf

Description

Display in JSON format.

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

Path

/show-counters-interface/output

Node Type

container

Access

Read-Write

Path

/show-counters-interface/output/data

Node Type

anydata

Description

A table that shows counter of interfaces

Access

Read-Write

PathAccess
/clear-vlan-membership/inputRead-Write
/clear-vlan-membership/input/interfaceRead-Write

Path

/clear-vlan-membership/input

Node Type

container

Access

Read-Write

Path

/clear-vlan-membership/input/interface

Node Type

leaf

Description

The name of the interface.

Access

Read-Write

Data Type

<YANG type string>

Mandatory

Yes

PathAccess
/clear-router-interface/inputRead-Write
/clear-router-interface/input/interfaceRead-Write

Path

/clear-router-interface/input

Node Type

container

Access

Read-Write

Path

/clear-router-interface/input/interface

Node Type

leaf

Description

The name of the interface.

Access

Read-Write

Data Type

<YANG type string>

Mandatory

Yes

PathAccess
/show-interface-summary/outputRead-Write
/show-interface-summary/output/dataRead-Write

Path

/show-interface-summary/output

Node Type

container

Access

Read-Write

Path

/show-interface-summary/output/data

Node Type

anydata

Description

A table that shows information of all Interface

Access

Read-Write

PathAccess
/show-ip-interface/outputRead-Write
/show-ip-interface/output/dataRead-Write

Path

/show-ip-interface/output

Node Type

container

Access

Read-Write

Path

/show-ip-interface/output/data

Node Type

anydata

Description

A table that shows information of all Interface with IPv4 address

Access

Read-Write

PathAccess
/show-ipv6-interface/outputRead-Write
/show-ipv6-interface/output/dataRead-Write

Path

/show-ipv6-interface/output

Node Type

container

Access

Read-Write

Path

/show-ipv6-interface/output/data

Node Type

anydata

Description

A table that shows information of all Interface with IPv6 address

Access

Read-Write

PathAccess
/show-interface-urpf/outputRead-Write
/show-interface-urpf/output/dataRead-Write

Path

/show-interface-urpf/output

Node Type

container

Access

Read-Write

Path

/show-interface-urpf/output/data

Node Type

anydata

Description

A table that shows urpf mode of all Interface

Access

Read-Write

PathAccess
/config-port-group/inputRead-Write
/config-port-group/input/interfacesRead-Write
/config-port-group/input/operationRead-Write
/config-port-group/input/admin-statusRead-Write
/config-port-group/input/ethernet-configRead-Write
/config-port-group/input/ethernet-config/startup-delayRead-Write
/config-port-group/input/ethernet-config/port-speedRead-Write
/config-port-group/input/ethernet-config/auto-negotiateRead-Write
/config-port-group/input/vlan-group-configRead-Write
/config-port-group/input/vlan-group-config/vlan-rangesRead-Write
/config-port-group/input/vlan-group-config/tagging-modeRead-Write
/config-port-group/input/lldpRead-Write
/config-port-group/input/lldp/vidRead-Write
/config-port-group/input/lldp/vlan-typeRead-Write
/config-port-group/input/lldp/priorityRead-Write
/config-port-group/input/lldp/dscpRead-Write
/config-port-group/input/monitor-linkRead-Write
/config-port-group/input/monitor-link/nameRead-Write
/config-port-group/input/monitor-link/modeRead-Write
/config-port-group/input/poeRead-Write
/config-port-group/input/poe/enable-modeRead-Write
/config-port-group/input/poe/delayRead-Write
/config-port-group/input/poe/priorityRead-Write
/config-port-group/input/poe/max-powerRead-Write
/config-port-group/input/poe/legacy-detectRead-Write
/config-port-group/input/poe/power-off-time-rangeRead-Write
/config-port-group/input/qos-mapRead-Write
/config-port-group/input/qos-map/dscp-tc-map-nameRead-Write
/config-port-group/input/qos-map/dot1p-tc-map-nameRead-Write
/config-port-group/input/qos-map/mpls-exp-tc-map-nameRead-Write
/config-port-group/input/qos-map/tc-dscp-map-nameRead-Write
/config-port-group/input/qos-map/tc-dot1p-map-nameRead-Write
/config-port-group/input/qos-map/tc-mpls-exp-map-nameRead-Write

Path

/config-port-group/input

Node Type

container

Access

Read-Write

Path

/config-port-group/input/interfaces

Node Type

leaf

Description

Port group interfaces on the device, eg: 1-3,5,7

Access

Read-Write

Data Type

<YANG type interface-ids>

Mandatory

Yes

Path

/config-port-group/input/operation

Node Type

leaf

Description

RPC operation

Access

Read-Write

Data Type

<YANG type rpc-operation-type>

Constraints

Enumeration with options: create / merge / delete

Path

/config-port-group/input/admin-status

Node Type

leaf

Description

This leaf contains the configured, desired state of the interface.

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

Path

/config-port-group/input/ethernet-config

Node Type

container

Access

Read-Write

/config-port-group/input/ethernet-config/startup-delay

Section titled “/config-port-group/input/ethernet-config/startup-delay”

Path

/config-port-group/input/ethernet-config/startup-delay

Node Type

leaf

Description

when fisrt admin up, delay few seconds to wait hardware or software initdone

Access

Read-Write

Data Type

<YANG type uint16>

Constraints

Valid range: 0 to 600

/config-port-group/input/ethernet-config/port-speed

Section titled “/config-port-group/input/ethernet-config/port-speed”

Path

/config-port-group/input/ethernet-config/port-speed

Node Type

leaf

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 PORT_SPEED identities

Access

Read-Write

Data Type

<YANG type identityref>

Constraints

IdentityRef with options: SPEED_40G SPEED_1G
SPEED_100M SPEED_2_5G SPEED_10M SPEED_100G SPEED_25G SPEED_10G

/config-port-group/input/ethernet-config/auto-negotiate

Section titled “/config-port-group/input/ethernet-config/auto-negotiate”

Path

/config-port-group/input/ethernet-config/auto-negotiate

Node Type

leaf

Description

Set interface speed auto negotiation.

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

/config-port-group/input/vlan-group-config

Section titled “/config-port-group/input/vlan-group-config”

Path

/config-port-group/input/vlan-group-config

Node Type

container

Description

VLAN related configuration that is part of the physical Ethernet interface.

Access

Read-Write

/config-port-group/input/vlan-group-config/vlan-ranges

Section titled “/config-port-group/input/vlan-group-config/vlan-ranges”

Path

/config-port-group/input/vlan-group-config/vlan-ranges

Node Type

leaf

Description

Ranges of VLAN IDs, e.g. 100-200,300-400

Access

Read-Write

Data Type

<YANG type vlan-range>

Constraints

Type definition representing a range of single-tagged VLANs. A range is specified as x-y where x and y are valid VLAN IDs (1 <= vlan-id <= 4094). The range is assumed to be inclusive, such that any VLAN-ID matching x <= VLAN-ID <= y falls within the range. If there is more than one range, use the expression x1-y1,x2-y2

/config-port-group/input/vlan-group-config/tagging-mode

Section titled “/config-port-group/input/vlan-group-config/tagging-mode”

Path

/config-port-group/input/vlan-group-config/tagging-mode

Node Type

leaf

Description

Specifies the type of interface as a vlan member

Access

Read-Write

Data Type

<YANG type enumeration>

Constraints

Enumeration with options: tagged / untagged

Path

/config-port-group/input/lldp

Node Type

container

Access

Read-Write

Path

/config-port-group/input/lldp/vid

Node Type

leaf

Description

VLAN ID to advertise.

Access

Read-Write

Data Type

<YANG type uint32>

Path

/config-port-group/input/lldp/vlan-type

Node Type

leaf

Description

Set tagged/untagged flag.

Access

Read-Write

Data Type

<YANG type enumeration>

Constraints

Enumeration with options: tagged / untagged

Path

/config-port-group/input/lldp/priority

Node Type

leaf

Description

MED policy priority.

Access

Read-Write

Data Type

<YANG type uint32>

Constraints

Valid range: 0 to 7

Path

/config-port-group/input/lldp/dscp

Node Type

leaf

Description

DSCP value to advertise.

Access

Read-Write

Data Type

<YANG type uint32>

Constraints

Valid range: 0 to 63

Path

/config-port-group/input/monitor-link

Node Type

container

Description

monitor link function of port group.

Access

Read-Write

/config-port-group/input/monitor-link/name

Section titled “/config-port-group/input/monitor-link/name”

Path

/config-port-group/input/monitor-link/name

Node Type

leaf

Description

Name of the monitor link group

Access

Read-Write

Data Type

<YANG type string>

/config-port-group/input/monitor-link/mode

Section titled “/config-port-group/input/monitor-link/mode”

Path

/config-port-group/input/monitor-link/mode

Node Type

leaf

Description

Physical ports can be added to the Monitor link group in the uplink or downlink mode. When uplink port is up, the downlink port will be up in delay time.When uplink port is down, the downlink port will be down at once

Access

Read-Write

Data Type

<YANG type enumeration>

Constraints

Enumeration with options: uplink / downlink

Mandatory

Yes

Path

/config-port-group/input/poe

Node Type

container

Description

poe function of interface.

Access

Read-Write

Path

/config-port-group/input/poe/enable-mode

Node Type

leaf

Description

The poe enable mode of interface. enable: port POE enable. high_inrush: port POE enable with ignored inrush check. At the end of port power up flow, ILIM state is ignored and the port will continue to regular ON state. force: port POE enable withh force power.To supply power to non-compliant PDs that would otherwise be rejected by the standard handshake. Force power mode presents a significant risk of damage to legacy non-PoE devices if connected, as it removes the intrinsic safety protection. It should be enabled only on ports connected to known PoE-capable equipment.

Access

Read-Write

Data Type

<YANG type enumeration>

Constraints

Enumeration with options: disable enable high-inrush force

Path

/config-port-group/input/poe/delay

Node Type

leaf

Description

This command is used to delay the activation of Power over Etthernet (POE) power supply on an interface based on actual usage requirements. When the uplink link state stabilizes, andthe protocols are running correctly, PoE power is supplied to the connected POE devices. This delay mechanism is usefulfor ensuring that PoE devices receive power only when the network is stable and ready to support them.

Access

Read-Write

Data Type

<YANG type uint16>

Constraints

Valid range: 0 to 3600

Path

/config-port-group/input/poe/priority

Node Type

leaf

Description

Set poe power supply priority of this interface.

Access

Read-Write

Data Type

<YANG type enumeration>

Constraints

Enumeration with options: low high critical

Path

/config-port-group/input/poe/max-power

Node Type

leaf

Description

Set Maximum poe power supply, WARNING: not support 90w currently.

Access

Read-Write

Data Type

<YANG type enumeration>

Constraints

Enumeration with options: 15w 30w 30w-at 60w 90w

/config-port-group/input/poe/legacy-detect

Section titled “/config-port-group/input/poe/legacy-detect”

Path

/config-port-group/input/poe/legacy-detect

Node Type

leaf

Description

Set poe legacy detection

Access

Read-Write

Data Type

<YANG type boolean>

Constraints

Valid in [true, false]

/config-port-group/input/poe/power-off-time-range

Section titled “/config-port-group/input/poe/power-off-time-range”

Path

/config-port-group/input/poe/power-off-time-range

Node Type

leaf

Description

Set poe power-off period rules.

Access

Read-Write

Data Type

<YANG type leafref>

Constraints

LeafRef pointing to: asternos-poe-base:poe-config/poe/leafref

Path

/config-port-group/input/qos-map

Node Type

container

Access

Read-Write

/config-port-group/input/qos-map/dscp-tc-map-name

Section titled “/config-port-group/input/qos-map/dscp-tc-map-name”

Path

/config-port-group/input/qos-map/dscp-tc-map-name

Node Type

leaf

Description

DSCP to TC map name.

Access

Read-Write

Data Type

<YANG type string>

/config-port-group/input/qos-map/dot1p-tc-map-name

Section titled “/config-port-group/input/qos-map/dot1p-tc-map-name”

Path

/config-port-group/input/qos-map/dot1p-tc-map-name

Node Type

leaf

Description

Dot1p to TC map name.

Access

Read-Write

Data Type

<YANG type string>

/config-port-group/input/qos-map/mpls-exp-tc-map-name

Section titled “/config-port-group/input/qos-map/mpls-exp-tc-map-name”

Path

/config-port-group/input/qos-map/mpls-exp-tc-map-name

Node Type

leaf

Description

MPLS exp to TC map name.

Access

Read-Write

Data Type

<YANG type string>

/config-port-group/input/qos-map/tc-dscp-map-name

Section titled “/config-port-group/input/qos-map/tc-dscp-map-name”

Path

/config-port-group/input/qos-map/tc-dscp-map-name

Node Type

leaf

Description

TC to DSCP map name.

Access

Read-Write

Data Type

<YANG type string>

/config-port-group/input/qos-map/tc-dot1p-map-name

Section titled “/config-port-group/input/qos-map/tc-dot1p-map-name”

Path

/config-port-group/input/qos-map/tc-dot1p-map-name

Node Type

leaf

Description

TC to Dot1p map name.

Access

Read-Write

Data Type

<YANG type strig>

/config-port-group/input/qos-map/tc-mpls-exp-map-name

Section titled “/config-port-group/input/qos-map/tc-mpls-exp-map-name”

Path

/config-port-group/input/qos-map/tc-mpls-exp-map-name

Node Type

leaf

Description

TC to MPLS exp map name.

Access

Read-Write

Data Type

<YANG type string>

PathAccess
/config-lag-group/inputRead-Write
/config-lag-group/input/lagsRead-Write
/config-lag-group/input/operationRead-Write
/config-lag-group/input/vlan-group-configRead-Write
/config-lag-group/input/vlan-group-config/vlan-rangesRead-Write
/config-lag-group/input/vlan-group-config/tagging-modeRead-Write

Path

/config-lag-group/input

Node Type

container

Access

Read-Write

Path

/config-lag-group/input/lags

Node Type

leaf

Description

Port group lags on the device, eg: 1-3,5,7

Access

Read-Write

Data Type

<YANG type interface-ids>

Path

/config-lag-group/input/operation

Node Type

leaf

Description

RPC operation

Access

Read-Write

Data Type

<YANG type rpc-operation-type>

Constraints

Enumeration with options: create / merge / delete

Path

/config-lag-group/input/vlan-group-config

Node Type

container

Description

VLAN related configuration that is part of the physical Ethernet interface.

Access

Read-Write

/config-lag-group/input/vlan-group-config/vlan-ranges

Section titled “/config-lag-group/input/vlan-group-config/vlan-ranges”

Path

/config-lag-group/input/vlan-group-config/vlan-ranges

Node Type

leaf

Description

Ranges of VLAN IDs, e.g. 100-200,300-400

Access

Read-Write

Data Type

<YANG type vlan-range>

Constraints

Type definition representing a range of single-tagged VLANs. A range is specified as x-y where x and y are valid VLAN IDs (1 <= vlan-id <= 4094). The range is assumed to be inclusive, such that any VLAN-ID matching x <= VLAN-ID <= y falls within the range.When auto-negotiate is set to FALSE, sets the link speed to a fixed value — supported values are defined by PORT_SPEED identities

/config-lag-group/input/vlan-group-config/tagging-mode

Section titled “/config-lag-group/input/vlan-group-config/tagging-mode”

Path

/config-lag-group/input/vlan-group-config/tagging-mode

Node Type

leaf

Description

Specifies the type of interface as a vlan member

Access

Read-Write

Data Type

<YANG type enumeration>

Constraints

Enumeration with options: tagged / untagged

PathAccess
/show-interface-errdown/outputRead-Write
/show-interface-errdown/output/dataRead-Write
/show-interface-errdown/output/data/errdown-infoRead-Write
/show-interface-errdown/output/data/errdown-info/interfaceRead-Write
/show-interface-errdown/output/data/errdown-info/stateRead-Write

Path

/show-interface-errdown/output

Node Type

container

Access

Read-Write

Path

/show-interface-errdown/output/data

Node Type

container

Description

A hierarchy of interface errdown information

Access

Read-Write

/show-interface-errdown/output/data/errdown-info

Section titled “/show-interface-errdown/output/data/errdown-info”

Path

/show-interface-errdown/output/data/errdown-info

Node Type

list

Access

Read-Write

/show-interface-errdown/output/data/errdown-info/interface

Section titled “/show-interface-errdown/output/data/errdown-info/interface”

Path

/show-interface-errdown/output/data/errdown-info/interface

Node Type

leaf

Description

Interface name

Access

Read-Write

Data Type

<YANG type string>

/show-interface-errdown/output/data/errdown-info/state

Section titled “/show-interface-errdown/output/data/errdown-info/state”

Path

/show-interface-errdown/output/data/errdown-info/state

Node Type

leaf

Description

Errdown status

Access

Read-Write

Data Type

<YANG type string>

PathAccess
/show-interface-port/inputRead-Write
/show-interface-port/input/portRead-Write
/show-interface-port/outputRead-Write
/show-interface-port/output/dataRead-Write

Path

/show-interface-port/input

Node Type

container

Access

Read-Write

Path

/show-interface-port/input/port

Node Type

leaf

Description

all - show all ethernet port. interface name - show specified port.

Access

Read-Write

Data Type

<YANG type union>

Mandatory

Yes

Path

/show-interface-port/output

Node Type

container

Access

Read-Write

Path

/show-interface-port/output/data

Node Type

anydata

Description

The result string of port.

Access

Read-Write

PathAccess
/show-sub-interface/inputRead-Write
/show-sub-interface/input/interfaceRead-Write
/show-sub-interface/outputRead-Write
/show-sub-interface/output/dataRead-Write

Path

/show-sub-interface/input

Node Type

container

Access

Read-Write

Path

/show-sub-interface/input/interface

Node Type

leaf

Description

The name of the ethernet or PortChannel sub-interface.

Access

Read-Write

Data Type

<YANG type string>

Path

/show-sub-interface/output

Node Type

container

Access

Read-Write

Path

/show-sub-interface/output/data

Node Type

anydata

Description

A table that shows information of sub-ethernet interface

Access

Read-Write