NETCONF Configuration Guide
YANG API Reference
ports
37 min
asternos ports module description asternos yang model for ports yang tree diagram module asternos ports + rw ports global + rw link delay? uint16 augment /if\ interfaces/if\ interface + rw ethernet config \| + rw auto negotiate? boolean \| + rw port speed? identityref \| + rw fec? enumeration \| + ro lanes uint16 \| + ro index? uint16 \| + ro alias? string \| + rw mac address learning? boolean \| + rw unknown unicast action? port bum action \| + rw unknown multicast action? port bum action \| + rw broadcast action? port bum action \| + rw startup delay? uint16 + rw bandwidth util warn \| + rw rx alert threshold? uint32 \| + rw rx resume threshold? uint32 \| + rw tx alert threshold? uint32 \| + rw tx resume threshold? uint32 + rw l2 protocol control + rw l2 protocol \[protocol type] + rw protocol type enumeration + rw disable? boolean rpcs + x show bandwidth util threshold warn + w input \| + w interface name? cmn\ ethernet port name + ro output + ro data + ro threshold \[] + ro interface name? cmn\ ethernet port name + ro rx alert threshold? uint32 + ro rx resume threshold? uint32 + ro tx alert threshold? uint32 + ro tx resume threshold? uint32 resources resource list path access /ports global read write /ports global/link delay read write /?/interfaces/interface/ethernet config read write /?/interfaces/interface/ethernet config/auto negotiate read write /?/interfaces/interface/ethernet config/port speed read write /?/interfaces/interface/ethernet config/fec read write /?/interfaces/interface/ethernet config/lanes read only /?/interfaces/interface/ethernet config/index read only /?/interfaces/interface/ethernet config/alias read only /?/interfaces/interface/ethernet config/mac address learning read write /?/interfaces/interface/ethernet config/unknown unicast action read write /?/interfaces/interface/ethernet config/unknown multicast action read write /?/interfaces/interface/ethernet config/broadcast action read write /?/interfaces/interface/ethernet config/startup delay read write /?/interfaces/interface/bandwidth util warn read write /?/interfaces/interface/bandwidth util warn/rx alert threshold read write /?/interfaces/interface/bandwidth util warn/rx resume threshold read write /?/interfaces/interface/bandwidth util warn/tx alert threshold read write /?/interfaces/interface/bandwidth util warn/tx resume threshold read write /?/interfaces/interface/l2 protocol control read write /?/interfaces/interface/l2 protocol control/l2 protocol read write /?/interfaces/interface/l2 protocol control/l2 protocol/protocol type read write /?/interfaces/interface/l2 protocol control/l2 protocol/disable read write detailed nodes /ports global path /ports global node type container description no description available access read write /ports global/link delay path /ports global/link delay node type leaf description when the physical state of an interface changes from down to up, wait for a period of time before reporting the interface up event to prevent frequent network status changes caused by interface status oscillations access read write data type constraints valid range 2 to 100 /?/interfaces/interface/ethernet config path /?/interfaces/interface/ethernet config node type container description no description available access read write /?/interfaces/interface/ethernet config/auto negotiate path /?/interfaces/interface/ethernet config/auto negotiate node type leaf description set interface speed auto negotiation default enabled for all 1g/2 5g/10g/25g ports, disabled for 40g/100g/400g ports access read write data type constraints valid in \[true, false] /?/interfaces/interface/ethernet config/port speed path /?/interfaces/interface/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 constraints identityref with options speed 40g speed 1g speed 100m speed 10m speed 100g speed 10g speed 25g speed 2 5g /?/interfaces/interface/ethernet config/fec path /?/interfaces/interface/ethernet config/fec node type leaf description set interface fec access read write data type constraints enumeration with options rs fc none /?/interfaces/interface/ethernet config/lanes path /?/interfaces/interface/ethernet config/lanes node type leaf list description lanes of ethernet eg lanes of ethernet1 is 1 access read only data type constraints valid range /?/interfaces/interface/ethernet config/index path /?/interfaces/interface/ethernet config/index node type leaf description index of ethernet, eg index of ethernet1 is 1 access read only data type constraints valid range /?/interfaces/interface/ethernet config/alias path /?/interfaces/interface/ethernet config/alias node type leaf description alias of ethernet eg alias of ethernet1 is y2 access read only data type /?/interfaces/interface/ethernet config/mac address learning path /?/interfaces/interface/ethernet config/mac address learning node type leaf description set interface mac address learning, only support for vlan and its members access read write data type constraints valid in \[true, false] /?/interfaces/interface/ethernet config/unknown unicast action path /?/interfaces/interface/ethernet config/unknown unicast action node type leaf description set the unknown unicast packets forwarding action access read write data type constraints enumeration with options flood drop /?/interfaces/interface/ethernet config/unknown multicast action path /?/interfaces/interface/ethernet config/unknown multicast action node type leaf description set the unknown multicast packets forwarding action access read write data type constraints enumeration with options flood drop /?/interfaces/interface/ethernet config/broadcast action path /?/interfaces/interface/ethernet config/broadcast action node type leaf description set the broadcast packets forwarding action access read write data type constraints enumeration with options flood drop /?/interfaces/interface/ethernet config/startup delay path /?/interfaces/interface/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 constraints valid range 0 to 600 /?/interfaces/interface/bandwidth util warn path /?/interfaces/interface/bandwidth util warn node type container description configure interface bandwidth utilization alarm threshold access read write /?/interfaces/interface/bandwidth util warn/rx alert threshold path /?/interfaces/interface/bandwidth util warn/rx alert threshold node type leaf description no description available access read write data type constraints valid range 50 to 100 /?/interfaces/interface/bandwidth util warn/rx resume threshold path /?/interfaces/interface/bandwidth util warn/rx resume threshold node type leaf description no description available access read write data type constraints valid range 50 to 100 /?/interfaces/interface/bandwidth util warn/tx alert threshold path /?/interfaces/interface/bandwidth util warn/tx alert threshold node type leaf description no description available access read write data type constraints valid range 50 to 100 /?/interfaces/interface/bandwidth util warn/tx resume threshold path /?/interfaces/interface/bandwidth util warn/tx resume threshold node type leaf description no description available access read write data type constraints valid range 50 to 100 /?/interfaces/interface/l2 protocol control path /?/interfaces/interface/l2 protocol control node type container description disable layer 2 protocol packets trap to the cpu access read write /?/interfaces/interface/l2 protocol control/l2 protocol path /?/interfaces/interface/l2 protocol control/l2 protocol node type list description l2 protocol control access read write /?/interfaces/interface/l2 protocol control/l2 protocol/protocol type path /?/interfaces/interface/l2 protocol control/l2 protocol/protocol type node type leaf description l2 protocol name access read write data type constraints enumeration with options stp lacp /?/interfaces/interface/l2 protocol control/l2 protocol/disable path /?/interfaces/interface/l2 protocol control/l2 protocol/disable node type leaf description control layer 2 protocol packets trap to the cpu access read write data type constraints valid in \[true, false] rpcs show bandwidth util threshold warn path access /show bandwidth util threshold warn/input read write /show bandwidth util threshold warn/input/interface name read write /show bandwidth util threshold warn/output read write /show bandwidth util threshold warn/output/data read write /show bandwidth util threshold warn/output/data/threshold read write /show bandwidth util threshold warn/output/data/threshold/interface name read write /show bandwidth util threshold warn/output/data/threshold/rx alert threshold read write /show bandwidth util threshold warn/output/data/threshold/rx resume threshold read write /show bandwidth util threshold warn/output/data/threshold/tx alert threshold read write /show bandwidth util threshold warn/output/data/threshold/tx resume threshold read write /show bandwidth util threshold warn/input path /show bandwidth util threshold warn/input node type container description no description available access read write /show bandwidth util threshold warn/input/interface name path /show bandwidth util threshold warn/input/interface name node type leaf description no description available access read write data type /show bandwidth util threshold warn/output path /show bandwidth util threshold warn/output node type container description no description available access read write /show bandwidth util threshold warn/output/data path /show bandwidth util threshold warn/output/data node type container description no description available access read write /show bandwidth util threshold warn/output/data/threshold path /show bandwidth util threshold warn/output/data/threshold node type list description no description available access read write /show bandwidth util threshold warn/output/data/threshold/interface name path /show bandwidth util threshold warn/output/data/threshold/interface name node type leaf description no description available access read write data type /show bandwidth util threshold warn/output/data/threshold/rx alert threshold path /show bandwidth util threshold warn/output/data/threshold/rx alert threshold node type leaf description no description available access read write data type constraints valid range /show bandwidth util threshold warn/output/data/threshold/rx resume threshold path /show bandwidth util threshold warn/output/data/threshold/rx resume threshold node type leaf description no description available access read write data type constraints valid range /show bandwidth util threshold warn/output/data/threshold/tx alert threshold path /show bandwidth util threshold warn/output/data/threshold/tx alert threshold node type leaf description no description available access read write data type constraints valid range /show bandwidth util threshold warn/output/data/threshold/tx resume threshold path /show bandwidth util threshold warn/output/data/threshold/tx resume threshold node type leaf description no description available access read write data type constraints valid range
