RPCs
clear-counters-interface
Path | Access |
|---|---|
/clear-counters-interface/output | Read-Write |
/clear-counters-interface/output/data | Read-Write |
/clear-counters-interface/output
Path
/clear-counters-interface/output
Node Type container
Access Read-Write
/clear-counters-interface/output/data
Path /clear-counters-interface/output/data
Node Type leaf
Description the result of clear counters interface.
Access Read-Write
Data Type <YANG type string>
show-counters-interface
Path | Access |
|---|---|
/show-counters-interface/input | Read-Write |
/show-counters-interface/input/name | Read-Write |
/show-counters-interface/input/errors-only | Read-Write |
/show-counters-interface/input/rates-only | Read-Write |
/show-counters-interface/input/raw-stats | Read-Write |
/show-counters-interface/input/period | Read-Write |
/show-counters-interface/input/all | Read-Write |
/show-counters-interface/input/detail | Read-Write |
/show-counters-interface/input/json | Read-Write |
/show-counters-interface/output | Read-Write |
/show-counters-interface/output/data | Read-Write |
/show-counters-interface/input
Path /show-counters-interface/input
Node Type container
Access Read-Write
/show-counters-interface/input/name
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
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]
/show-counters-interface/input/rates-only
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]
/show-counters-interface/input/raw-stats
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]
/show-counters-interface/input/period
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
/show-counters-interface/input/all
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]
/show-counters-interface/input/detail
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]
/show-counters-interface/input/json
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]
/show-counters-interface/output
Path /show-counters-interface/output
Node Type container
Access Read-Write
/show-counters-interface/output/data
Path /show-counters-interface/output/data
Node Type anydata
Description A table that shows counter of interfaces
Access Read-Write
clear-vlan-membership
Path | Access |
|---|---|
/clear-vlan-membership/input | Read-Write |
/clear-vlan-membership/input/interface | Read-Write |
/clear-vlan-membership/input
Path /clear-vlan-membership/input
Node Type container
Access Read-Write
/clear-vlan-membership/input/interface
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
clear-router-interface
Path | Access |
|---|---|
/clear-router-interface/input | Read-Write |
/clear-router-interface/input/interface | Read-Write |
/clear-router-interface/input
Path /clear-router-interface/input
Node Type container
Access Read-Write
/clear-router-interface/input/interface
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
show-interface-summary
Path | Access |
|---|---|
/show-interface-summary/output | Read-Write |
/show-interface-summary/output/data | Read-Write |
/show-interface-summary/output
Path /show-interface-summary/output
Node Type container
Access Read-Write
/show-interface-summary/output/data
Path /show-interface-summary/output/data
Node Type anydata
Description A table that shows information of all Interface
Access Read-Write
show-ip-interface
Path | Access |
|---|---|
/show-ip-interface/output | Read-Write |
/show-ip-interface/output/data | Read-Write |
/show-ip-interface/output
Path /show-ip-interface/output
Node Type container
Access Read-Write
/show-ip-interface/output/data
Path /show-ip-interface/output/data
Node Type anydata
Description A table that shows information of all Interface with IPv4 address
Access Read-Write
show-ipv6-interface
Path | Access |
|---|---|
/show-ipv6-interface/output | Read-Write |
/show-ipv6-interface/output/data | Read-Write |
/show-ipv6-interface/output
Path /show-ipv6-interface/output
Node Type container
Access Read-Write
/show-ipv6-interface/output/data
Path /show-ipv6-interface/output/data
Node Type anydata
Description A table that shows information of all Interface with IPv6 address
Access Read-Write
show-interface-urpf
Path | Access |
|---|---|
/show-interface-urpf/output | Read-Write |
/show-interface-urpf/output/data | Read-Write |
/show-interface-urpf/output
Path /show-interface-urpf/output
Node Type container
Access Read-Write
/show-interface-urpf/output/data
Path /show-interface-urpf/output/data
Node Type anydata
Description A table that shows urpf mode of all Interface
Access Read-Write
config-port-group
Path | Access |
|---|---|
/config-port-group/input | Read-Write |
/config-port-group/input/interfaces | Read-Write |
/config-port-group/input/operation | Read-Write |
/config-port-group/input/admin-status | Read-Write |
/config-port-group/input/ethernet-config | Read-Write |
/config-port-group/input/ethernet-config/startup-delay | Read-Write |
/config-port-group/input/ethernet-config/port-speed | Read-Write |
/config-port-group/input/ethernet-config/auto-negotiate | Read-Write |
/config-port-group/input/vlan-group-config | Read-Write |
/config-port-group/input/vlan-group-config/vlan-ranges | Read-Write |
/config-port-group/input/vlan-group-config/tagging-mode | Read-Write |
/config-port-group/input/lldp | Read-Write |
/config-port-group/input/lldp/vid | Read-Write |
/config-port-group/input/lldp/vlan-type | Read-Write |
/config-port-group/input/lldp/priority | Read-Write |
/config-port-group/input/lldp/dscp | Read-Write |
/config-port-group/input/monitor-link | Read-Write |
/config-port-group/input/monitor-link/name | Read-Write |
/config-port-group/input/monitor-link/mode | Read-Write |
/config-port-group/input/poe | Read-Write |
/config-port-group/input/poe/enable-mode | Read-Write |
/config-port-group/input/poe/delay | Read-Write |
/config-port-group/input/poe/priority | Read-Write |
/config-port-group/input/poe/max-power | Read-Write |
/config-port-group/input/poe/legacy-detect | Read-Write |
/config-port-group/input/poe/power-off-time-range | Read-Write |
/config-port-group/input/qos-map | Read-Write |
/config-port-group/input/qos-map/dscp-tc-map-name | Read-Write |
/config-port-group/input/qos-map/dot1p-tc-map-name | Read-Write |
/config-port-group/input/qos-map/mpls-exp-tc-map-name | Read-Write |
/config-port-group/input/qos-map/tc-dscp-map-name | Read-Write |
/config-port-group/input/qos-map/tc-dot1p-map-name | Read-Write |
/config-port-group/input/qos-map/tc-mpls-exp-map-name | Read-Write |
/config-port-group/input
Path /config-port-group/input
Node Type container
Access Read-Write
/config-port-group/input/interfaces
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
/config-port-group/input/operation
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
/config-port-group/input/admin-status
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]
/config-port-group/input/ethernet-config
Path /config-port-group/input/ethernet-config
Node Type container
Access Read-Write
/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
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
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
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
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
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
/config-port-group/input/lldp
Path /config-port-group/input/lldp
Node Type container
Access Read-Write
/config-port-group/input/lldp/vid
Path /config-port-group/input/lldp/vid
Node Type leaf
Description VLAN ID to advertise.
Access Read-Write
Data Type <YANG type uint32>
/config-port-group/input/lldp/vlan-type
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
/config-port-group/input/lldp/priority
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
/config-port-group/input/lldp/dscp
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
/config-port-group/input/monitor-link
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
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
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
/config-port-group/input/poe
Path /config-port-group/input/poe
Node Type container
Description poe function of interface.
Access Read-Write
/config-port-group/input/poe/enable-mode
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
/config-port-group/input/poe/delay
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
/config-port-group/input/poe/priority
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
/config-port-group/input/poe/max-power
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
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
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
/config-port-group/input/qos-map
Path /config-port-group/input/qos-map
Node Type container
Access Read-Write
/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
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
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
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
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 string>
/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>
config-lag-group
Path | Access |
|---|---|
/config-lag-group/input | Read-Write |
/config-lag-group/input/lags | Read-Write |
/config-lag-group/input/operation | Read-Write |
/config-lag-group/input/vlan-group-config | Read-Write |
/config-lag-group/input/vlan-group-config/vlan-ranges | Read-Write |
/config-lag-group/input/vlan-group-config/tagging-mode | Read-Write |
/config-lag-group/input
Path /config-lag-group/input
Node Type container
Access Read-Write
/config-lag-group/input/lags
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>
/config-lag-group/input/operation
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
/config-lag-group/input/vlan-group-config
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
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
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
show-interface-errdown
Path | Access |
|---|---|
/show-interface-errdown/output | Read-Write |
/show-interface-errdown/output/data | Read-Write |
/show-interface-errdown/output/data/errdown-info | Read-Write |
/show-interface-errdown/output/data/errdown-info/interface | Read-Write |
/show-interface-errdown/output/data/errdown-info/state | Read-Write |
/show-interface-errdown/output
Path /show-interface-errdown/output
Node Type container
Access Read-Write
/show-interface-errdown/output/data
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
Path /show-interface-errdown/output/data/errdown-info
Node Type list
Access Read-Write
/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
Path /show-interface-errdown/output/data/errdown-info/state
Node Type leaf
Description Errdown status
Access Read-Write
Data Type <YANG type string>
show-interface-port
Path | Access |
|---|---|
/show-interface-port/input | Read-Write |
/show-interface-port/input/port | Read-Write |
/show-interface-port/output | Read-Write |
/show-interface-port/output/data | Read-Write |
/show-interface-port/input
Path /show-interface-port/input
Node Type container
Access Read-Write
/show-interface-port/input/port
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
/show-interface-port/output
Path /show-interface-port/output
Node Type container
Access Read-Write
/show-interface-port/output/data
Path /show-interface-port/output/data
Node Type anydata
Description The result string of port.
Access Read-Write
show-sub-interface
Path | Access |
|---|---|
/show-sub-interface/input | Read-Write |
/show-sub-interface/input/interface | Read-Write |
/show-sub-interface/output | Read-Write |
/show-sub-interface/output/data | Read-Write |
/show-sub-interface/input
Path /show-sub-interface/input
Node Type container
Access Read-Write
/show-sub-interface/input/interface
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>
/show-sub-interface/output
Path /show-sub-interface/output
Node Type container
Access Read-Write
/show-sub-interface/output/data
Path /show-sub-interface/output/data
Node Type anydata
Description A table that shows information of sub-ethernet interface
Access Read-Write