ethernet
interface/ethernet
Conditions: i386
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| R | running | running |
| S | slave | slave |
| Argument | Type | Description |
|---|---|---|
| name | string | |
| mtu | num | |
| l2mtu | num | |
| mac-address | macAddr | |
| orig-mac-address | macAddr | |
| disable-running-check (syscap=uefi) | bool | |
| auto-negotiation | bool | |
| advertise | multi_arg { , array-id, } | |
| tx-flow-control | enum (off | on | auto) | |
| rx-flow-control | enum (off | on | auto) | |
| cable-settings | enum (short | standard | default) | |
| mdix-enable | bool | |
| speed | enum () | |
| bandwidth (syscap=switch) | composite_arg { , } | |
| poe-out (syscap=poe) | enum (off | auto-on | forced-on | forced-on-a | forced-on-bt) | |
| poe-voltage (syscap=poe) | enum (auto | low | high) | |
| poe-priority (syscap=poe) | num | |
| power-cycle-ping-enabled (syscap=poe) | bool | |
| power-cycle-ping-address (syscap=poe) | alt { ipAddr , ip6Addr , macAddr } | |
| power-cycle-ping-timeout (syscap=poe) | time | |
| power-cycle-interval (syscap=poe) | alt { enum (none) { none:0 } , time } | |
| sfp-rate-select | bool | |
| sfp-ignore-rx-los | bool | |
| combo-mode | enum (auto | copper | sfp) | |
| fec-mode | enum (off | auto | fec74 | fec91) | |
| sfp-shutdown-temperature | num | |
| passthrough-interface (syscap=pcie_passthrough) | interface_enum { none:0 } | |
| arp | enum (disabled | enabled | proxy-arp | reply-only | local-proxy-arp) | |
| arp-timeout | alt { enum (auto) { auto:0 } , time } | |
| loop-protect | enum (default | off | on) | |
| loop-protect-send-interval | time | |
| loop-protect-disable-time | time |
| Read-only Argument | Type | Description |
|---|---|---|
| default-name | string | |
| switch (syscap=switch) | enum | |
| loop-protect-status | enum (off | on | disabled) |
interface/ethernet/switch
Conditions: !smips
Syscap: multiswitch
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| name | string | |
| mirror-source (syscap=switch-mirror1) | interface_enum { none:0 } | |
| mirror-target (syscap=switch-mirror-prestera) | interface_enum { none:0, cpu:0xffffffff } | |
| mirror-egress-target (syscap=switch-mv88e6xxx) | enum (none) | |
| rspan (syscap=switch-mirror-prestera) | bool | |
| rspan-ingress-vlan-id (syscap=switch-mirror-prestera) | num | |
| rspan-egress-vlan-id (syscap=switch-mirror-prestera) | num | |
| switch-all-ports | bool | |
| cpu-flow-control (syscap=switch-mv88e6xxx) | bool | |
| l3-hw-offloading (syscap=crs_prestera) | bool | |
| qos-hw-offloading (syscap=crs_prestera) | bool | |
| name | string | |
| bridge-type | enum (customer-vid-used-as-lookup-vid | service-vid-used-as-lookup-vid) | |
| drop-if-no-vlan-assignment-on-ports | multi_arg { array-id, } | |
| drop-if-invalid-or-src-port-not-member-of-vlan-on-ports | multi_arg { array-id, enum } | |
| unknown-vlan-lookup-mode | bool | |
| forward-unknown-vlan | bool | |
| use-svid-in-one2one-vlan-lookup | bool | |
| use-cvid-in-one2one-vlan-lookup | bool | |
| mac-level-isolation | bool | |
| multicast-lookup-mode | enum (dst-mac-and-vid-always | dst-ip-and-vid-for-ipv4) | |
| override-existing-when-ufdb-full | bool | |
| unicast-fdb-timeout | time | |
| ingress-mirror0 | composite_arg { , } | |
| ingress-mirror1 | composite_arg { , } | |
| ingress-mirror-ratio | enum () | |
| egress-mirror0 | composite_arg { , } | |
| egress-mirror1 | composite_arg { , } | |
| egress-mirror-ratio | enum () | |
| fdb-uses | enum (mirror0 | mirror1) | |
| vlan-uses | enum (mirror0 | mirror1) | |
| mirror-egress-if-ingress-mirrored | bool | |
| mirror-tx-on-mirror-port | bool | |
| mirrored-packet-qos-priority | num | |
| mirrored-packet-drop-precedence | enum () | |
| bypass-vlan-ingress-filter-for | ubit () | |
| bypass-ingress-port-policing-for | ubit () | |
| bypass-l2-security-check-filter-for | ubit () |
| Read-only Argument | Type | Description |
|---|---|---|
| type | enum (ADMtek | IC-Plus-175C | IC-Plus-178C | IC-Plus-175D | Atheros-8316 | Atheros-7240 | Atheros-8227 | Atheros-8327 | Atheros-8236 | QCA-8513L | Atheros-8327N | QCA-8519 | QCA-8511 | QCA-8337 | MediaTek-MT7621 | Realtek-RTL8367 | Marvell-98DX3236 | Marvell-98DX8216 | Marvell-98DX8208 | Marvell-98DX8332 | Marvell-98DX8212 | Marvell-98DX3257 | IPQ-PPE | Marvell-98DX8525 | Marvell-98PX1012 | Marvell-98DX4310 | Marvell-98DX224S | Marvell-98DX226S | Marvell-88E6393X | Marvell-98DX3255 | Marvell-88E6191X | Marvell-98DX2528 | Marvell-98CX8410 | Marvell-88E6341 | MediaTek-MT7531 | Marvell-88E6190 | Marvell-98DX7335 | Marvell-98DX3510 | Marvell-98DX3550 | MediaTek-MT7531AE | Marvell-98DX1508M | Alder | Marvell-98DX3530 | Marvell-98DX4550 | QCA-8386 | EN7523 | Marvell-98DX2521 | Marvell-98DX2556 | Marvell-98DX2588) | |
| type | enum (QCA-8513L | QCA-8519 | QCA-8511) |
interface/ethernet/switch/qos
Syscap: crs_prestera
Type: Directory
interface/ethernet/switch/qos/profile
Syscap: crs_prestera
Type: Directory
| Flag | Name | Description |
|---|---|---|
| * | default | |
| D | dynamic | |
| X | disabled | |
| I | inactive | |
| H | hw-offloaded |
| Argument | Type | Description |
|---|---|---|
| name ( mandatory ) | string | |
| pcp | num | |
| dscp | num | |
| traffic-class | num | |
| automap | bool |
| Read-only Argument | Type | Description |
|---|---|---|
| hw-id | num |
interface/ethernet/switch/qos/map
Syscap: crs_prestera
Type: Directory
| Flag | Name | Description |
|---|---|---|
| * | default | |
| X | disabled | |
| H | hw-offloaded | |
| I | inactive |
| Argument | Type | Description |
|---|---|---|
| name ( mandatory ) | string |
| Read-only Argument | Type | Description |
|---|---|---|
| hw-id | num |
interface/ethernet/switch/qos/map/vlan
Syscap: crs_prestera
Type: Directory
| Flag | Name | Description |
|---|---|---|
| * | default | |
| D | dynamic | |
| X | disabled | |
| I | inactive | |
| H | hw-offloaded |
| Argument | Type | Description |
|---|---|---|
| map | enum | |
| pcp ( mandatory ) | multi_arg { , , range_arg [0 .. 7] } | |
| dei-only | bool | |
| profile ( mandatory ) | enum |
interface/ethernet/switch/qos/map/ip
Syscap: crs_prestera
Type: Directory
| Flag | Name | Description |
|---|---|---|
| * | default | |
| D | dynamic | |
| X | disabled | |
| I | inactive | |
| H | hw-offloaded |
| Argument | Type | Description |
|---|---|---|
| map | enum | |
| dscp ( mandatory ) | multi_arg { , , range_arg [0 .. 63] } | |
| profile ( mandatory ) | enum |
interface/ethernet/switch/qos/priority-flow-control
Syscap: !prestera-ac3
Type: Directory
| Flag | Name | Description |
|---|---|---|
| * | default | |
| X | disabled | |
| I | inactive | |
| H | hw-offloaded |
| Argument | Type | Description |
|---|---|---|
| name ( mandatory ) | string | |
| traffic-class ( mandatory ) | multi_arg { array-id, num [ .. 7] } | |
| rx | bool | |
| tx | bool | |
| pause-threshold | alt { , num [ .. 100] , num [1536 .. ] } | |
| resume-threshold | alt { , num [ .. 100] , num [256 .. ] } |
| Read-only Argument | Type | Description |
|---|---|---|
| hw-id | num |
interface/ethernet/switch/qos/tx-manager
Syscap: crs_prestera
Type: Directory
| Flag | Name | Description |
|---|---|---|
| * | default | |
| X | disabled | |
| I | inactive | |
| H | hw-offloaded |
| Argument | Type | Description |
|---|---|---|
| name ( mandatory ) | string | |
| queue-buffers | alt { num [ .. 100] , num [1536 .. 67108864] } |
| Read-only Argument | Type | Description |
|---|---|---|
| hw-id | num |
interface/ethernet/switch/qos/tx-manager/queue
Syscap: crs_prestera
Type: Directory
| Flag | Name | Description |
|---|---|---|
| * | default | |
| I | inactive | |
| H | hw-offloaded |
| Argument | Type | Description |
|---|---|---|
| schedule | enum (strict-priority | low-priority-group | high-priority-group) | |
| weight | num | |
| queue-buffers (syscap=!prestera-cpss) | alt { num [ .. 100] , num [1536 .. 67108864] } | |
| use-shared-buffers (syscap=!prestera-cpss) | bool | |
| wred (syscap=!prestera-ac3) | bool | |
| ecn (syscap=!prestera-ac3) | bool |
| Read-only Argument | Type | Description |
|---|---|---|
| tx-manager | enum | |
| traffic-class | num | |
| wred-actual (syscap=!prestera-ac3) | bool | |
| ecn-actual (syscap=!prestera-ac3) | bool |
interface/ethernet/switch/qos/settings
Type: Settings Directory
| Argument | Type | Description |
|---|---|---|
| multicast-buffers | num | |
| mirror-buffers (syscap=!prestera-cpss) | num | |
| mirror-profile | enum | |
| shared-buffers | num | |
| lossless-buffers (syscap=!prestera-ac3) | num | |
| lossless-traffic-class (syscap=!prestera-ac3) | multi_arg { array-id, num [ .. 7] } | |
| wred-threshold (syscap=!prestera-ac3) | enum (low | medium | high) | |
| total-desc (syscap=(option and !prestera-cpss)) | num | |
| total-buff (syscap=(option and !prestera-cpss)) | num |
interface/ethernet/switch/qos/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| total-packet-cap (syscap=!prestera-cpss) | num | |
| total-packet-use (syscap=!prestera-cpss) | num | |
| total-byte-cap | num | |
| total-byte-use | num | |
| multicast-packet-cap (syscap=!prestera-cpss) | num | |
| multicast-packet-use (syscap=!prestera-cpss) | num | |
| multicast-byte-cap (syscap=!prestera-ac3) | num | |
| multicast-byte-use (syscap=prestera-bc2) | num | |
| mirror-ingress-packet-cap (syscap=!prestera-cpss) | num | |
| mirror-ingress-packet-use (syscap=!prestera-cpss) | num | |
| mirror-ingress-byte-cap (syscap=prestera-bc2) | num | |
| mirror-ingress-byte-use (syscap=prestera-bc2) | num | |
| mirror-egress-packet-cap (syscap=!prestera-cpss) | num | |
| mirror-egress-packet-use (syscap=!prestera-cpss) | num | |
| mirror-egress-byte-cap (syscap=prestera-bc2) | num | |
| mirror-egress-byte-use (syscap=prestera-bc2) | num | |
| shared-packet-cap (syscap=prestera-ac3) | num | |
| shared-packet-use (syscap=prestera-ac3) | num | |
| shared-byte-cap (syscap=prestera-ac3) | num | |
| shared-byte-use (syscap=prestera-ac3) | num | |
| lossy-pool-packet-cap (syscap=prestera-bc2) | num | |
| lossy-pool-packet-use (syscap=prestera-bc2) | num | |
| lossless-pool-packet-cap (syscap=!prestera-ac3) | num | |
| lossless-pool-packet-use (syscap=!prestera-ac3) | num | |
| lossy-pool-byte-cap (syscap=!prestera-ac3) | num | |
| lossy-pool-byte-use (syscap=!prestera-ac3) | num | |
| lossless-pool-byte-cap (syscap=!prestera-ac3) | num | |
| lossless-pool-byte-use (syscap=!prestera-ac3) | num | |
| wred-packet-cap (syscap=prestera-bc2) | num | |
| wred-byte-cap (syscap=prestera-bc2) | num |
interface/ethernet/switch/qos/port
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid | |
| R | running |
| Argument | Type | Description |
|---|---|---|
| profile (syscap=crs_prestera) | enum | |
| map (syscap=crs_prestera) | enum | |
| trust-l2 (syscap=crs_prestera) | enum (ignore | trust | keep) | |
| trust-l3 (syscap=crs_prestera) | enum (ignore | trust | keep) | |
| tx-manager (syscap=crs_prestera) | enum | |
| pfc (syscap=!prestera-ac3) | enum | |
| egress-rate-queue0 (syscap=switch-rate) | num | |
| egress-rate-queue1 (syscap=switch-rate) | num | |
| egress-rate-queue2 (syscap=switch-rate) | num | |
| egress-rate-queue3 (syscap=switch-rate) | num | |
| egress-rate-queue4 (syscap=switch-rate) | num | |
| egress-rate-queue5 (syscap=switch-rate) | num | |
| egress-rate-queue6 (syscap=switch-rate) | num | |
| egress-rate-queue7 (syscap=switch-rate) | num |
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | |
| switch | enum | |
| tx-packet | multi_arg { num } | |
| tx-bytes | multi_arg { num } | |
| packet-use (syscap=!prestera-cpss) | num | |
| byte-use | num | |
| queue0-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue1-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue2-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue3-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue4-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue5-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue6-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue7-shared-packet-cap (syscap=prestera-bc2) | num | |
| queue0-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue1-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue2-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue3-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue4-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue5-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue6-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue7-shared-byte-cap (syscap=!prestera-ac3) | num | |
| queue0-packet-cap (syscap=!prestera-cpss) | num | |
| queue1-packet-cap (syscap=!prestera-cpss) | num | |
| queue2-packet-cap (syscap=!prestera-cpss) | num | |
| queue3-packet-cap (syscap=!prestera-cpss) | num | |
| queue4-packet-cap (syscap=!prestera-cpss) | num | |
| queue5-packet-cap (syscap=!prestera-cpss) | num | |
| queue6-packet-cap (syscap=!prestera-cpss) | num | |
| queue7-packet-cap (syscap=!prestera-cpss) | num | |
| queue0-byte-cap (syscap=!prestera-cpss) | num | |
| queue1-byte-cap (syscap=!prestera-cpss) | num | |
| queue2-byte-cap (syscap=!prestera-cpss) | num | |
| queue3-byte-cap (syscap=!prestera-cpss) | num | |
| queue4-byte-cap (syscap=!prestera-cpss) | num | |
| queue5-byte-cap (syscap=!prestera-cpss) | num | |
| queue6-byte-cap (syscap=!prestera-cpss) | num | |
| queue7-byte-cap (syscap=!prestera-cpss) | num | |
| queue0-packet-use (syscap=!prestera-cpss) | num | |
| queue1-packet-use (syscap=!prestera-cpss) | num | |
| queue2-packet-use (syscap=!prestera-cpss) | num | |
| queue3-packet-use (syscap=!prestera-cpss) | num | |
| queue4-packet-use (syscap=!prestera-cpss) | num | |
| queue5-packet-use (syscap=!prestera-cpss) | num | |
| queue6-packet-use (syscap=!prestera-cpss) | num | |
| queue7-packet-use (syscap=!prestera-cpss) | num | |
| queue0-byte-use | num | |
| queue1-byte-use | num | |
| queue2-byte-use | num | |
| queue3-byte-use | num | |
| queue4-byte-use | num | |
| queue5-byte-use | num | |
| queue6-byte-use | num | |
| queue7-byte-use | num | |
| byte-max (syscap=prestera-bc2) | num | |
| queue0-byte-max (syscap=!prestera-ac3) | num | |
| queue1-byte-max (syscap=!prestera-ac3) | num | |
| queue2-byte-max (syscap=!prestera-ac3) | num | |
| queue3-byte-max (syscap=!prestera-ac3) | num | |
| queue4-byte-max (syscap=!prestera-ac3) | num | |
| queue5-byte-max (syscap=!prestera-ac3) | num | |
| queue6-byte-max (syscap=!prestera-ac3) | num | |
| queue7-byte-max (syscap=!prestera-ac3) | num | |
| pfc0-pause-threshold (syscap=prestera-bc2) | num | |
| pfc1-pause-threshold (syscap=prestera-bc2) | num | |
| pfc2-pause-threshold (syscap=prestera-bc2) | num | |
| pfc3-pause-threshold (syscap=prestera-bc2) | num | |
| pfc4-pause-threshold (syscap=prestera-bc2) | num | |
| pfc5-pause-threshold (syscap=prestera-bc2) | num | |
| pfc6-pause-threshold (syscap=prestera-bc2) | num | |
| pfc7-pause-threshold (syscap=prestera-bc2) | num | |
| pfc0-resume-threshold (syscap=prestera-bc2) | num | |
| pfc1-resume-threshold (syscap=prestera-bc2) | num | |
| pfc2-resume-threshold (syscap=prestera-bc2) | num | |
| pfc3-resume-threshold (syscap=prestera-bc2) | num | |
| pfc4-resume-threshold (syscap=prestera-bc2) | num | |
| pfc5-resume-threshold (syscap=prestera-bc2) | num | |
| pfc6-resume-threshold (syscap=prestera-bc2) | num | |
| pfc7-resume-threshold (syscap=prestera-bc2) | num | |
| pfc0-use (syscap=!prestera-ac3) | num | |
| pfc1-use (syscap=!prestera-ac3) | num | |
| pfc2-use (syscap=!prestera-ac3) | num | |
| pfc3-use (syscap=!prestera-ac3) | num | |
| pfc4-use (syscap=!prestera-ac3) | num | |
| pfc5-use (syscap=!prestera-ac3) | num | |
| pfc6-use (syscap=!prestera-ac3) | num | |
| pfc7-use (syscap=!prestera-ac3) | num | |
| pfc-paused-tc (syscap=prestera-bc2) | multi_arg { array-id, num } | |
| pfc-unknown (syscap=prestera-bc2) | multi_arg { num } | |
| pfc-rx (syscap=prestera-bc2) | multi_arg { num } | |
| pfc-tx (syscap=prestera-bc2) | num | |
| rx-pause (syscap=prestera-cpss) | multi_arg { num } | |
| tx-pause (syscap=prestera-cpss) | multi_arg { num } | |
| tx-queue0-packet | multi_arg { num } | |
| tx-queue0-byte | multi_arg { num } | |
| tx-queue1-packet | multi_arg { num } | |
| tx-queue1-byte | multi_arg { num } | |
| tx-queue2-packet | multi_arg { num } | |
| tx-queue2-byte | multi_arg { num } | |
| tx-queue3-packet | multi_arg { num } | |
| tx-queue3-byte | multi_arg { num } | |
| tx-queue4-packet | multi_arg { num } | |
| tx-queue4-byte | multi_arg { num } | |
| tx-queue5-packet | multi_arg { num } | |
| tx-queue5-byte | multi_arg { num } | |
| tx-queue6-packet | multi_arg { num } | |
| tx-queue6-byte | multi_arg { num } | |
| tx-queue7-packet | multi_arg { num } | |
| tx-queue7-byte | multi_arg { num } | |
| tx-drop-packet | multi_arg { num } | |
| tx-drop-byte | multi_arg { num } | |
| tx-drop-queue0-packet | multi_arg { num } | |
| tx-drop-queue0-byte | multi_arg { num } | |
| tx-drop-queue1-packet | multi_arg { num } | |
| tx-drop-queue1-byte | multi_arg { num } | |
| tx-drop-queue2-packet | multi_arg { num } | |
| tx-drop-queue2-byte | multi_arg { num } | |
| tx-drop-queue3-packet | multi_arg { num } | |
| tx-drop-queue3-byte | multi_arg { num } | |
| tx-drop-queue4-packet | multi_arg { num } | |
| tx-drop-queue4-byte | multi_arg { num } | |
| tx-drop-queue5-packet | multi_arg { num } | |
| tx-drop-queue5-byte | multi_arg { num } | |
| tx-drop-queue6-packet | multi_arg { num } | |
| tx-drop-queue6-byte | multi_arg { num } | |
| tx-drop-queue7-packet | multi_arg { num } | |
| tx-drop-queue7-byte | multi_arg { num } |
interface/ethernet/switch/qos/port/reset-counters
Type: Command
interface/ethernet/switch/port
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| ingress-customer-tpid-override | num | |
| egress-customer-tpid-override | num | |
| ingress-service-tpid-override | num | |
| egress-service-tpid-override | num | |
| drop-secure-static-mac-move | bool | |
| drop-dynamic-mac-move | bool | |
| learn-limit | num | |
| allow-unicast-loopback | bool | |
| allow-multicast-loopback | bool | |
| action-on-static-station-move | enum (forward | redirect-to-cpu | copy-to-cpu | drop) | |
| drop-when-ufdb-entry-src-drop | bool | |
| isolation-leakage-profile-override | num | |
| vlan-type | enum (edge-port | network-port) | |
| allow-fdb-based-vlan-translate | bool | |
| allow-mac-based-service-vlan-assignment-for | enum (none | untagged-and-priority-tagged-frame-only | tagged-frame-only | all) | |
| allow-mac-based-customer-vlan-assignment-for | enum (none | untagged-and-priority-tagged-frame-only | tagged-frame-only | all) | |
| filter-untagged-frame | bool | |
| filter-priority-tagged-frame | bool | |
| filter-tagged-frame | bool | |
| egress-vlan-tag-table-lookup-key | enum (egress-vid | according-to-bridge-type) | |
| egress-vlan-mode | enum (untagged | tagged | unmodified) | |
| ingress-mirror-to | enum (none | mirror0 | mirror1) | |
| ingress-mirroring-according-to-vlan | bool | |
| egress-mirror-to | enum (none | mirror0 | mirror1) | |
| qos-scheme-precedence | multi_arg { array-id, enum (pcp-based | vlan-based | protocol-based | da-based | sa-based | dscp-based | ingress-acl-based) { pcp-based:0, vlan-based:1, protocol-based:2, da-based:3, sa-based:4, dscp-based:5, ingress-acl-based:6, } } | |
| default-customer-pcp | num | |
| default-service-pcp | num | |
| pcp-propagation-for-initial-pcp | bool | |
| egress-pcp-propagation | bool | |
| dscp-based-qos-dscp-to-dscp-mapping | bool | |
| pcp-or-dscp-based-qos-change-dei | bool | |
| pcp-or-dscp-based-qos-change-pcp | bool | |
| pcp-or-dscp-based-qos-change-dscp | bool | |
| pcp-based-qos-drop-precedence-mapping | obj_arg { composite_arg { , } { , } } | |
| pcp-based-qos-dscp-mapping | obj_arg { composite_arg { , } { , } } | |
| pcp-based-qos-dei-mapping | obj_arg { composite_arg { , } { , } } | |
| pcp-based-qos-pcp-mapping | obj_arg { composite_arg { , } { , } } | |
| pcp-based-qos-priority-mapping | obj_arg { composite_arg { , } { , } } | |
| priority-to-queue | obj_arg { composite_arg { , } { , } } | |
| per-queue-scheduling | obj_arg { composite_arg { , } { , } } | |
| custom-drop-counter-includes | ubit (device-loopback, fdb-hash-violation, exceeded-port-learn-limitation, dynamic-station-move, static-station-move, ufdb-source-drop, host-source-drop, unknown-host, ingress-vlan-filtered) | |
| queue-custom-drop-counter0-includes | ubit (red, yellow, green, queue0, queue1, queue2, queue3, queue4, queue5, queue6, queue7) | |
| queue-custom-drop-counter1-includes | ubit (red, yellow, green, queue0, queue1, queue2, queue3, queue4, queue5, queue6, queue7) | |
| policy-drop-counter-includes | ubit (ingress-policing, ingress-acl, egress-policing, egress-acl) |
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | |
| switch (syscap=multiswitch) | enum | |
| ingress-customer-tpid | num | |
| egress-customer-tpid | num | |
| ingress-service-tpid | num | |
| egress-service-tpid | num | |
| learn | bool | |
| isolation-leakage-profile | num |
interface/ethernet/switch/port/reset-counters
Type: Command
interface/ethernet/switch/unicast-fdb
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid | |
| D | dynamic | |
| A | active |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| mac-address ( mandatory ) | macAddr | |
| port ( mandatory ) | alt { enum , enum } | |
| vlan-id | num | |
| action | enum (forward | src-drop | dst-drop | src-and-dst-drop | ingress-port-policing-bypass | src-redirect-to-cpu | dst-redirect-to-cpu | src-and-dst-redirect-to-cpu) | |
| mirror | bool | |
| isolation-profile | enum (promiscuous | isolated | community1 | community2) | |
| svl | bool | |
| qos-group | enum (none) |
| Read-only Argument | Type | Description |
|---|---|---|
| age | num |
interface/ethernet/switch/unicast-fdb/flush
Type: Command
interface/ethernet/switch/multicast-fdb
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid | |
| D | dynamic |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| address ( mandatory ) | alt { macAddr , ipAddr } | |
| ports ( mandatory ) | multi_arg { array-id, } | |
| vlan-id | num | |
| svl | bool | |
| bypass-vlan-filter | bool | |
| qos-group | enum (none) |
interface/ethernet/switch/reserved-fdb
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| mac-address ( mandatory ) | macAddr | |
| action | enum (forward | redirect-to-cpu | copy-to-cpu | drop) | |
| bypass-ingress-vlan-filter | bool | |
| bypass-ingress-port-policing | bool | |
| qos-group | enum (none) |
interface/ethernet/switch/vlan
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid | |
| D | dynamic |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| vlan-id ( mandatory ) | num | |
| ports ( mandatory ) | multi_arg { array-id, } | |
| svl | bool | |
| learn | bool | |
| flood | bool | |
| ingress-mirror | bool | |
| qos-group | enum (none) |
interface/ethernet/switch/egress-vlan-tag
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid | |
| D | dynamic |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| vlan-id ( mandatory ) | num | |
| tagged-ports | multi_arg { array-id, } |
interface/ethernet/switch/ingress-vlan-translation
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid | |
| D | dynamic |
| Argument | Type | Description |
|---|---|---|
| protocol | alt { enum (length | llc-bpdu) { length:1, llc-bpdu:0x4242, } , num [ .. 65535] } | |
| sa-learning | bool | |
| switch ( mandatory syscap=multiswitch) | enum | |
| ports ( mandatory ) | multi_arg { array-id, } | |
| service-vlan-format | enum (untagged-or-tagged | priority-tagged-or-tagged | tagged | any) | |
| service-vid | num | |
| service-pcp | num | |
| service-dei | num | |
| customer-vlan-format | enum (untagged-or-tagged | priority-tagged-or-tagged | tagged | any) | |
| customer-vid | num | |
| customer-pcp | num | |
| customer-dei | num | |
| new-service-vid | alt { enum (customer-vid) { customer-vid:4096 } , num [ .. 4095] } | |
| new-customer-vid | alt { enum (service-vid) { service-vid:4096 } , num [ .. 4095] } | |
| pcp-propagation | bool | |
| swap-vids | enum (no | assign-cvid-to-svid) |
interface/ethernet/switch/egress-vlan-translation
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid | |
| D | dynamic |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| ports ( mandatory ) | multi_arg { array-id, } | |
| service-vlan-format | enum (untagged-or-tagged | priority-tagged-or-tagged | tagged | any) | |
| service-vid | num | |
| service-pcp | num | |
| service-dei | num | |
| customer-vlan-format | enum (untagged-or-tagged | priority-tagged-or-tagged | tagged | any) | |
| customer-vid | num | |
| customer-pcp | num | |
| customer-dei | num | |
| new-service-vid | alt { enum (customer-vid) { customer-vid:4096 } , num [ .. 4095] } | |
| new-customer-vid | alt { enum (service-vid) { service-vid:4096 } , num [ .. 4095] } | |
| pcp-propagation | bool | |
| swap-vids | enum (no | assign-cvid-to-svid) |
interface/ethernet/switch/mac-based-vlan
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| src-mac-address ( mandatory ) | macAddr | |
| new-service-vid | num | |
| new-customer-vid | num |
interface/ethernet/switch/one2one-vlan-switching
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| dst-port ( mandatory ) | alt { enum , enum } | |
| service-vid | num | |
| customer-vid | num |
interface/ethernet/switch/protocol-based-vlan
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| frame-type | enum (ethernet | rfc-1042 | llc) | |
| protocol | alt { enum () { } , num [ .. 65535] } | |
| ports ( mandatory ) | multi_arg { array-id, } | |
| set-service-vid-for | enum (none | untagged-or-priority-tagged | tagged | all) | |
| new-service-vid | num | |
| set-customer-vid-for | enum (none | untagged-or-priority-tagged | tagged | all) | |
| new-customer-vid | num | |
| set-qos-for | enum (none | untagged-or-priority-tagged | tagged | all) | |
| qos-group | enum (none) |
interface/ethernet/switch/dscp-to-dscp
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| new-dscp | num |
| Read-only Argument | Type | Description |
|---|---|---|
| original-dscp | num | |
| hex | num |
interface/ethernet/switch/dscp-qos-map
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| drop-precedence | enum () | |
| dei | num | |
| pcp | num | |
| priority | num |
| Read-only Argument | Type | Description |
|---|---|---|
| dscp | num | |
| hex | num |
interface/ethernet/switch/qos-group
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| name | string | |
| pcp | num | |
| dei | num | |
| dscp | num | |
| priority | num | |
| drop-precedence | enum () |
interface/ethernet/switch/shaper
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| port ( mandatory ) | enum | |
| target | enum (queue0 | queue1 | queue2 | queue3 | queue4 | queue5 | queue6 | queue7 | wrr-group0 | wrr-group1 | port) | |
| meter-unit | enum (bit | packet) | |
| rate | num | |
| burst | num |
interface/ethernet/switch/port-isolation
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| D | dynamic | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| ports | multi_arg { array-id, } | |
| type | enum (src | dst) | |
| forwarding-type | ubit (bridged, routed) | |
| traffic-type | ubit (unicast, multicast, broadcast) | |
| registration-status | ubit (known, unknown) | |
| protocol-type | ubit (arp, nd, dhcpv4, dhcpv6, ripv1) | |
| flow-id | num | |
| mac-profile | enum (promiscuous | isolated | community1 | community2) | |
| port-profile | num | |
| vlan-profile | enum (promiscuous | isolated | community1 | community2) |
interface/ethernet/switch/port-leakage
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| D | dynamic | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| ports | multi_arg { array-id, } | |
| type | enum (src | dst) | |
| forwarding-type | ubit (bridged, routed) | |
| traffic-type | ubit (unicast, multicast, broadcast) | |
| registration-status | ubit (known, unknown) | |
| protocol-type | ubit (arp, nd, dhcpv4, dhcpv6, ripv1) | |
| flow-id | num | |
| mac-profile | enum (promiscuous | isolated | community1 | community2) | |
| port-profile | num | |
| vlan-profile | enum (promiscuous | isolated | community1 | community2) |
interface/ethernet/switch/acl
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| table | enum (ingress | egress) | |
| invert-match | bool | |
| src-ports | multi_arg { array-id, } | |
| dst-ports | multi_arg { array-id, } | |
| service-vid | super { ! , range_arg [ .. 4095] } | |
| service-pcp | num | |
| service-dei | num | |
| customer-vid | super { ! , range_arg [ .. 4095] } | |
| customer-pcp | num | |
| customer-dei | num | |
| src-l3-port | super { ! , range_arg [ .. 65535] } | |
| dst-l3-port | super { ! , range_arg [ .. 65535] } | |
| custom-fields | obj_arg { super { ! , super { enum (start-of-frame | end-of-l2-header | end-of-l3-header) { start-of-frame:0, end-of-l2-header:1, end-of-l3-header:2 } , :num [ .. 127] , :range_arg [ .. 65535] , [ /num [ .. 65535]] } { enum (start-of-frame | end-of-l2-header | end-of-l3-header) { start-of-frame:0, end-of-l2-header:1, end-of-l3-header:2 } , :num [ .. 127] , :range_arg [ .. 65535] , [ /num [ .. 65535]] } } { ! , super { enum (start-of-frame | end-of-l2-header | end-of-l3-header) { start-of-frame:0, end-of-l2-header:1, end-of-l3-header:2 } , :num [ .. 127] , :range_arg [ .. 65535] , [ /num [ .. 65535]] } { enum (start-of-frame | end-of-l2-header | end-of-l3-header) { start-of-frame:0, end-of-l2-header:1, end-of-l3-header:2 } , :num [ .. 127] , :range_arg [ .. 65535] , [ /num [ .. 65535]] } } } | |
| priority | num | |
| drop-precedence | enum () | |
| dst-addr-registered | bool | |
| service-tag | enum (untagged | priority-tagged | tagged | tagged-or-priority-tagged) | |
| customer-tag | enum (untagged | priority-tagged | tagged | tagged-or-priority-tagged) | |
| mac-src-address | super { macAddr , [ /macAddr] } | |
| mac-dst-address | super { macAddr , [ /macAddr] } | |
| mac-protocol | alt { enum (ip-or-ipv6 | non-ip) { , ip-or-ipv6:0x10000, non-ip:0x10001 } , num [ .. 65535] } | |
| lookup-vid | num | |
| ip-protocol | enum (tcp | udp | udp-lite | other) | |
| fragmented | bool | |
| first-fragment | bool | |
| ttl | enum (0 | 1 | max | other) | |
| ip-dst | composite_arg { , } | |
| ip-src | composite_arg { , } | |
| dscp | num | |
| ecn | num | |
| ipv6-dst | ip6_prefix_arg | |
| ipv6-src | ip6_prefix_arg | |
| mac-isolation-profile | enum (promiscuous | isolated | community1 | community2) | |
| src-mac-addr-state | enum (sa-found | sa-not-found | dynamic-station-move | static-station-move) | |
| flow-id | num | |
| action | enum (forward | redirect-to-cpu | copy-to-cpu | send-to-new-dst-ports | drop) | |
| new-dst-ports | multi_arg { , array-id, } | |
| new-flow-id | num | |
| attack-filter-bypass | bool | |
| ingress-vlan-filter-bypass | bool | |
| egress-vlan-filter-bypass | bool | |
| isolation-filter-bypass | bool | |
| new-registered-state | bool | |
| src-mac-learn | bool | |
| mirror-to | enum (mirror0 | mirror1) | |
| new-service-vid | num | |
| new-customer-vid | num | |
| egress-vlan-translate-bypass | bool | |
| new-service-pcp | num | |
| new-service-dei | num | |
| new-customer-pcp | num | |
| new-customer-dei | num | |
| new-dscp | num | |
| new-priority | num | |
| new-drop-precedence | enum () | |
| policer | enum |
interface/ethernet/switch/acl/policer
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| name | string | |
| yellow-rate ( mandatory ) | num | |
| yellow-burst | num | |
| red-rate | num | |
| red-burst | num | |
| meter-unit | enum (bit | packet) | |
| meter-len | enum (layer-1 | layer-2 | layer-3) | |
| color-awareness | bool | |
| bucket-coupling | bool | |
| yellow-action | enum (drop | forward | remark) | |
| new-dei-for-yellow | alt { enum (remap) { remap:0xffffffff } , num [ .. 1] } | |
| new-pcp-for-yellow | alt { enum (remap) { remap:0xffffffff } , num [ .. 7] } | |
| new-dscp-for-yellow | alt { enum (remap) { remap:0xffffffff } , num [ .. 63] } | |
| red-action | enum (drop | forward | remark) | |
| new-dei-for-red | alt { enum (remap) { remap:0xffffffff } , num [ .. 1] } | |
| new-pcp-for-red | alt { enum (remap) { remap:0xffffffff } , num [ .. 7] } | |
| new-dscp-for-red | alt { enum (remap) { remap:0xffffffff } , num [ .. 63] } |
| Read-only Argument | Type | Description |
|---|---|---|
| green-counter | num | |
| yellow-counter | num | |
| red-counter | num |
interface/ethernet/switch/trunk
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| name | string | |
| member-ports ( mandatory ) | multi_arg { array-id, enum } |
interface/ethernet/switch/ingress-port-policer
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| port ( mandatory ) | enum | |
| rate ( mandatory ) | num | |
| burst | num | |
| meter-unit | enum (bit | packet) | |
| meter-len | enum (layer-1 | layer-2 | layer-3) | |
| yellow-action | enum (drop | forward | remark) | |
| new-dei-for-yellow | alt { enum (remap) { remap:0xffffffff } , num [ .. 1] } | |
| new-pcp-for-yellow | alt { enum (remap) { remap:0xffffffff } , num [ .. 7] } | |
| new-dscp-for-yellow | alt { enum (remap) { remap:0xffffffff } , num [ .. 63] } | |
| packet-types | ubit (arp-or-nd, tcp-control, broadcast, unregistered-multicast, registered-multicast, unknown-unicast, known-unicast) |
interface/ethernet/switch/policer-qos-map
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory syscap=multiswitch) | enum | |
| dscp-for-yellow | num | |
| pcp-for-yellow | num | |
| dei-for-yellow | num | |
| dscp-for-red | num | |
| pcp-for-red | num | |
| dei-for-red | num |
| Read-only Argument | Type | Description |
|---|---|---|
| priority | num |
interface/ethernet/switch/l3hw-settings
Syscap: crs_prestera
Type: Settings Directory
| Argument | Type | Description |
|---|---|---|
| autorestart (syscap=!prestera-cpss) | bool | |
| fasttrack-hw (syscap=!prestera-ac3) | bool { } | |
| ipv6-hw | bool | |
| icmp-reply-on-error | bool |
| Read-only Argument | Type | Description |
|---|---|---|
| hw-supports-fasttrack | bool |
interface/ethernet/switch/l3hw-settings/advanced
Syscap: crs_prestera
Type: Settings Directory
| Argument | Type | Description |
|---|---|---|
| route-queue-limit-high (syscap=!prestera-cpss) | num | |
| route-queue-limit-low (syscap=!prestera-cpss) | num | |
| shwp-reset-counter | num | |
| partial-offload-chunk (syscap=prestera-bc2) | num | |
| route-index-delay-min (syscap=!prestera-cpss) | time | |
| route-index-delay-max | time | |
| neigh-keepalive-interval (syscap=!prestera-cpss) | time | |
| neigh-discovery-interval (syscap=!prestera-cpss) | time | |
| neigh-discovery-burst-limit (syscap=!prestera-cpss) | num | |
| neigh-discovery-burst-delay (syscap=!prestera-cpss) | time | |
| neigh-dump-retries (syscap=!prestera-cpss) | num |
interface/ethernet/switch/l3hw-settings/advanced/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| error-code | num | |
| state | enum (ok | stopping | starting | fib-failure | net-failure | switch-failure | fasttrack-failure | out-of-memory) | |
| ipv4-routes-total | num | |
| ipv4-routes-hw | num | |
| ipv4-routes-cpu | num | |
| ipv4-shortest-hw-prefix | num | |
| ipv4-hosts | num | |
| ipv6-routes-total | num | |
| ipv6-routes-hw | num | |
| ipv6-routes-cpu | num | |
| ipv6-shortest-hw-prefix | num | |
| ipv6-hosts | num | |
| route-queue-size (syscap=!prestera-cpss) | num | |
| route-queue-rate (syscap=!prestera-cpss) | num | |
| route-process-rate (syscap=!prestera-cpss) | num | |
| nexthop-cap | num | |
| nexthop-usage | num | |
| vxlan-mtu-packet-drop (syscap=prestera-bc2) | num | |
| fasttrack-ipv4-conns (syscap=prestera-bc2) | num | |
| fasttrack-queue-size (syscap=prestera-bc2) | num | |
| fasttrack-queue-rate (syscap=prestera-bc2) | num | |
| fasttrack-process-rate (syscap=prestera-bc2) | num | |
| fasttrack-hw-min-speed (syscap=prestera-bc2) | num | |
| fasttrack-hw-offloaded (syscap=prestera-bc2) | num | |
| fasttrack-hw-unloaded (syscap=prestera-bc2) | num | |
| lpm-cap (syscap=!prestera-ac3) | num | |
| lpm-usage (syscap=!prestera-ac3) | num | |
| lpm-bank-cap (syscap=!prestera-ac3) | num | |
| lpm-bank-usage (syscap=!prestera-ac3) | multi_arg { array-id, num } | |
| pbr-cap (syscap=prestera-bc2) | num | |
| pbr-usage (syscap=prestera-bc2) | num | |
| pbr-lpm-bank (syscap=prestera-bc2) | num | |
| nat-usage (syscap=prestera-bc2) | num |
interface/ethernet/switch/l3hw-settings/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| state | enum (ok | stopping | starting | fib-failure | net-failure | switch-failure | fasttrack-failure | out-of-memory) | |
| ipv4-routes-total | num | |
| ipv4-routes-hw | num | |
| ipv4-routes-cpu | num | |
| ipv4-shortest-hw-prefix | num | |
| ipv4-hosts | num | |
| ipv6-routes-total | num | |
| ipv6-routes-hw | num | |
| ipv6-routes-cpu | num | |
| ipv6-shortest-hw-prefix | num | |
| ipv6-hosts | num | |
| route-queue-size (syscap=!prestera-cpss) | num | |
| nexthop-cap | num | |
| nexthop-usage | num | |
| vxlan-mtu-packet-drop (syscap=prestera-bc2) | num | |
| fasttrack-ipv4-conns (syscap=prestera-bc2) | num | |
| fasttrack-hw-min-speed (syscap=prestera-bc2) | num |
interface/ethernet/switch/reset-counters
Conditions: !smips
Type: Command
interface/ethernet/switch/port
Type: Directory
| Flag | Name | Description |
|---|---|---|
| R | running | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| vlan-mode (syscap=oldswitch) | enum (disabled | fallback | check | secure) | |
| vlan-header (syscap=oldswitch) | enum (leave-as-is | always-strip | add-if-missing) | |
| default-vlan-id (syscap=oldswitch) | num | |
| mirror-ingress (syscap=switch-mirror-prestera) | bool | |
| mirror-egress (syscap=switch-mirror-prestera) | bool | |
| mirror-ingress-target (syscap=switch-mv88e6xxx) | enum (none) | |
| ingress-rate (syscap=switch-rate) | num | |
| egress-rate (syscap=switch-rate) | num | |
| storm-rate (syscap=crs_prestera) | num | |
| limit-unknown-unicasts (syscap=crs_prestera) | bool | |
| limit-unknown-multicasts (syscap=crs_prestera) | bool | |
| limit-broadcasts (syscap=crs_prestera) | bool | |
| l3-hw-offloading (syscap=crs_prestera) | bool |
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | |
| switch | enum |
interface/ethernet/switch/port/reset-counters
Type: Command
interface/ethernet/switch/port-isolation
Type: Directory
| Flag | Name | Description |
|---|---|---|
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| forwarding-override | multi_arg { array-id, enum } |
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | |
| switch | enum |
interface/ethernet/switch/host
Syscap: oldswitch
Type: Directory
| Flag | Name | Description |
|---|---|---|
| D | dynamic | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory ) | enum | |
| mac-address | macAddr | |
| ports ( mandatory ) | multi_arg { array-id, alt { enum , interface_enum } { enum , interface_enum } } | |
| copy-to-cpu | bool | |
| redirect-to-cpu | bool | |
| drop | bool | |
| mirror | bool | |
| vlan-id | num | |
| share-vlan-learned | bool |
| Read-only Argument | Type | Description |
|---|---|---|
| timeout | time |
interface/ethernet/switch/vlan
Syscap: oldswitch
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory ) | enum | |
| vlan-id ( mandatory ) | num | |
| ports ( mandatory ) | multi_arg { array-id, enum } | |
| independent-learning | bool |
interface/ethernet/switch/rule
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | |
| I | invalid | |
| D | dynamic |
| Argument | Type | Description |
|---|---|---|
| switch ( mandatory ) | enum | |
| ports (syscap=!crs_prestera) | multi_arg { array-id, enum } | |
| src-mac-address | super { macAddr , /macAddr } | |
| dst-mac-address | super { macAddr , /macAddr } | |
| mac-protocol | alt { enum () { } , num [ .. 65535] } | |
| vlan-header | bool | |
| vlan-id | num | |
| vlan-priority | num | |
| src-address | super { ipAddr , /alt { ipAddr , num [ .. 32] } { ipAddr , num [ .. 32] } } | |
| dst-address | super { ipAddr , /alt { ipAddr , num [ .. 32] } { ipAddr , num [ .. 32] } } | |
| protocol | alt { enum () { } , num [ .. 255] } | |
| src-port | range_arg | |
| dst-port | range_arg | |
| dscp | num | |
| src-address6 | super { ip6Addr , /alt { ip6Addr , num } { ip6Addr , num } } | |
| dst-address6 | super { ip6Addr , /alt { ip6Addr , num } { ip6Addr , num } } | |
| traffic-class | num | |
| flow-label | num | |
| copy-to-cpu | bool | |
| redirect-to-cpu | bool | |
| mirror (syscap=switch-mirror-prestera) | bool | |
| new-dst-ports | multi_arg { array-id, alt { enum , interface_enum } { enum , interface_enum } } | |
| mirror-ports (syscap=switch-mv88e6xxx) | multi_arg { array-id, enum } | |
| new-qos-profile (syscap=crs_prestera) | enum | |
| keep-qos-fields (syscap=crs_prestera) | bool { } | |
| new-vlan-id | num | |
| new-vlan-priority | num | |
| new-vrf (syscap=prestera-cpss) | enum | |
| rate | num |
| Read-only Argument | Type | Description |
|---|---|---|
| internal-priority | num |
interface/ethernet/switch/prbs/start-prbs
Type: Command
| Argument | Type | Description |
|---|---|---|
| phy | bool |
interface/ethernet/switch/prbs/stop-prbs
Type: Command
| Argument | Type | Description |
|---|---|---|
| phy | bool |
interface/ethernet/switch/prbs/reset-prbs
Type: Command
| Argument | Type | Description |
|---|---|---|
| phy | bool |
interface/ethernet/switch/stats
Conditions: !smips
Type: Settings Directory
| Read-only Argument | Type | Description |
|---|---|---|
| driver-rx-byte | multi_arg { num } | |
| driver-rx-packet | multi_arg { num } | |
| driver-tx-byte | multi_arg { num } | |
| driver-tx-packet | multi_arg { num } | |
| rx-bytes | multi_arg { num } | |
| rx-packet | multi_arg { num } | |
| rx-too-short | multi_arg { num } | |
| rx-64 | multi_arg { num } | |
| rx-65-127 | multi_arg { num } | |
| rx-128-255 | multi_arg { num } | |
| rx-256-511 | multi_arg { num } | |
| rx-512-1023 | multi_arg { num } | |
| rx-1024-1518 | multi_arg { num } | |
| rx-1519-max | multi_arg { num } | |
| rx-too-long | multi_arg { num } | |
| rx-broadcast | multi_arg { num } | |
| rx-pause | multi_arg { num } | |
| rx-multicast | multi_arg { num } | |
| rx-fcs-error | multi_arg { num } | |
| rx-align-error | multi_arg { num } | |
| rx-fragment | multi_arg { num } | |
| rx-overflow | multi_arg { num } | |
| rx-control | multi_arg { num } | |
| rx-unknown-op | multi_arg { num } | |
| rx-length-error | multi_arg { num } | |
| rx-code-error | multi_arg { num } | |
| rx-carrier-error | multi_arg { num } | |
| rx-jabber | multi_arg { num } | |
| rx-drop | multi_arg { num } | |
| rx-ip-header-checksum-error | multi_arg { num } | |
| rx-tcp-checksum-error | multi_arg { num } | |
| rx-udp-checksum-error | multi_arg { num } | |
| tx-bytes | multi_arg { num } | |
| tx-packet | multi_arg { num } | |
| tx-too-short | multi_arg { num } | |
| tx-64 | multi_arg { num } | |
| tx-65-127 | multi_arg { num } | |
| tx-128-255 | multi_arg { num } | |
| tx-256-511 | multi_arg { num } | |
| tx-512-1023 | multi_arg { num } | |
| tx-1024-1518 | multi_arg { num } | |
| tx-1519-max | multi_arg { num } | |
| tx-too-long | multi_arg { num } | |
| tx-broadcast | multi_arg { num } | |
| tx-pause | multi_arg { num } | |
| tx-multicast | multi_arg { num } | |
| tx-underrun | multi_arg { num } | |
| tx-collision | multi_arg { num } | |
| tx-excessive-collision | multi_arg { num } | |
| tx-multiple-collision | multi_arg { num } | |
| tx-single-collision | multi_arg { num } | |
| tx-excessive-deferred | multi_arg { num } | |
| tx-deferred | multi_arg { num } | |
| tx-late-collision | multi_arg { num } | |
| tx-total-collision | multi_arg { num } | |
| tx-pause-honored | multi_arg { num } | |
| tx-drop | multi_arg { num } | |
| tx-jabber | multi_arg { num } | |
| tx-fcs-error | multi_arg { num } | |
| tx-control | multi_arg { num } | |
| tx-fragment | multi_arg { num } | |
| tx-carrier-sense-error | multi_arg { num } | |
| tx-rx-64 | multi_arg { num } | |
| tx-rx-65-127 | multi_arg { num } | |
| tx-rx-128-255 | multi_arg { num } | |
| tx-rx-256-511 | multi_arg { num } | |
| tx-rx-512-1023 | multi_arg { num } | |
| tx-rx-1024-1518 | multi_arg { num } | |
| tx-rx-1519-max | multi_arg { num } | |
| tx-queue-custom0-drop-packet | multi_arg { num } | |
| tx-queue-custom0-drop-byte | multi_arg { num } | |
| tx-queue-custom1-drop-packet | multi_arg { num } | |
| tx-queue-custom1-drop-byte | multi_arg { num } | |
| policy-drop-packet | multi_arg { num } | |
| custom-drop-packet | multi_arg { num } | |
| current-learned | multi_arg { num } | |
| not-learned | multi_arg { num } | |
| rx-unicast | multi_arg { num } | |
| tx-unicast | multi_arg { num } | |
| rx-error-events | multi_arg { num } | |
| tx-rx-1024-max | multi_arg { num } | |
| rx-1024-max | multi_arg { num } | |
| tx-1024-max | multi_arg { num } | |
| rs-fec-codewords | multi_arg { num } | |
| rs-fec-corrected | multi_arg { num } | |
| rs-fec-uncorrected | multi_arg { num } | |
| rs-fec-symbol-error | multi_arg { num } | |
| fc-fec-rx-block | multi_arg { num } | |
| fc-fec-block-corrected | multi_arg { num } | |
| fc-fec-block-uncorrected | multi_arg { num } | |
| tx-queue0-packet | multi_arg { num } | |
| tx-queue0-byte | multi_arg { num } | |
| tx-queue1-packet | multi_arg { num } | |
| tx-queue1-byte | multi_arg { num } | |
| tx-queue2-packet | multi_arg { num } | |
| tx-queue2-byte | multi_arg { num } | |
| tx-queue3-packet | multi_arg { num } | |
| tx-queue3-byte | multi_arg { num } | |
| tx-queue4-packet | multi_arg { num } | |
| tx-queue4-byte | multi_arg { num } | |
| tx-queue5-packet | multi_arg { num } | |
| tx-queue5-byte | multi_arg { num } | |
| tx-queue6-packet | multi_arg { num } | |
| tx-queue6-byte | multi_arg { num } | |
| tx-queue7-packet | multi_arg { num } | |
| tx-queue7-byte | multi_arg { num } | |
| tx-drop-packet | multi_arg { num } | |
| tx-drop-byte | multi_arg { num } | |
| tx-drop-queue0-packet | multi_arg { num } | |
| tx-drop-queue0-byte | multi_arg { num } | |
| tx-drop-queue1-packet | multi_arg { num } | |
| tx-drop-queue1-byte | multi_arg { num } | |
| tx-drop-queue2-packet | multi_arg { num } | |
| tx-drop-queue2-byte | multi_arg { num } | |
| tx-drop-queue3-packet | multi_arg { num } | |
| tx-drop-queue3-byte | multi_arg { num } | |
| tx-drop-queue4-packet | multi_arg { num } | |
| tx-drop-queue4-byte | multi_arg { num } | |
| tx-drop-queue5-packet | multi_arg { num } | |
| tx-drop-queue5-byte | multi_arg { num } | |
| tx-drop-queue6-packet | multi_arg { num } | |
| tx-drop-queue6-byte | multi_arg { num } | |
| tx-drop-queue7-packet | multi_arg { num } | |
| tx-drop-queue7-byte | multi_arg { num } |
interface/ethernet/blink
Type: Command
interface/ethernet/reset-mac-address
Type: Command
interface/ethernet/reset-counters
Type: Command
interface/ethernet/monitor
Conditions: i386
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | |
| status | enum (unknown | link-ok | no-link | initializing | auto-init-failed) | |
| auto-negotiation | enum (incomplete | done | no-negotiation | failed | restarted | disabled | not-supported) | |
| rate | enum (unknown | 10Mbps | 100Mbps | 1Gbps | 2.5Gbps | 5Gbps | 10Gbps | 25Gbps | 40Gbps | 50Gbps | 100Gbps | 200Gbps | 400Gbps) | |
| full-duplex | bool | |
| tx-flow-control | bool | |
| rx-flow-control | bool | |
| fec | enum (off | fec74 | fec91) | |
| supported | multi_arg { array-id, } | |
| sfp-supported | multi_arg { array-id, } | |
| advertising | multi_arg { array-id, } | |
| link-partner-advertising | multi_arg { array-id, } | |
| default-cable-setting | enum (short | standard) | |
| combo-state | enum (copper | sfp) | |
| sfp-module-present | bool | |
| sfp-rx-loss | bool | |
| sfp-tx-fault | bool | |
| sfp-type | enum (unknown | SFP/SFP+/SFP28/SFP56 | DWDM-SFP/SFP+ | QSFP | QSFP+ | QSFP28/QSFP56 | QSFPDD | QSFP-CMIS) | |
| sfp-cmis-revision | composite_arg { , } | |
| sfp-cmis-module-state | enum (low-power | power-up | ready | power-down | fault) | |
| sfp-connector-type | enum (unknown | SC | LC | optical-pigtail | multifiber-parallel-optic-1x12 | multifiber-parallel-optic-1x16 | copper-pigtail | no-separable-connector | RJ45) | |
| sfp-encoding | enum (unspecified | 8B/10B | 4B/5B | nrz | manchester | sonet | 64B/66B | 256B/257B | pam4) | |
| sfp-link-length-sm | num | |
| sfp-link-length-om1 | num | |
| sfp-link-length-om2 | num | |
| sfp-link-length-om3 | num | |
| sfp-link-length-om4 | num | |
| sfp-link-length-om5 | num | |
| sfp-link-length-cable-assembly | num | |
| sfp-link-length-copper-active-om4 | num | |
| sfp-vendor-name | string | |
| sfp-vendor-part-number | string | |
| sfp-vendor-revision | string | |
| sfp-vendor-serial | string | |
| sfp-manufacturing-date | string | |
| sfp-power-class | num | |
| sfp-max-power | num | |
| sfp-wavelength | num | |
| sfp-dwdm-channel-spacing | num | |
| sfp-temperature | num | |
| sfp-supply-voltage | num | |
| sfp-tx-bias-current | num | |
| sfp-tx-power | num | |
| sfp-rx-power | num | |
| sfp-mac | macAddr | |
| phy-regs | multi_arg { array-id, string } | |
| eeprom-checksum | bool | |
| eeprom | string |
interface/ethernet/cable-test
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | |
| status | enum (unknown | link-ok | no-link | initializing | auto-init-failed) | |
| cable-pairs | multi_arg { array-id, array-id, composite_arg { , } { , } } |
interface/ethernet/poe
Syscap: (poe or poe-in)
Type: Directory
| Argument | Type | Description |
|---|---|---|
| name | string | |
| poe-out (syscap=(!poe-4p-power and poe)) | enum (off | auto-on | forced-on) | |
| poe-voltage (syscap=poe) | enum (auto | low | high) | |
| poe-priority (syscap=poe) | num | |
| power-cycle-ping-enabled (syscap=poe) | bool | |
| power-cycle-ping-address (syscap=poe) | alt { ipAddr , ip6Addr , macAddr } | |
| power-cycle-ping-timeout (syscap=poe) | time | |
| power-cycle-interval (syscap=poe) | alt { enum (none) { none:0 } , time } |
| Read-only Argument | Type | Description |
|---|---|---|
| poe-controller (syscap=(poe and option)) | string |
interface/ethernet/poe/power-cycle
Syscap: poe
Type: Command
| Argument | Type | Description |
|---|---|---|
| duration | time |
interface/ethernet/poe/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | |
| poe-out (syscap=poe) | enum (off | auto-on | forced-on | forced-on-a | forced-on-bt) | |
| poe-voltage (syscap=poe) | enum (auto | low | high) | |
| poe-out-status | enum (disabled | waiting-for-load | powered-on | overload | short-circuit | voltage-too-low | current-too-low | power-cycle | voltage-too-high | controller-error | controller-upgrade | voltage-on-poe-in | no-valid-PSU | controller-init | low-voltage-too-low | lldp-power-off) | |
| poe-out-voltage | num | |
| poe-out-current | num | |
| poe-out-power | num | |
| poe-out-power-pair | enum (b | a | bt) | |
| power-cycle-host-alive | bool | |
| power-cycle-after | time |
interface/ethernet/poe/settings
Syscap: poesettings
Type: Settings Directory
| Argument | Type | Description |
|---|---|---|
| ether1-poe-in-long-cable (syscap=poeattiny) | bool | |
| psu-max-power (syscap=poepwrchg) | num | |
| psu1-max-power (syscap=poepwrchg) | num | |
| psu2-max-power (syscap=poepwrchg) | num | |
| jack-max-power (syscap=poepwrchg) | num | |
| jack1-max-power (syscap=poepwrchg) | num | |
| jack2-max-power (syscap=poepwrchg) | num | |
| 2pin-max-power (syscap=poepwrchg) | num | |
| 2pin1-max-power (syscap=poepwrchg) | num | |
| 2pin2-max-power (syscap=poepwrchg) | num | |
| poe-in-max-power (syscap=poepwrchg) | num |
| Read-only Argument | Type | Description |
|---|---|---|
| version (syscap=poeattiny) | string | |
| routerboard-max-self-power (syscap=poepwrchg) | num | |
| poe-out-limit-power (syscap=poepwrchg) | num | |
| psu-poe-out-max-power (syscap=poepwrchg) | num | |
| psu1-poe-out-max-power (syscap=poepwrchg) | num | |
| psu2-poe-out-max-power (syscap=poepwrchg) | num | |
| jack-poe-out-max-power (syscap=poepwrchg) | num | |
| jack1-poe-out-max-power (syscap=poepwrchg) | num | |
| jack2-poe-out-max-power (syscap=poepwrchg) | num | |
| 2pin-poe-out-max-power (syscap=poepwrchg) | num | |
| 2pin1-poe-out-max-power (syscap=poepwrchg) | num | |
| 2pin2-poe-out-max-power (syscap=poepwrchg) | num | |
| poe-in-poe-out-max-power (syscap=poepwrchg) | num |