ports
17 min
asternos yang model for ports \<font color="#1d50a2">yang tree diagram\</font> 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 \<font color="#1d50a2">resources\</font> \<font color="#1d50a2">resource list\</font> 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 \<font color="#1d50a2">detailed nodes\</font> \<font color="#1d50a2">/ports global\</font> path /ports global node type container access read write \<font color="#1d50a2">/ports global/link delay\</font> 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 \<yang type uint16> constraints valid range 2 to 100 \<font color="#1d50a2">/?/interfaces/interface/ethernet config\</font> path /?/interfaces/interface/ethernet config node type container access read write \<font color="#1d50a2">/?/interfaces/interface/ethernet config/auto negotiate\</font> 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 \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/?/interfaces/interface/ethernet config/port speed\</font> 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 \<yang type identityref> constraints identityref with options speed 40g speed 1g speed 100m speed 10m speed 100g speed 10g speed 25g speed 2 5g \<font color="#1d50a2">/?/interfaces/interface/ethernet config/fec\</font> path /?/interfaces/interface/ethernet config/fec node type leaf description set interface fec access read write data type \<yang type enumeration> constraints enumeration with options rs fc none \<font color="#1d50a2">/?/interfaces/interface/ethernet config/lanes\</font> 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 \<yang type uint16> \<font color="#1d50a2">/?/interfaces/interface/ethernet config/index\</font> path /?/interfaces/interface/ethernet config/index node type leaf description index of ethernet, eg index of ethernet1 is 1 access read only data type \<yang type uint16> \<font color="#1d50a2">/?/interfaces/interface/ethernet config/alias\</font> path /?/interfaces/interface/ethernet config/alias node type leaf description alias of ethernet eg alias of ethernet1 is y2 access read only data type \<yang type string> \<font color="#1d50a2">/?/interfaces/interface/ethernet config/mac address learning\</font> 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 \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/?/interfaces/interface/ethernet config/unknown unicast action\</font> path /?/interfaces/interface/ethernet config/unknown unicast action node type leaf description set the unknown unicast packets forwarding action access read write data type \<yang type port bum action> constraints enumeration with options flood drop \<font color="#1d50a2">/?/interfaces/interface/ethernet config/unknown multicast action\</font> path /?/interfaces/interface/ethernet config/unknown multicast action node type leaf description set the unknown multicast packets forwarding action access read write data type \<yang type port bum action> constraints enumeration with options flood drop \<font color="#1d50a2">/?/interfaces/interface/ethernet config/broadcast action\</font> path /?/interfaces/interface/ethernet config/broadcast action node type leaf description set the broadcast packets forwarding action access read write data type \<yang type port bum action> constraints enumeration with options flood drop \<font color="#1d50a2">/?/interfaces/interface/ethernet config/startup delay\</font> 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 \<yang type uint16> constraints valid range 0 to 600 \<font color="#1d50a2">/?/interfaces/interface/bandwidth util warn\</font> path /?/interfaces/interface/bandwidth util warn node type container description configure interface bandwidth utilization alarm threshold access read write \<font color="#1d50a2">/?/interfaces/interface/bandwidth util warn/rx alert threshold\</font> path /?/interfaces/interface/bandwidth util warn/rx alert threshold node type leaf access read write data type \<yang type uint32> constraints valid range 50 to 100 \<font color="#1d50a2">/?/interfaces/interface/bandwidth util warn/rx resume threshold\</font> path /?/interfaces/interface/bandwidth util warn/rx resume threshold node type leaf access read write data type \<yang type uint32> constraints valid range 50 to 100 \<font color="#1d50a2">/?/interfaces/interface/bandwidth util warn/tx alert threshold\</font> path /?/interfaces/interface/bandwidth util warn/tx alert threshold node type leaf access read write data type \<yang type uint32> constraints valid range 50 to 100 \<font color="#1d50a2">/?/interfaces/interface/bandwidth util warn/tx resume threshold\</font> path /?/interfaces/interface/bandwidth util warn/tx resume threshold node type leaf access read write data type \<yang type uint32> constraints valid range 50 to 100 \<font color="#1d50a2">/?/interfaces/interface/l2 protocol control\</font> path /?/interfaces/interface/l2 protocol control node type container description disable layer 2 protocol packets trap to the cpu access read write \<font color="#1d50a2">/?/interfaces/interface/l2 protocol control/l2 protocol\</font> path /?/interfaces/interface/l2 protocol control/l2 protocol node type list description l2 protocol control access read write \<font color="#1d50a2">/?/interfaces/interface/l2 protocol control/l2 protocol/protocol type\</font> path /?/interfaces/interface/l2 protocol control/l2 protocol/protocol type node type leaf description l2 protocol name access read write data type \<yang type enumeration> constraints enumeration with options stp lacp \<font color="#1d50a2">/?/interfaces/interface/l2 protocol control/l2 protocol/disable\</font> 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 \<yang type boolean> constraints valid in \[true, false]
