QoS and DCB
Quality of Service.
| Abbreviation | Full name | Description |
|---|---|---|
| QoS | Quality of Service | - |
| DSCP | Differentiated Services Code Point | - |
| PFC | priority-based Flow Control | - |
| ECN | Explicit Congestion Notification | - |
| TC | Traffic Class | - |
| Dot1p | 802.1q | An IEEE standard for providing VLAN identification and quality of service (QoS) levels |
URLs Summary
Section titled “URLs Summary”| URL | GET | POST | PATCH | PUT | DELETE |
|---|---|---|---|---|---|
| /rest/v1/rpc/clear-counters-ecn | N | Y | N | N | N |
| /rest/v1/rpc/clear-counters-priority-flow-control | N | Y | N | N | N |
| /rest/v1/rpc/clear-counters-priority-group | N | Y | N | N | N |
| /rest/v1/rpc/clear-counters-queue | N | Y | N | N | N |
| /rest/v1/running/qos | Y | N | N | N | N |
| /rest/v1/running/qos/class-maps/{name} | Y | Y | Y | N | Y |
| /rest/v1/running/qos/dcbx/interface/{name} | Y | N | Y | N | N |
| /rest/v1/running/qos/interfaces/{name} | Y | N | Y | N | N |
| /rest/v1/running/qos/pfc | Y | N | Y | N | N |
| /rest/v1/running/qos/pfc/pfc-watchdog | Y | N | Y | N | N |
| /rest/v1/running/qos/pfc/pfc-watchdog/watchdogs/{name} | Y | Y | N | Y | Y |
| /rest/v1/running/qos/policy-maps/{name} | Y | Y | Y | N | Y |
| /rest/v1/running/qos/policy-maps/{name}/class-profile/{class-map-name} | Y | Y | Y | N | Y |
| /rest/v1/running/qos/policy-maps/{name}/queue-scheduler/{queue} | Y | Y | Y | N | Y |
| /rest/v1/running/qos/profiles/buffer-profiles/{name} | Y | Y | Y | Y | Y |
| /rest/v1/running/qos/profiles/wred-profiles/{name} | Y | Y | N | Y | Y |
| /rest/v1/running/qos/qos-maps | Y | N | N | N | N |
| /rest/v1/running/qos/qos-maps/dot1p-tc-maps/{name} | Y | Y | Y | N | Y |
| /rest/v1/running/qos/qos-maps/dscp-tc-maps/{name} | Y | Y | Y | N | Y |
| /rest/v1/running/qos/traffic-behaviors/{name} | Y | Y | Y | N | Y |
| /rest/v1/rpc/show-counters-ecn | N | Y | N | N | N |
| /rest/v1/rpc/show-counters-ecn-buffer | N | Y | N | N | N |
| /rest/v1/rpc/show-counters-priority-flow-control | N | Y | N | N | N |
| /rest/v1/rpc/show-counters-priority-group | N | Y | N | N | N |
| /rest/v1/rpc/show-counters-queue | N | Y | N | N | N |
| /rest/v1/rpc/show-interface-ecn | N | Y | N | N | N |
| /rest/v1/rpc/show-interface-priority-flow-control | N | Y | N | N | N |
| /rest/v1/rpc/show-lldp-dcbx | N | Y | N | N | N |
| /rest/v1/rpc/show-pfcwd-stats | N | Y | N | N | N |
Examples
Section titled “Examples”Clear counters of ECN (Explicit Congestion Notification).
Section titled “Clear counters of ECN (Explicit Congestion Notification).”POST HTTPS://{switch IP}/rest/v1/rpc/clear-counters-ecnClear counters on priority flow controls.
Section titled “Clear counters on priority flow controls.”POST HTTPS://{switch IP}/rest/v1/rpc/clear-counters-priority-flow-controlClear counters on priority groups.
Section titled “Clear counters on priority groups.”POST HTTPS://{switch IP}/rest/v1/rpc/clear-counters-priority-groupClear counters in the queue.
Section titled “Clear counters in the queue.”POST HTTPS://{switch IP}/rest/v1/rpc/clear-counters-queueEnable PFC (priority-based Flow Control) watchdog with default settings.
Section titled “Enable PFC (priority-based Flow Control) watchdog with default settings.”POST HTTPS://{switch IP}/rest/v1/rpc/pfc-wd-set-defaultShow counters of ECN (Explicit Congestion Notification).
Section titled “Show counters of ECN (Explicit Congestion Notification).”POST HTTPS://{switch IP}/rest/v1/rpc/show-counters-ecnresponse:
{ "interface": [ { "name": "Ethernet1", "ecn0": 0, "ecn1": 0, "ecn2": 0, "ecn3": 0, "ecn4": 0, "ecn5": 0, "ecn6": 0, "ecn7": 0 }, { "name": "Ethernet2", "ecn0": 0, "ecn1": 0, "ecn2": 0, "ecn3": 0, "ecn4": 0, "ecn5": 0, "ecn6": 0, "ecn7": 0 }, { "name": "Ethernet3", "ecn0": 0, "ecn1": 0, "ecn2": 0, "ecn3": 0, "ecn4": 0, "ecn5": 0, "ecn6": 0, "ecn7": 0 }, ...... ]}Show counters of ECN (Explicit Congestion Notification) buffer.
Section titled “Show counters of ECN (Explicit Congestion Notification) buffer.”POST HTTPS://{switch IP}/rest/v1/rpc/show-counters-ecn-buffer{ "interface-name": "Ethernet1:1", "queue_id": 3}response:
{ "interface-ecn-buffer-counters": { "name": "Ethernet1:1", "queue": 3, "shared-use-watermark": 0, "total-use-watermark": 0, "total-use-count": 0 }}Show counters of priority flow control.
Section titled “Show counters of priority flow control.”POST HTTPS://{switch IP}/rest/v1/rpc/show-counters-priority-flow-controlresponse:
{ "interface": [ { "name": "Ethernet1:1", "ingress-pfc0": 0, "ingress-pfc1": 0, "ingress-pfc2": 0, "ingress-pfc3": 0, "ingress-pfc4": 0, "ingress-pfc5": 0, "ingress-pfc6": 0, "ingress-pfc7": 0, "egress-pfc0": 0, "egress-pfc1": 0, "egress-pfc2": 0, "egress-pfc3": 0, "egress-pfc4": 0, "egress-pfc5": 0, "egress-pfc6": 0, "egress-pfc7": 0 }, { "name": "Ethernet1:2", "ingress-pfc0": 0, "ingress-pfc1": 0, "ingress-pfc2": 0, "ingress-pfc3": 0, "ingress-pfc4": 0, "ingress-pfc5": 0, "ingress-pfc6": 0, "ingress-pfc7": 0, "egress-pfc0": 0, "egress-pfc1": 0, "egress-pfc2": 0, "egress-pfc3": 0, "egress-pfc4": 0, "egress-pfc5": 0, "egress-pfc6": 0, "egress-pfc7": 0 }, ...... ]}Show counters of priority group.
Section titled “Show counters of priority group.”POST HTTPS://{switch IP}/rest/v1/rpc/show-counters-priority-groupresponse:
{ "interface": [ { "name": "Ethernet1:1", "counters": [ { "queue": 0, "packet": 1344, "bytes": 356456, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 }, { "queue": 1, "packet": 0, "bytes": 0, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 }, { "queue": 2, "packet": 0, "bytes": 0, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 }, { "queue": 3, "packet": 0, "bytes": 0, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 }, { "queue": 4, "packet": 0, "bytes": 0, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 }, { "queue": 5, "packet": 0, "bytes": 0, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 }, { "queue": 6, "packet": 0, "bytes": 0, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 }, { "queue": 7, "packet": 0, "bytes": 0, "drop-packet": 0, "curr-occupancy-bytes": 0, "shared-curr-occupancy-bytes": 0, "xoff-room-curr-occupancy-bytes": 0 } ] }, ...... ]}Show interface ECN (Explicit Congestion Notification).
Section titled “Show interface ECN (Explicit Congestion Notification).”POST HTTPS://{switch IP}/rest/v1/rpc/show-interface-ecnresponse:
{ "interface": [ { "name": "Ethernet1:1", "ecn0": "N/A", "ecn1": "N/A", "ecn2": "enable", "ecn3": "N/A", "ecn4": "enable", "ecn5": "N/A", "ecn6": "N/A", "ecn7": "N/A" }, { "name": "Ethernet1:2", "ecn0": "N/A", "ecn1": "N/A", "ecn2": "enable", "ecn3": "N/A", "ecn4": "enable", "ecn5": "N/A", "ecn6": "N/A", "ecn7": "N/A" }, ...... ]}Show interface priority flow control.
Section titled “Show interface priority flow control.”POST HTTPS://{switch IP}/rest/v1/rpc/show-interface-priority-flow-controlresponse:
{ "interface": [ { "name": "Ethernet1:1", "lossless-queues": [ 2, 4 ] }, { "name": "Ethernet1:2", "lossless-queues": [ 2, 4 ] }, { "name": "Ethernet1:3", "lossless-queues": [ 2, 4 ] }, ...... ]}Show PFC watchdog status.
Section titled “Show PFC watchdog status.”POST HTTPS://{switch IP}/rest/v1/rpc/show-pfcwd-statsresponse:
{ "interface": [ { "name": "Ethernet1:1", "stats": [ { "queue": 0, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 }, { "queue": 1, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 }, { "queue": 2, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 }, { "queue": 3, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 }, { "queue": 4, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 }, { "queue": 5, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 }, { "queue": 6, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 }, { "queue": 7, "status": "N/A", "storm-detected": 0, "storm-restored": 0, "egress": 0, "egress-drop": 0, "ingress": 0, "ingress-drop": 0, "egress-last": 0, "egress-last-drop": 0, "ingress-last": 0, "ingress-last-drop": 0 } ] }, ...... ]}Get all the information with QoS.
Section titled “Get all the information with QoS.”GET HTTPS://{switch IP}/rest/v1/running/qosresponse:
{ "qos-maps": { "dscp-tc-maps": [ { "name": "default", "mapping": [ { "dscp": 0, "tc": 0 }, ...... { "dscp": 9, "tc": 1 } ] } ], "dot1p-tc-maps": [] }, "profiles": { "buffer-profiles": [ { "name": "egress_lossless_profile", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 3, "pool-mode": "lossless", "size": 0 }, { "name": "egress_lossy_profile", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 3, "pool-mode": "lossy", "size": 0 }, { "name": "ingress_lossless_profile", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": -3, "pool-mode": "lossless", "size": 0 }, { "name": "ingress_lossy_profile", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 3, "pool-mode": "lossy", "size": 0 }, { "name": "less1", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 0, "pool-mode": "lossless", "size": 15346 }, { "name": "loss1" }, { "name": "lossy1", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 0, "pool-mode": "lossy", "size": 181171 }, { "name": "pg_lossless_100000_40m_profile", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 0, "xon": 0, "xoff": 0, "pool-mode": "lossless", "size": 0 }, { "name": "pg_lossless_25000_40m_profile", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 0, "xon": 0, "xoff": 0, "pool-mode": "lossless", "size": 0 }, { "name": "t1", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 0, "pool-mode": "lossless", "size": 14000 }, { "name": "test1", "shared-buffer-mode": "dynamic", "shared-buffer-threshold": 3, "pool-mode": "lossless", "size": 1518 }, { "name": "test2", "shared-buffer-mode": "static", "shared-buffer-threshold": 5, "pool-mode": "lossless", "size": 1518 } ], "wred-profiles": [ { "name": "default_drop", "mode": "drop", "green": { "min-threshold": 15360, "max-threshold": 9854000, "drop-probability": 100 }, "yellow": { "min-threshold": 15360, "max-threshold": 9854000, "drop-probability": 100 }, "red": { "min-threshold": 15360, "max-threshold": 9854000, "drop-probability": 100 } }, { "name": "default_ecn", "mode": "ecn", "green": { "min-threshold": 15360, "max-threshold": 9854000, "drop-probability": 100 }, "yellow": { "min-threshold": 15360, "max-threshold": 9854000, "drop-probability": 100 }, "red": { "min-threshold": 15360, "max-threshold": 9854000, "drop-probability": 100 } } ] }, "class-maps": [ { "name": "t1", "queues": [ 3, 4 ] } ], "policy-maps": [], "pfc": { "queues": [ 3, 4 ], "pfc-watchdog": { "counter-poll": "enable" } }, "traffic-behaviors": [], "interfaces": [], "dcbx": {}}Create a QoS class map.
Section titled “Create a QoS class map.”POST HTTPS://{switch IP}/rest/v1/running/qos/class-maps/{ "name": "class_new", "queues": [1,5]}Modify QoS configuration on an interface.
Section titled “Modify QoS configuration on an interface.”PATCH HTTPS://{switch IP}/rest/v1/running/qos/interfaces{ "name": "Ethernet1", "traffic_behavior": "test_tr_byte"}Modify QoS PFC(priority-based Flow Control) configuration.
Section titled “Modify QoS PFC(priority-based Flow Control) configuration.”PATCH HTTPS://{switch IP}/rest/v1/running/qos/pfc{ "queues": [3,4]}Modify global QoS PFC(priority-based Flow Control) watchdog configuration.
Section titled “Modify global QoS PFC(priority-based Flow Control) watchdog configuration.”PATCH HTTPS://{switch IP}/rest/v1/running/qos/pfc/pfc-watchdog{ "poll-interval": 1000, "counter-poll" : "enable", "big-red-switch" : "disable"}Create a PFC watchdog.
Section titled “Create a PFC watchdog.”POST HTTPS://{switch IP}/rest/v1/running//qos/pfc/pfc-watchdog/watchdogs/{ "name": "Ethernet1", "action": "forward", "detection-time": 2000, "restoration-time": 3000}Create a policy map.
Section titled “Create a policy map.”POST HTTPS://{switch IP}/rest/v1/running/qos/policy-maps{ "name": "test_rest_create_policy1", "class-profile": [ { "class-map-name": "test_class_map_1", }, { "class-map-name": "test_class_map_2" }, ]}Create a class profile for a policy map.
Section titled “Create a class profile for a policy map.”POST HTTPS://{switch IP}/rest/v1/running/qos/policy-maps/test_set/class-profile{ "class-map-name": "test_rest", "wred-profile": "test_wred", "priority-group-buffer": "test_buffer_pg"}Create a queue scheduler for a policy map.
Section titled “Create a queue scheduler for a policy map.”POST HTTPS://{switch IP}/rest/v1/running/qos/policy-maps/test_set/queue-scheduler{ "queue": 5, "algorithm": "DWRR", "weight": 10}Create a buffer profile.
Section titled “Create a buffer profile.”POST HTTPS://{switch IP}/rest/v1/running/qos/profiles/buffer-profiles{ "name": "test_buffer_new", "shared-buffer-threshold":"3", "shared-buffer-mode":"dynamic", "pool-mode":"lossless", "size":"1618", "xoff":"33816", "xon-offset":"234", "xon":"31324"}Create a WRED (weighted random early detection) profile.
Section titled “Create a WRED (weighted random early detection) profile.”POST HTTPS://{switch IP}/rest/v1/running/qos/profiles/wred-profiles{ "name": "ecn_create", "mode": "ecn", "green": { "min-threshold": 111111, "max-threshold": 11111100, "drop-probability": 40 }, "yellow": { "min-threshold": 222222, "max-threshold": 22222200, "drop-probability": 40 }}Get all QoS maps.
Section titled “Get all QoS maps.”GET HTTPS://{switch IP}/rest/v1/running/qos/qos-mapsresponse:
{ "dscp-tc-maps": [ { "name": "api_dscp", "mapping": [ { "dscp": 0, "tc": 0 }, ...... { "dscp": 7, "tc": 0 } ] }, { "name": "default", "mapping": [ { "dscp": 0, "tc": 0 }, ...... { "dscp": 9, "tc": 1 } ] }, { "name": "diff_dscp", "default-value": "copy", "mapping": [] }, { "name": "roce_lossless_diffserv_map", "mapping": [ { "dscp": 0, "tc": 0 }, ...... { "dscp": 9, "tc": 1 } ] } ], "dot1p-tc-maps": [ { "name": "api_dot", "mapping": [ { "dot1p": 0, "tc": 0 }, ...... { "dot1p": 7, "tc": 7 } ] } ]}Create a Dot1p to TC (Traffic Class) map.
Section titled “Create a Dot1p to TC (Traffic Class) map.”POST HTTPS://{switch IP}/rest/v1/running/qos/qos-maps/dot1p-tc-maps{ "name": "test_dot1p_new", "mapping": [ {"dot1p": 0, "tc":0}, {"dot1p": 1, "tc":0}, {"dot1p": 2, "tc":1}, {"dot1p": 3, "tc":1}, {"dot1p": 4, "tc":2}, {"dot1p": 5, "tc":2}, {"dot1p": 6, "tc":3}, {"dot1p": 7, "tc":3}, ]}Create a DSCP to TC map.
Section titled “Create a DSCP to TC map.”POST HTTPS://{switch IP}/rest/v1/running/qos/qos-maps/dscp-tc-maps/{ "name": "test_dscp_new", "mapping": [ {"dscp": 0, "tc":0}, {"dscp": 1, "tc":0}, {"dscp": 2, "tc":0}, {"dscp": 3, "tc":0}, {"dscp": 4, "tc":0}, {"dscp": 5, "tc":0}, {"dscp": 6, "tc":0}, {"dscp": 7, "tc":0}, ]}Create traffic behavior.
Section titled “Create traffic behavior.”POST HTTPS://{switch IP}/rest/v1/running/qos/traffic-behaviors/{ "name": "test_tb_new_tr", "mode": "tr-tcm", "meter-type": "packets", "color-aware": "true", "cbs": 1008, "cir": 62508, "pbs": 1008, "pir": 62508, "red-action": "DROP"}Properties Descriptions
Section titled “Properties Descriptions”QoS DSCP to TC maps
Section titled “QoS DSCP to TC maps”Tree Diagrams
+--rw qos +--rw qos-maps | +--rw dscp-tc-maps | | +--rw dscp-tc-map* [name] | | +--rw name | | +--rw default-value? | | +--rw mapping* [dscp] | | +--rw dscp | | +--rw tc?cTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| qos-maps | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| There are two types of QoS Maps. The first type allows user to create QoS mapping to Traffic Class/color based on DSCP/Dot1p fields. These mappings are applied to inbound ports to classify the packets into different traffic classes/colors based on DSCP/Dot1p fields. Different traffic classes/colors can be associated with different SAI QoS objects (e.g., queues, wred) to provides differentiated services. User can also create map between traffic class to egress queue. ^ DCSP -> Traffic Class/Color ^ Dot1p -> Traffic Class/Color ^ Traffic Class -> egress queue The second type allows use to map incoming traffic to ingress buffer as well as set the priority field in the PFC frames. ^ Traffic Class to ingress buffer: This maps incoming traffic to ingress buffer. | |||
| dscp-tc-maps | M | (sub-property of qos-maps) | |
| Path-only node, has no configurable value. | |||
| Mapping of DSCP to Traffic Class | |||
| name | M | string | (sub-property of dscp-tc-maps) |
| Name of dscp-tc-map, Represents a set of mappings | |||
| default-value | O | default-type | (sub-property of dscp-tc-maps) |
| Copy the default configuration, or map all to the specified default values, If None, the action is to remove the default configuration | |||
| mapping | M | (sub-property of dscp-tc-maps) | |
| Path-only node, has no configurable value. | |||
| Mapping relationship between dscp value and traffic class | |||
| dscp | M | 0..63 | (sub-property of mapping) |
| The value of dscp | |||
| tc | O | 0..7 | (sub-property of mapping) |
| The value of traffic class |
QoS dot1p to TC maps
Section titled “QoS dot1p to TC maps”Tree Diagrams
+--rw qos +--rw qos-maps | +--rw dot1p-tc-maps | +--rw dot1p-tc-map* [name] | +--rw name | +--rw default-value? | +--rw mapping* [dot1p] | +--rw dot1p | +--rw tc?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| qos-maps | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| There are two types of QoS Maps. The first type allows user to create QoS mapping to Traffic Class/color based on DSCP/Dot1p fields. These mappings are applied to inbound ports to classify the packets into different traffic classes/colors based on DSCP/Dot1p fields. Different traffic classes/colors can be associated with different SAI QoS objects (e.g., queues, wred) to provides differentiated services. User can also create map between traffic class to egress queue. ^ DCSP -> Traffic Class/Color ^ Dot1p -> Traffic Class/Color ^ Traffic Class -> egress queue The second type allows use to map incoming traffic to ingress buffer as well as set the priority field in the PFC frames. ^ Traffic Class to ingress buffer: This maps incoming traffic to ingress buffer. | |||
| dot1p-tc-maps | M | (sub-property of qos-maps) | |
| Path-only node, has no configurable value. | |||
| Mapping of dot1p to Traffic Class | |||
| name | M | string | (sub-property of dot1p-tc-maps) |
| Name of dot1p-tc-map | |||
| default-value | O | 0..7 | (sub-property of dot1p-tc-maps) |
| Map all to the specified default values, If None, the action is to remove the default configuration | |||
| mapping | M | (sub-property of dot1p-tc-maps) | |
| Path-only node, has no configurable value. | |||
| Mapping relationship between dot1p value and traffic class | |||
| dot1p | M | 0..7 | (sub-property of mapping) |
| The value of dot1p | |||
| tc | O | 0..7 | (sub-property of mapping) |
| The value of Traffic Class |
QoS buffer profiles
Section titled “QoS buffer profiles”Tree Diagrams
+--rw qos +--rw profiles | +--rw buffer-profiles | | +--rw buffer-profile* [name] | | +--rw name | | +--rw shared-buffer-mode | | +--rw shared-buffer-threshold | | +--rw xon-offset? | | +--rw xon? | | +--rw xoff? | | +--rw pool-mode | | +--rw sizeTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| profiles | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| qos module, profile container configuration | |||
| buffer-profiles | M | (sub-property of profiles) | |
| Path-only node, has no configurable value. | |||
| Surrounding container for buffer profiles. | |||
| name | M | string | (sub-property of buffer-profiles) |
| Name of buffer profile | |||
| shared-buffer-mode | M | ”static" | |
| "dynamic” | (sub-property of buffer-profiles) | ||
| The type of limit used to specify the amount of buffer space that the queue is allowed to use from the shared pool. | |||
| shared-buffer-threshold | M | int64 | (sub-property of buffer-profiles) |
| threshold value for shared-buffer-limit | |||
| xon-offset | O | uint64 | (sub-property of buffer-profiles) |
| Set the buffer profile XON hysteresis threshold in byte, Valid only for ingress PG | |||
| xon | O | uint64 | (sub-property of buffer-profiles) |
| Set the buffer profile XON non-hysteresis threshold in byte, Valid only for ingress PG. | |||
| xoff | O | uint64 | (sub-property of buffer-profiles) |
| Set the buffer profile XOFF threshold in bytes, Valid only for ingress PG. | |||
| pool-mode | M | ”lossless" | |
| "lossy” | (sub-property of buffer-profiles) | ||
| Buffer type: lossless, lossy | |||
| size | M | uint64 | (sub-property of buffer-profiles) |
| Reserved buffer size in bytes. |
QoS wred profiles
Section titled “QoS wred profiles”Tree Diagrams
+--rw qos +--rw profiles | +--rw wred-profiles | +--rw wred-profile* [name] | +--rw name | +--rw mode | +--rw green | | +--ro enable? | | +--rw min-threshold | | +--rw max-threshold | | +--rw drop-probability | +--rw yellow | | +--rw enable? | | +--rw min-threshold | | +--rw max-threshold | | +--rw drop-probability | +--rw red | +--rw enable? | +--rw min-threshold | +--rw max-threshold | +--rw drop-probabilityTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| profiles | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| qos module, profile container configuration | |||
| wred-profiles | M | (sub-property of profiles) | |
| Path-only node, has no configurable value. | |||
| Surrounding container for wred profiles. | |||
| name | M | string | (sub-property of wred-profiles) |
| Name of wred profile | |||
| mode | M | ”drop" | |
| "ecn” | (sub-property of wred-profiles) | ||
| drop means drop mode, and ecn means ecn mode, which color-codes packets | |||
| green | M | (sub-property of wred-profiles) | |
| Path-only node, has no configurable value. | |||
| Setting of threshold and dropping probability for packets marked in green color. The green color is required, and other colors can be configured only after the green threshold and the drop probability are configured | |||
| enable | RO | ”true" | |
| "false” | (sub-property of green) | ||
| After the green color is enabled, the threshold and discarding probability of the green color can take effect | |||
| min-threshold | M | 0..4294967295 | (sub-property of green) |
| Low threshold | |||
| max-threshold | M | 0..4294967295 | (sub-property of green) |
| High threshold | |||
| drop-probability | M | 1..100 | (sub-property of green) |
| Discarding probability | |||
| yellow | M | (sub-property of wred-profiles) | |
| Path-only node, has no configurable value. | |||
| Setting of threshold and dropping probability for packets marked in yellow color | |||
| enable | O | ”true" | |
| "false” | (sub-property of yellow) | ||
| After the yellow color is enabled, the threshold and discarding probability of the yellow color can take effect | |||
| Default value: “false” | |||
| min-threshold | CM | 0..4294967295 | (sub-property of yellow) |
| Only applicable when ./yellow-enable = “true”. | |||
| Low threshold | |||
| max-threshold | CM | 0..4294967295 | (sub-property of yellow) |
| Only applicable when ./yellow-enable = “true”. | |||
| High threshold | |||
| drop-probability | CM | 1..100 | (sub-property of yellow) |
| Only applicable when ./yellow-enable = “true”. | |||
| Discarding probability | |||
| red | M | (sub-property of wred-profiles) | |
| Path-only node, has no configurable value. | |||
| Setting of threshold and dropping probability for packets marked in red color | |||
| enable | O | ”true" | |
| "false” | (sub-property of red) | ||
| After the red color is enabled, the threshold and discarding probability of the red color can take effect | |||
| Default value: “false” | |||
| min-threshold | CM | 0..4294967295 | (sub-property of red) |
| Only applicable when ./red-enable = “true”. | |||
| Low threshold | |||
| max-threshold | CM | 0..4294967295 | (sub-property of red) |
| Only applicable when ./red-enable = “true”. | |||
| High threshold | |||
| drop-probability | CM | 1..100 | (sub-property of red) |
| Only applicable when ./red-enable = “true”. | |||
| Discarding probability |
QoS class maps
Section titled “QoS class maps”Tree Diagrams
+--rw qos +--rw class-maps | +--rw class-map* [name] | +--rw name | +--rw queues*Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| class-maps | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| name | M | string | (sub-property of class-maps) |
| queues | O | 0..7 | (sub-property of class-maps) |
QoS policy maps
Section titled “QoS policy maps”Tree Diagrams
+--rw qos +--rw policy-maps | +--rw policy-map* [name] | +--rw name | +--rw diffserv-map | | +--rw map-type? | | +--rw map-name? | +--rw port-shape | | +--rw pir? | | +--rw pbs? | +--rw queue-scheduler* [queue] | | +--rw queue | | +--rw algorithm | | +--rw weight? | +--rw class-profile* [class-map-name] | +--rw class-map-name | +--rw wred-profile? | +--rw priority-group-buffer? | +--rw queue-buffer? | +--rw bandwidth | | +--rw cir? | | +--rw cbs? | +--rw queue-shape | +--rw pir? | +--rw pbs?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| policy-maps | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| Surrounding container for qos policy map. | |||
| name | M | string | (sub-property of policy-maps) |
| diffserv-map | M | (sub-property of policy-maps) | |
| Path-only node, has no configurable value. | |||
| map-type | O | ”dscp-tc-map" | |
| "dot1p-tc-map” | (sub-property of diffserv-map) | ||
| Identify the diffserv map that needs to be bound on the policy map | |||
| map-name | O | string | (sub-property of diffserv-map) |
| port-shape | M | (sub-property of policy-maps) | |
| Path-only node, has no configurable value. | |||
| Interface traffic shaping, also known as interface rate limiting LR(Line rate), limits the total rate of all packets sent by the interface (including emergency packets), which is traffic shaping for the whole outgoing interface without distinguishing priorities. | |||
| pir | O | uint64 | (sub-property of port-shape) |
| Maximum port shape rate [bytes] | |||
| pbs | O | uint64 | (sub-property of port-shape) |
| Maximum Burst for port shape rate [bytes] | |||
| queue-scheduler | M | (sub-property of policy-maps) | |
| Path-only node, has no configurable value. | |||
| queue | M | 0..7 | (sub-property of queue-scheduler) |
| algorithm | M | ”STRICT" | |
| "DWRR” | (sub-property of queue-scheduler) | ||
| Users can put important protocol packets and delay-sensitive service packets into the queue scheduled by PQ, and allocate the specified bandwidth to the queue. Other packets are put into each queue scheduled by DWRR according to their priority, and each queue is scheduled circularly according to their weight. Note: By standard, the queue priority of all DWRRS should be less than the priority of all PQ queues | |||
| weight | CO | 1..100 | (sub-property of queue-scheduler) |
| Only applicable when algorithm = “DWRR”. | |||
| The weighted value of the queue scheduling algorithm | |||
| class-profile | M | (sub-property of policy-maps) | |
| Path-only node, has no configurable value. | |||
| class-map-name | M | class-map name | (sub-property of class-profile) |
| wred-profile | O | wred-profile name | (sub-property of class-profile) |
| wred to be applied | |||
| priority-group-buffer | O | buffer-profile name | (sub-property of class-profile) |
| priority group buffer profile to be applied | |||
| queue-buffer | O | buffer-profile name | (sub-property of class-profile) |
| queue buffer profile to be applied | |||
| bandwidth | M | (sub-property of class-profile) | |
| Path-only node, has no configurable value. | |||
| cir | O | uint64 | (sub-property of bandwidth) |
| Guaranteed Bandwidth rate [bytes] | |||
| cbs | O | uint64 | (sub-property of bandwidth) |
| Guaranteed Burst for Bandwidth rate [Bytes] | |||
| queue-shape | M | (sub-property of class-profile) | |
| Path-only node, has no configurable value. | |||
| pir | O | uint64 | (sub-property of queue-shape) |
| Maximum queue shape rate [bytes] | |||
| pbs | O | uint64 | (sub-property of queue-shape) |
| Maximum Burst for queue shape rate [bytes] |
QoS PFC
Section titled “QoS PFC”Tree Diagrams
+--rw qos +--rw pfc | +--rw queues* | +--rw pfc-watchdog | +--rw poll-interval? | +--rw big-red-switch? | +--rw counter-poll? | +--rw watchdogs | +--rw watchdog* [name] | +--rw name | +--rw action? | +--rw detection-time | +--rw restoration-time?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| pfc | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| PFC (priority-based Flow Control) is a kind of flow control based on Priority, which has the same principle as flow control. This series of switches use PFC to achieve the purpose of flow control, support global enable/de-enable PFC and specify one or some queues enable/de-enable PFC. This series of products supports setting up to two lossless queues. The default lossless queues are 3 and 4, so PFC is enabled by default for queue 3 and 4 | |||
| queues | O | 0..7 | (sub-property of pfc) |
| The active pfc queue on the current interface, default is [3,4] | |||
| Default value: 3 | |||
| pfc-watchdog | M | (sub-property of pfc) | |
| Path-only node, has no configurable value. | |||
| Surrounding container for pfc watchdog. | |||
| poll-interval | O | 100..3000 | (sub-property of pfc-watchdog) |
| The PFC monitor periodically checks the status of the PFC queue. The PFC monitor checks the status of the queue once per polling interval. The default interval is 100 milliseconds. The minimum interval is 100 ms and the maximum interval is 1000 ms. | |||
| Default value: 100 | |||
| big-red-switch | O | ”enable" | |
| "disable” | (sub-property of pfc-watchdog) | ||
| When BIG_RED_SWITCH mode is enabled, pfcwd is automatically disabled | |||
| counter-poll | O | ”enable" | |
| "disable” | (sub-property of pfc-watchdog) | ||
| Enable/disable PFC WD counter polling | |||
| watchdogs | M | (sub-property of pfc-watchdog) | |
| Path-only node, has no configurable value. |
|| name | M | Ethernet name “all” | (sub-property of watchdogs) | | action | O | “forward” “drop” “alert” | (sub-property of watchdogs) When a PFC storm appears in the queue, the user can specify the action of PFCWD as drop or forward. If configured to drop, all existing and subsequent packets to the egress queue are dropped, including PAUSE frames. The device will no longer send PAUSE frames to its neighbors. If configured as forward, the queue ignores received PAUSE frames and forwards them normally. | | detection-time | M | 100..5000 | (sub-property of watchdogs) The detection time of PFCWD, which is 100ms by default. | | restoration-time | O | 100..60000 | (sub-property of watchdogs) the device supports setting the restoration time of PFCWD, which are 100ms by default. |
QoS traffic behaviors
Section titled “QoS traffic behaviors”Tree Diagrams
+--rw qos +--rw traffic-behaviors | +--rw traffic-behavior* [name] | +--rw name | +--rw mode | +--rw meter-type? | +--rw color-aware? | +--rw cir | +--rw cbs? | +--rw pir? | +--rw pbs? | +--rw red-action?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| traffic-behaviors | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| qos module, traffic behavior container configuration | |||
| name | M | string | (sub-property of traffic-behaviors) |
| Name of traffic behavior | |||
| mode | M | ”sr-tcm" | |
| "tr-tcm” | (sub-property of traffic-behaviors) | ||
| Policer mode | |||
| meter-type | O | ”packets" | |
| "bytes” | (sub-property of traffic-behaviors) | ||
| Policer Meter Type | |||
| Default value: “bytes” | |||
| color-aware | O | ”true" | |
| "false” | (sub-property of traffic-behaviors) | ||
| Policer Color Source; Currently only the configuration is supported as “AWARE” | |||
| Default value: “true” | |||
| cir | M | uint64 | (sub-property of traffic-behaviors) |
| Committed information rate BPS/PPS based on | |||
| cbs | O | uint64 | (sub-property of traffic-behaviors) |
| Committed burst size bytes/packets based on | |||
| pir | CO | uint64 | (sub-property of traffic-behaviors) |
| Only applicable when mode = “tr-tcm”. | |||
| Peak information rate BPS/PPS based on, It works when the mode is tr-tcm | |||
| pbs | CO | uint64 | (sub-property of traffic-behaviors) |
| Only applicable when mode = “tr-tcm”. | |||
| Peak burst size bytes/packets based on, It works when the mode is tr-tcm | |||
| red-action | O | ”FORWARD" | |
| "DROP” | (sub-property of traffic-behaviors) | ||
| Action to take for RED color packets | |||
| Default value: “DROP” |
QoS interfaces
Section titled “QoS interfaces”Tree Diagrams
+--rw qos +--rw interfaces | +--rw interface* [name] | +--rw name | +--rw policy-map? | +--rw traffic-behavior?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| interfaces | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| name | M | Ethernet name | (sub-property of interfaces) |
| policy-map | O | policy-map name | (sub-property of interfaces) |
| Name of the policy-map applied to the interface | |||
| traffic-behavior | O | traffic-behavior name | (sub-property of interfaces) |
| Name of the traffic-behavior applied to the interface |
DCBX interfaces
Section titled “DCBX interfaces”Tree Diagrams
+--rw qos +--rw dcbx +--rw interface* [name] +--rw name +--rw dcbx-enable +--rw pfc-willing? +--rw ets-willing?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| qos | M | Path-only node, has no configurable value. | |
| Top-level container for QoS data | |||
| dcbx | M | (sub-property of qos) | |
| Path-only node, has no configurable value. | |||
| Configuration for the qos dcbx | |||
| interface | M | (sub-property of dcbx) | |
| Path-only node, has no configurable value. | |||
| name | M | Ethernet name | (sub-property of interface) |
| dcbx-enable | M | ”true" | |
| "false” | (sub-property of interface) | ||
| Enable LLDP DCBX Configuration | |||
| pfc-willing | CO | ”true" | |
| "false” | (sub-property of interface) | ||
| Only applicable when dcbx-enable = “true”. | |||
| LLDP DCBX PFC willingness | |||
| Default value: “false” | |||
| ets-willing | CO | ”true" | |
| "false” | (sub-property of interface) | ||
| Only applicable when dcbx-enable = “true”. | |||
| LLDP DCBX ETS willingness | |||
| Default value: “false” |
Show-lldp-dcbx
Section titled “Show-lldp-dcbx”Tree Diagrams
+---x show-lldp-dcbx | +--ro output | +--ro interface* [name] | +--ro name | +--ro pfc-willing? | +--ro ets-willing? | +--ro pfc-accepted? | +--ro ets-accepted?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-lldp-dcbx | M | Path-only node, has no configurable value. | |
| Show dcbx information of interfaces | |||
| interface | RO | (sub-property of output) | |
| Path-only node, has no configurable value. | |||
| name | RO | string | (sub-property of interface) |
| pfc-willing | RO | ”true" | |
| "false” | (sub-property of interface) | ||
| LLDP DCBX PFC willingness | |||
| ets-willing | RO | ”true" | |
| "false” | (sub-property of interface) | ||
| LLDP DCBX ETS willingness | |||
| pfc-accepted | RO | ”true" | |
| "false” | (sub-property of interface) | ||
| LLDP DCBX PFC accepted | |||
| ets-accepted | RO | ”true" | |
| "false” | (sub-property of interface) | ||
| LLDP DCBX ETS accepted |
Show-interface-priority-flow-control
Section titled “Show-interface-priority-flow-control”Tree Diagrams
+---x show-interface-priority-flow-control | +--ro output | +--ro interface* [name] | +--ro name | +--ro lossless-queues*Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-interface-priority-flow-control | M | Path-only node, has no configurable value. | |
| Show priority-flow-control information of interfaces | |||
| interface | RO | (sub-property of output) | |
| Path-only node, has no configurable value. |
|| name | RO | Ethernet name | (sub-property of interface) | | lossless-queues | RO | 0..7 | (sub-property of interface) The active pfc queues on the current interface |
Show-interface-ecn
Section titled “Show-interface-ecn”Tree Diagrams
+---x show-interface-ecn | +---w input | | +---w detailed? | +--ro output | +--ro interface* [name] | +--ro name | +--ro ecn0? | +--ro ecn1? | +--ro ecn2? | +--ro ecn3? | +--ro ecn4? | +--ro ecn5? | +--ro ecn6? | +--ro ecn7?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-interface-ecn | M | Path-only node, has no configurable value. | |
| Show ecn information of interfaces | |||
| detailed | O | ”true" | |
| "false” | (sub-property of input) | ||
| Show detailed interface ecn information when value is true | |||
| Default value: false | |||
| interface | RO | (sub-property of output) | |
| Path-only node, has no configurable value. |
|| name | RO | Ethernet name | (sub-property of interface) | | ecn0 | RO | string | (sub-property of interface) | | ecn1 | RO | string | (sub-property of interface) | | ecn2 | RO | string | (sub-property of interface) | | ecn3 | RO | string | (sub-property of interface) | | ecn4 | RO | string | (sub-property of interface) | | ecn5 | RO | string | (sub-property of interface) | | ecn6 | RO | string | (sub-property of interface) | | ecn7 | RO | string | (sub-property of interface) |
Show-counters-priority-flow-control
Section titled “Show-counters-priority-flow-control”Tree Diagrams
+---x show-counters-priority-flow-control | +--ro output | +--ro interface* [name] | +--ro name | +--ro ingress-pfc0? | +--ro ingress-pfc1? | +--ro ingress-pfc2? | +--ro ingress-pfc3? | +--ro ingress-pfc4? | +--ro ingress-pfc5? | +--ro ingress-pfc6? | +--ro ingress-pfc7? | +--ro egress-pfc0? | +--ro egress-pfc1? | +--ro egress-pfc2? | +--ro egress-pfc3? | +--ro egress-pfc4? | +--ro egress-pfc5? | +--ro egress-pfc6? | +--ro egress-pfc7?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-counters-priority-flow-control | M | Path-only node, has no configurable value. | |
| Show pfc counters | |||
| interface | RO | (sub-property of output) | |
| Path-only node, has no configurable value. | |||
| name | RO | Ethernet name | (sub-property of interface) |
|| ingress-pfc0 | RO | uint64 | (sub-property of interface) | | ingress-pfc1 | RO | uint64 | (sub-property of interface) | | ingress-pfc2 | RO | uint64 | (sub-property of interface) | | ingress-pfc3 | RO | uint64 | (sub-property of interface) | | ingress-pfc4 | RO | uint64 | (sub-property of interface) | | ingress-pfc5 | RO | uint64 | (sub-property of interface) | | ingress-pfc6 | RO | uint64 | (sub-property of interface) | | ingress-pfc7 | RO | uint64 | (sub-property of interface) | | egress-pfc0 | RO | uint64 | (sub-property of interface) | | egress-pfc1 | RO | uint64 | (sub-property of interface) | | egress-pfc2 | RO | uint64 | (sub-property of interface) | | egress-pfc3 | RO | uint64 | (sub-property of interface) | | egress-pfc4 | RO | uint64 | (sub-property of interface) | | egress-pfc5 | RO | uint64 | (sub-property of interface) | | egress-pfc6 | RO | uint64 | (sub-property of interface) | | egress-pfc7 | RO | uint64 | (sub-property of interface) |
Show-counters-ecn
Section titled “Show-counters-ecn”Tree Diagrams
+---x show-counters-ecn | +--ro output | +--ro interface* [name] | +--ro name | +--ro ecn0? | +--ro ecn1? | +--ro ecn2? | +--ro ecn3? | +--ro ecn4? | +--ro ecn5? | +--ro ecn6? | +--ro ecn7?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-counters-ecn | M | Path-only node, has no configurable value. | |
| Show ecn counters | |||
| interface | RO | (sub-property of output) | |
| Path-only node, has no configurable value. | |||
| name | RO | Ethernet name | (sub-property of interface) |
|| ecn0 | RO | uint64 | (sub-property of interface) | | ecn1 | RO | uint64 | (sub-property of interface) | | ecn2 | RO | uint64 | (sub-property of interface) | | ecn3 | RO | uint64 | (sub-property of interface) | | ecn4 | RO | uint64 | (sub-property of interface) | | ecn5 | RO | uint64 | (sub-property of interface) | | ecn6 | RO | uint64 | (sub-property of interface) | | ecn7 | RO | uint64 | (sub-property of interface) |
Show-counters-ecn-buffer
Section titled “Show-counters-ecn-buffer”Tree Diagrams
+---x show-counters-ecn-buffer | +---w input | | +---w interface-name? | | +---w queue-id? | +--ro output | +--ro interface-ecn-buffer-counters | +--ro name? | +--ro queue? | +--ro shared-use-watermark? | +--ro total-use-watermark? | +--ro total-use-count?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-counters-ecn-buffer | M | Path-only node, has no configurable value. | |
| Show ecn buffer counters | |||
| interface-name | O | Ethernet name | (sub-property of input) |
|| queue-id | O | 0..7 | (sub-property of input) | | interface-ecn-buffer-counters | RO | | (sub-property of output) Path-only node, has no configurable value. | | name | RO | Ethernet name | (sub-property of interface-ecn-buffer-counters) | | queue | RO | 0..7 | (sub-property of interface-ecn-buffer-counters) | | shared-use-watermark | RO | uint64 | (sub-property of interface-ecn-buffer-counters) Shared use watermark counters, unit is byte | | total-use-watermark | RO | uint64 | (sub-property of interface-ecn-buffer-counters) Total use watermark counters, unit is byte | | total-use-count | RO | uint64 | (sub-property of interface-ecn-buffer-counters) Total use count counters, unit is byte |
Show-counters-queue
Section titled “Show-counters-queue”Tree Diagrams
+---x show-counters-queue | +---w input | | +---w interface-name? | +--ro output | +--ro interface* [name] | +--ro name | +--ro counters* [queue] | +--ro queue | +--ro packets? | +--ro bytes? | +--ro drop-packets? | +--ro drop-bytes? | +--ro packets-rate? | +--ro bytes-rate? | +--ro drop-packets-rate? | +--ro drop-bytes-rate? | +--ro curr-occupancy-bytes? | +--ro shared-curr-occupancy-bytes?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-counters-queue | M | Path-only node, has no configurable value. | |
| Show queue counters | |||
| interface-name | O | Ethernet name | (sub-property of input) |
|| interface | RO | | (sub-property of output) Path-only node, has no configurable value. | | name | RO | Ethernet name | (sub-property of interface) | | counters | RO | | (sub-property of interface) Path-only node, has no configurable value. | | queue | RO | 0..7 | (sub-property of counters) | | packets | RO | uint64 | (sub-property of counters) Get tx packets count | | bytes | RO | uint64 | (sub-property of counters) Get tx bytes count | | drop-packets | RO | uint64 | (sub-property of counters) Get dropped packets count | | drop-bytes | RO | uint64 | (sub-property of counters) Get dropped bytes count | | packets-rate | RO | decimal64 | (sub-property of counters) Get tx packets rate | | bytes-rate | RO | decimal64 | (sub-property of counters) Get tx bytes rate | | drop-packets-rate | RO | decimal64 | (sub-property of counters) Get dropped packets rate | | drop-bytes-rate | RO | decimal64 | (sub-property of counters) Get dropped bytes rate | | curr-occupancy-bytes | RO | uint64 | (sub-property of counters) Get current queue occupancy in bytes | | shared-curr-occupancy-bytes | RO | uint64 | (sub-property of counters) Get current queue shared occupancy in bytes |
Show-counters-priority-group
Section titled “Show-counters-priority-group”Tree Diagrams
+---x show-counters-priority-group | +---w input | | +---w watermark-counters? | | +---w interface-name? | +--ro output | +--ro interface* [name] | +--ro name | +--ro counters* [queue] | +--ro queue | +--ro packet? | +--ro bytes? | +--ro drop-packet? | +--ro curr-occupancy-bytes? | +--ro watermark-bytes? | +--ro shared-curr-occupancy-bytes? | +--ro shared-watermark-bytes? | +--ro xoff-room-curr-occupancy-bytes? | +--ro xoff-room-watermark-bytes?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-counters-priority-group | M | Path-only node, has no configurable value. | |
| Show priority-group counters | |||
| watermark-counters | O | ”true" | |
| "false” | (sub-property of input) | ||
| Get watermark counters or not | |||
| interface-name | O | Ethernet name | (sub-property of input) |
| Interface name | |||
| interface | RO | (sub-property of output) | |
| Path-only node, has no configurable value. |
|| name | RO | Ethernet name | (sub-property of interface) | | counters | RO | | (sub-property of interface) Path-only node, has no configurable value. | | queue | RO | 0..7 | (sub-property of counters) | | packet | RO | uint64 | (sub-property of counters) Rx packets count | | bytes | RO | uint64 | (sub-property of counters) Get rx bytes count | | drop-packet | RO | uint64 | (sub-property of counters) Get dropped packets count | | curr-occupancy-bytes | RO | uint64 | (sub-property of counters) Get current pg occupancy in bytes | | watermark-bytes | RO | uint64 | (sub-property of counters) Get watermark pg occupancy in bytes | | shared-curr-occupancy-bytes | RO | uint64 | (sub-property of counters) Get current pg shared occupancy in bytes | | shared-watermark-bytes | RO | uint64 | (sub-property of counters) Get watermark pg shared occupancy in bytes | | xoff-room-curr-occupancy-bytes | RO | uint64 | (sub-property of counters) Get current pg XOFF room occupancy in bytes | | xoff-room-watermark-bytes | RO | uint64 | (sub-property of counters) Get watermark pg XOFF room occupancy in bytes |
Show-pfcwd-stats
Section titled “Show-pfcwd-stats”Tree Diagrams
+---x show-pfcwd-stats | +--ro output | +--ro interface* [name] | +--ro name | +--ro stats* [queue] | +--ro queue | +--ro status? | +--ro storm-detected? | +--ro storm-restored? | +--ro egress? | +--ro egress-drop? | +--ro ingress? | +--ro ingress-drop? | +--ro egress-last? | +--ro egress-last-drop? | +--ro ingress-last? | +--ro ingress-last-drop?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-pfcwd-stats | M | Path-only node, has no configurable value. | |
| Show pfcwd stats | |||
| interface | RO | (sub-property of output) | |
| Path-only node, has no configurable value. |
|| name | RO | Ethernet name | (sub-property of interface) | | stats | RO | | (sub-property of interface) Path-only node, has no configurable value. | | queue | RO | 0..7 | (sub-property of stats) | | status | RO | string | (sub-property of stats) | | storm-detected | RO | uint64 | (sub-property of stats) Storm detected count | | storm-restored | RO | uint64 | (sub-property of stats) Storm restored count | | egress | RO | uint64 | (sub-property of stats) Egress count | | egress-drop | RO | uint64 | (sub-property of stats) Egress drop count | | ingress | RO | uint64 | (sub-property of stats) Ingress count | | ingress-drop | RO | uint64 | (sub-property of stats) Ingress drop count | | egress-last | RO | uint64 | (sub-property of stats) Egress last count | | egress-last-drop | RO | uint64 | (sub-property of stats) Egress last drop count | | ingress-last | RO | uint64 | (sub-property of stats) Ingress last count | | ingress-last-drop | RO | uint64 | (sub-property of stats) Ingress last drop count |
Clear-counters-priority-flow-control
Section titled “Clear-counters-priority-flow-control”Tree Diagrams
+---x clear-counters-priority-flow-control | +--ro output | +--ro data?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| clear-counters-priority-flow-control | M | Path-only node, has no configurable value. | |
| Clear pfc counters | |||
| data | RO | (sub-property of output) |
Clear-counters-ecn
Section titled “Clear-counters-ecn”Tree Diagrams
+---x clear-counters-ecn | +--ro output | +--ro data?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| clear-counters-ecn | M | Path-only node, has no configurable value. | |
| Clear ecn counters | |||
| data | RO | (sub-property of output) |
Clear-counters-queue
Section titled “Clear-counters-queue”Tree Diagrams
+---x clear-counters-queue | +--ro output | +--ro data?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| clear-counters-queue | M | Path-only node, has no configurable value. | |
| Clear queue counters | |||
| data | RO | (sub-property of output) |
Clear-counters-priority-group
Section titled “Clear-counters-priority-group”Tree Diagrams
+---x clear-counters-priority-group +--ro output +--ro data?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| clear-counters-priority-group | M | Path-only node, has no configurable value. | |
| Clear priority-group counters | |||
| data | RO | (sub-property of output) |