Skip to main content
Version: current

port


interface/ethernet/switch/port

Syscap: musicswitch
Type: Directory

FlagNameDescription
Iinvalid
ArgumentTypeDescription
ingress-customer-tpid-overridenumIngress customer TPID override allows accepting specific frames with a custom customer tag TPID. The default value is for the tag of 802.1Q frames.
egress-customer-tpid-overridenumEgress customer TPID override allows custom identification for egress frames with a customer tag. The default value is for the tag of 802.1Q frames.
ingress-service-tpid-overridenumIngress service TPID override allows accepting specific frames with a custom service tag TPID. The default value is for the service tag of 802.1AD frames.
egress-service-tpid-overridenumEgress service TPID override allows custom identification for egress frames with a service tag. The default value is for the service tag of 802.1AD frames.
drop-secure-static-mac-moveboolPrevents MAC relearning of static entries until UFDB timeout if the MAC is already learned on another port.
drop-dynamic-mac-moveboolPrevents MAC relearning until UFDB timeout if the MAC is already learned on another port.
learn-limitnumEnable or disable MAC address learning and set the MAC limit on the port. MAC learning limit is disabled by default.
allow-unicast-loopbackboolUnicast loopback on port. When enabled, it permits sending back when the source port and destination port are the same for known unicast packets.
allow-multicast-loopbackboolMulticast loopback on port. When enabled, it permits sending back when the source port and destination port are the same for registered multicast or broadcast packets.
action-on-static-station-moveenum (forward | redirect-to-cpu | copy-to-cpu | drop) { forward:0, redirect-to-cpu:1, copy-to-cpu:2, drop:3 }Action for packets when UFDB already contains a static entry with such a MAC but with a different port.
drop-when-ufdb-entry-src-dropboolEnable or disable dropping packets when UFDB entry has action src-drop.
isolation-leakage-profile-overridenum

Custom port profile for port isolation/leakage configurations.

  • Port-level isolation profile 0. Uplink port - allows the port to communicate with all ports in the device.
  • Port-level isolation profile 1. Isolated port - allows the port to communicate only with uplink ports.
  • Port-level isolation profile 2 - 31. Community port - allows communication among the same community ports and uplink ports.
vlan-typeenum (edge-port | network-port) { edge-port:0, network-port:1 }Port VLAN type specifies whether VLAN ID is used in UFDB learning. The network port learns VLAN ID in UFDB, edge port does not - VLAN 0. It can be observed only in IVL learning mode.
allow-fdb-based-vlan-translateboolEnable or disable MAC-based VLAN translation on the port.
allow-mac-based-service-vlan-assignment-forenum (none | untagged-and-priority-tagged-frame-only | tagged-frame-only | all) { none:0, untagged-and-priority-tagged-frame-only:1, tagged-frame-only:2, all:3 }Frame type for which MAC-based service VLAN translation applies.
allow-mac-based-customer-vlan-assignment-forenum (none | untagged-and-priority-tagged-frame-only | tagged-frame-only | all) { none:0, untagged-and-priority-tagged-frame-only:1, tagged-frame-only:2, all:3 }Frame type for which MAC-based customer VLAN translation applies.
filter-untagged-frameboolWhether to filter untagged frames on the port.
filter-priority-tagged-frameboolWhether to filter tagged frames with priority on the port.
filter-tagged-frameboolWhether to filter tagged frames on the port.
egress-vlan-tag-table-lookup-keyenum (egress-vid | according-to-bridge-type) { egress-vid:0, according-to-bridge-type:1 }

Egress VLAN table (VLAN Tagging) lookup:

  • egress-vid - lookup VLAN ID is CVID when an Edge port is configured, SVID when a Network port.
  • according-to-bridge-type - lookup VLAN ID is CVID when a customer VLAN bridge is configured, SVID when a service VLAN bridge.
egress-vlan-modeenum (untagged | tagged | unmodified) { untagged:0, tagged:1, unmodified:2 }Egress VLAN tagging action on the port.
ingress-mirror-toenum (none | mirror0 | mirror1) { none:0xffffffff, mirror0:0, mirror1:1 }Analyzer port for port-based ingress mirroring.
ingress-mirroring-according-to-vlanbool
egress-mirror-toenum (none | mirror0 | mirror1) { none:0xffffffff, mirror0:0, mirror1:1 }Analyzer port for port-based egress mirroring.
qos-scheme-precedencemulti { array-id, qos-type: 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 } }Specifies applied QoS assignment schemes on the ingress of the port.
default-customer-pcpnumDefault customer PCP of the port.
default-service-pcpnumDefault service PCP of the port.
pcp-propagation-for-initial-pcpbool

Enables or disables PCP propagation for initial PCP assignment on ingress.

  • If the port vlan-type is an Edge port, the service PCP is copied from the customer PCP.
  • If the port vlan-type is a Network port, the customer PCP is copied from the service PCP.
egress-pcp-propagationboolEnables or disables egress PCP propagation. If the port vlan-type is an Edge port, the service PCP is copied from the customer PCP. If the port vlan-type is a Network port, the customer PCP is copied from the service PCP.
dscp-based-qos-dscp-to-dscp-mappingboolEnables or disables DSCP to internal DSCP mapping on the port.
pcp-or-dscp-based-qos-change-deiboolEnables or disables PCP or DSCP based DEI change on the port.
pcp-or-dscp-based-qos-change-pcpboolEnables or disables PCP or DSCP based PCP change on the port.
pcp-or-dscp-based-qos-change-dscpboolEnables or disables PCP or DSCP based DSCP change on the port.
pcp-based-qos-drop-precedence-mappingobject { range-and-drop-precedence: composite { pcp-dei-range: range [ .. 15] , drop-precedence: enum (green | yellow | red | drop) } }The new value of drop precedence for the PCP/DEI to drop precedence (drop | green | red | yellow) mapping. Multiple mappings are allowed separated by a comma e.g. "0-7:yellow,8-15:red".
pcp-based-qos-dscp-mappingobject { range-and-dscp: composite { pcp-dei-range: range [ .. 15] , dscp: num [ .. 63] } }The new value of DSCP for the PCP/DEI to DSCP mapping. Multiple mappings are allowed separated by a comma e.g. "0-7:25,8-15:50".
pcp-based-qos-dei-mappingobject { range-and-dei: composite { pcp-dei-range: range [ .. 15] , dei: num [ .. 1] } }The new value of DEI for the PCP/DEI to DEI mapping. Multiple mappings are allowed separated by a comma e.g. "0-7:0,8-15:1".
pcp-based-qos-pcp-mappingobject { range-and-pcp: composite { pcp-dei-range: range [ .. 15] , pcp: num [ .. 7] } }The new value of PCP for the PCP/DEI to PCP mapping. Multiple mappings are allowed separated by a comma e.g. "0-7:3,8-15:4".
pcp-based-qos-priority-mappingobject { range-and-priority: composite { pcp-dei-range: range [ .. 15] , priority: num [ .. 15] } }The new value of internal priority for the PCP/DEI to priority mapping. Multiple mappings are allowed separated by a comma e.g. "0-7:5,8-15:15".
priority-to-queueobject { priority-range-and-queue: composite { priority-range: range [ .. 15] , queue: num [ .. 7] } }Internal priority (0..15) mapping to queue (0..7) per port.
per-queue-schedulingobject { scheduling-type-and-weight: composite { scheduling-type: enum (strict-priority | wrr-group0 | wrr-group1) { strict-priority:0, wrr-group0:1, wrr-group1:2 } , weight: [ num [ .. 255]] } }Set port to use either strict or weighted round robin policy for traffic shaping for each queue group.
custom-drop-counter-includesubit (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)Custom include to count dropped packets for switch port custom-drop-packet counter.
queue-custom-drop-counter0-includesubit (red, yellow, green, queue0, queue1, queue2, queue3, queue4, queue5, queue6, queue7)Custom include to count dropped packets for switch port tx-queue-custom0-drop-packet and bytes for tx-queue-custom0-drop-byte counter.
queue-custom-drop-counter1-includesubit (red, yellow, green, queue0, queue1, queue2, queue3, queue4, queue5, queue6, queue7)Custom include to count dropped packets for switch port tx-queue-custom1-drop-packet and bytes for tx-queue-custom1-drop-byte counter.
policy-drop-counter-includesubit (ingress-policing, ingress-acl, egress-policing, egress-acl)Custom include to count dropped packets for switch port policy-drop-packet counter.
Read-only ArgumentTypeDescription
namestring
ingress-customer-tpidnum
egress-customer-tpidnum
ingress-service-tpidnum
egress-service-tpidnum
learnbool
isolation-leakage-profilenum
driver-rx-bytemulti { counter: num }
driver-rx-packetmulti { counter: num }
driver-tx-bytemulti { counter: num }
driver-tx-packetmulti { counter: num }
rx-bytesmulti { counter: num }
rx-packetmulti { counter: num }
rx-too-shortmulti { counter: num }
rx-64multi { counter: num }
rx-65-127multi { counter: num }
rx-128-255multi { counter: num }
rx-256-511multi { counter: num }
rx-512-1023multi { counter: num }
rx-1024-1518multi { counter: num }
rx-1519-maxmulti { counter: num }
rx-too-longmulti { counter: num }
rx-broadcastmulti { counter: num }
rx-pausemulti { counter: num }
rx-multicastmulti { counter: num }
rx-fcs-errormulti { counter: num }
rx-align-errormulti { counter: num }
rx-fragmentmulti { counter: num }
rx-overflowmulti { counter: num }
rx-controlmulti { counter: num }
rx-unknown-opmulti { counter: num }
rx-length-errormulti { counter: num }
rx-code-errormulti { counter: num }
rx-carrier-errormulti { counter: num }
rx-jabbermulti { counter: num }
rx-dropmulti { counter: num }
rx-ip-header-checksum-errormulti { counter: num }
rx-tcp-checksum-errormulti { counter: num }
rx-udp-checksum-errormulti { counter: num }
tx-bytesmulti { counter: num }
tx-packetmulti { counter: num }
tx-too-shortmulti { counter: num }
tx-64multi { counter: num }
tx-65-127multi { counter: num }
tx-128-255multi { counter: num }
tx-256-511multi { counter: num }
tx-512-1023multi { counter: num }
tx-1024-1518multi { counter: num }
tx-1519-maxmulti { counter: num }
tx-too-longmulti { counter: num }
tx-broadcastmulti { counter: num }
tx-pausemulti { counter: num }
tx-multicastmulti { counter: num }
tx-underrunmulti { counter: num }
tx-collisionmulti { counter: num }
tx-excessive-collisionmulti { counter: num }
tx-multiple-collisionmulti { counter: num }
tx-single-collisionmulti { counter: num }
tx-excessive-deferredmulti { counter: num }
tx-deferredmulti { counter: num }
tx-late-collisionmulti { counter: num }
tx-total-collisionmulti { counter: num }
tx-pause-honoredmulti { counter: num }
tx-dropmulti { counter: num }
tx-jabbermulti { counter: num }
tx-fcs-errormulti { counter: num }
tx-controlmulti { counter: num }
tx-fragmentmulti { counter: num }
tx-carrier-sense-errormulti { counter: num }
tx-rx-64multi { counter: num }
tx-rx-65-127multi { counter: num }
tx-rx-128-255multi { counter: num }
tx-rx-256-511multi { counter: num }
tx-rx-512-1023multi { counter: num }
tx-rx-1024-1518multi { counter: num }
tx-rx-1519-maxmulti { counter: num }
tx-queue-custom0-drop-packetmulti { counter: num }
tx-queue-custom0-drop-bytemulti { counter: num }
tx-queue-custom1-drop-packetmulti { counter: num }
tx-queue-custom1-drop-bytemulti { counter: num }
policy-drop-packetmulti { counter: num }
custom-drop-packetmulti { counter: num }
current-learnedmulti { counter: num }
not-learnedmulti { counter: num }
rx-unicastmulti { counter: num }
tx-unicastmulti { counter: num }
rx-error-eventsmulti { counter: num }
tx-rx-1024-maxmulti { counter: num }
rx-1024-maxmulti { counter: num }
tx-1024-maxmulti { counter: num }
rs-fec-codewordsmulti { counter: num }
rs-fec-correctedmulti { counter: num }
rs-fec-uncorrectedmulti { counter: num }
rs-fec-symbol-errormulti { counter: num }
fc-fec-rx-blockmulti { counter: num }
fc-fec-block-correctedmulti { counter: num }
fc-fec-block-uncorrectedmulti { counter: num }
tx-queue0-packetmulti { counter: num }
tx-queue0-bytemulti { counter: num }
tx-queue1-packetmulti { counter: num }
tx-queue1-bytemulti { counter: num }
tx-queue2-packetmulti { counter: num }
tx-queue2-bytemulti { counter: num }
tx-queue3-packetmulti { counter: num }
tx-queue3-bytemulti { counter: num }
tx-queue4-packetmulti { counter: num }
tx-queue4-bytemulti { counter: num }
tx-queue5-packetmulti { counter: num }
tx-queue5-bytemulti { counter: num }
tx-queue6-packetmulti { counter: num }
tx-queue6-bytemulti { counter: num }
tx-queue7-packetmulti { counter: num }
tx-queue7-bytemulti { counter: num }
tx-drop-packetmulti { counter: num }
tx-drop-bytemulti { counter: num }
tx-drop-queue0-packetmulti { counter: num }
tx-drop-queue0-bytemulti { counter: num }
tx-drop-queue1-packetmulti { counter: num }
tx-drop-queue1-bytemulti { counter: num }
tx-drop-queue2-packetmulti { counter: num }
tx-drop-queue2-bytemulti { counter: num }
tx-drop-queue3-packetmulti { counter: num }
tx-drop-queue3-bytemulti { counter: num }
tx-drop-queue4-packetmulti { counter: num }
tx-drop-queue4-bytemulti { counter: num }
tx-drop-queue5-packetmulti { counter: num }
tx-drop-queue5-bytemulti { counter: num }
tx-drop-queue6-packetmulti { counter: num }
tx-drop-queue6-bytemulti { counter: num }
tx-drop-queue7-packetmulti { counter: num }
tx-drop-queue7-bytemulti { counter: num }

interface/ethernet/switch/port

Syscap: rbswitch
Type: Directory

FlagNameDescription
Rrunning
Iinvalid
ArgumentTypeDescription
vlan-mode (syscap=oldswitch)enum (disabled | fallback | check | secure) { disabled:0, fallback:1, check:2, secure:3 }Changes the VLAN lookup mechanism against the VLAN Table for ingress traffic. disabled - disables checking against the VLAN Table completely, no traffic is dropped. fallback - checks tagged traffic against the VLAN Table, forwards all untagged traffic. check - checks tagged traffic, drops all untagged traffic. secure - checks tagged traffic, drops all untagged traffic, both ingress and egress ports must be found in the VLAN Table otherwise traffic is dropped.
vlan-header (syscap=oldswitch)enum (leave-as-is | always-strip | add-if-missing) { leave-as-is:0, always-strip:1, add-if-missing:2 }Sets the action performed on the port for egress traffic. add-if-missing - adds a VLAN tag using default-vlan-id from the ingress port, used for trunk ports. always-strip - removes a VLAN tag, used for access ports. leave-as-is - does not add or remove a VLAN tag, used for hybrid ports.
default-vlan-id (syscap=oldswitch)numAdds a VLAN tag with the specified VLAN ID on all untagged ingress traffic on a port. Should be used with vlan-header=always-strip to configure the port as an access port. For hybrid ports default-vlan-id is used to tag untagged traffic. If two ports have the same default-vlan-id, the VLAN tag is not added since the switch chip assumes traffic is being forwarded between access ports.
mirror-ingress (syscap=switch-mirror-prestera)boolWhether to send ingress packet copy to the mirror-target port.
mirror-egress (syscap=switch-mirror-prestera)boolWhether to send egress packet copy to the mirror-target port.
mirror-ingress-target (syscap=switch-mv88e6xxx)enum (none) { none:0 }Selects a single mirroring ingress target port. Mirrored packets from mirror-ingress will be sent to the selected port.
ingress-rate (syscap=switch-rate)numLimits the received (ingress) traffic with packet drops. Everything that exceeds the defined limit will be dropped.
egress-rate (syscap=switch-rate)numLimits the transmitted (egress) traffic. The shaper tries to queue packets that exceed the limit instead of dropping them.
storm-rate (syscap=crs_prestera)numAmount of broadcast, unknown multicast and/or unknown unicast traffic limited to a percentage of the link speed.
limit-unknown-unicasts (syscap=crs_prestera)boolLimit unknown unicast traffic on a switch port.
limit-unknown-multicasts (syscap=crs_prestera)boolLimit unknown multicast traffic on a switch port.
limit-broadcasts (syscap=crs_prestera)boolLimit broadcast traffic on a switch port.
l3-hw-offloading (syscap=crs_prestera)boolLayer 3 Hardware Offloading. Hardware routing via this port. Only disables hardware routing from/to this particular port when set to no.
Read-only ArgumentTypeDescription
namestring
switchenum
driver-rx-bytemulti { counter: num }
driver-rx-packetmulti { counter: num }
driver-tx-bytemulti { counter: num }
driver-tx-packetmulti { counter: num }
rx-bytesmulti { counter: num }
rx-packetmulti { counter: num }
rx-too-shortmulti { counter: num }
rx-64multi { counter: num }
rx-65-127multi { counter: num }
rx-128-255multi { counter: num }
rx-256-511multi { counter: num }
rx-512-1023multi { counter: num }
rx-1024-1518multi { counter: num }
rx-1519-maxmulti { counter: num }
rx-too-longmulti { counter: num }
rx-broadcastmulti { counter: num }
rx-pausemulti { counter: num }
rx-multicastmulti { counter: num }
rx-fcs-errormulti { counter: num }
rx-align-errormulti { counter: num }
rx-fragmentmulti { counter: num }
rx-overflowmulti { counter: num }
rx-controlmulti { counter: num }
rx-unknown-opmulti { counter: num }
rx-length-errormulti { counter: num }
rx-code-errormulti { counter: num }
rx-carrier-errormulti { counter: num }
rx-jabbermulti { counter: num }
rx-dropmulti { counter: num }
rx-ip-header-checksum-errormulti { counter: num }
rx-tcp-checksum-errormulti { counter: num }
rx-udp-checksum-errormulti { counter: num }
tx-bytesmulti { counter: num }
tx-packetmulti { counter: num }
tx-too-shortmulti { counter: num }
tx-64multi { counter: num }
tx-65-127multi { counter: num }
tx-128-255multi { counter: num }
tx-256-511multi { counter: num }
tx-512-1023multi { counter: num }
tx-1024-1518multi { counter: num }
tx-1519-maxmulti { counter: num }
tx-too-longmulti { counter: num }
tx-broadcastmulti { counter: num }
tx-pausemulti { counter: num }
tx-multicastmulti { counter: num }
tx-underrunmulti { counter: num }
tx-collisionmulti { counter: num }
tx-excessive-collisionmulti { counter: num }
tx-multiple-collisionmulti { counter: num }
tx-single-collisionmulti { counter: num }
tx-excessive-deferredmulti { counter: num }
tx-deferredmulti { counter: num }
tx-late-collisionmulti { counter: num }
tx-total-collisionmulti { counter: num }
tx-pause-honoredmulti { counter: num }
tx-dropmulti { counter: num }
tx-jabbermulti { counter: num }
tx-fcs-errormulti { counter: num }
tx-controlmulti { counter: num }
tx-fragmentmulti { counter: num }
tx-carrier-sense-errormulti { counter: num }
tx-rx-64multi { counter: num }
tx-rx-65-127multi { counter: num }
tx-rx-128-255multi { counter: num }
tx-rx-256-511multi { counter: num }
tx-rx-512-1023multi { counter: num }
tx-rx-1024-1518multi { counter: num }
tx-rx-1519-maxmulti { counter: num }
tx-queue-custom0-drop-packetmulti { counter: num }
tx-queue-custom0-drop-bytemulti { counter: num }
tx-queue-custom1-drop-packetmulti { counter: num }
tx-queue-custom1-drop-bytemulti { counter: num }
policy-drop-packetmulti { counter: num }
custom-drop-packetmulti { counter: num }
current-learnedmulti { counter: num }
not-learnedmulti { counter: num }
rx-unicastmulti { counter: num }
tx-unicastmulti { counter: num }
rx-error-eventsmulti { counter: num }
tx-rx-1024-maxmulti { counter: num }
rx-1024-maxmulti { counter: num }
tx-1024-maxmulti { counter: num }
rs-fec-codewordsmulti { counter: num }
rs-fec-correctedmulti { counter: num }
rs-fec-uncorrectedmulti { counter: num }
rs-fec-symbol-errormulti { counter: num }
fc-fec-rx-blockmulti { counter: num }
fc-fec-block-correctedmulti { counter: num }
fc-fec-block-uncorrectedmulti { counter: num }
tx-queue0-packetmulti { counter: num }
tx-queue0-bytemulti { counter: num }
tx-queue1-packetmulti { counter: num }
tx-queue1-bytemulti { counter: num }
tx-queue2-packetmulti { counter: num }
tx-queue2-bytemulti { counter: num }
tx-queue3-packetmulti { counter: num }
tx-queue3-bytemulti { counter: num }
tx-queue4-packetmulti { counter: num }
tx-queue4-bytemulti { counter: num }
tx-queue5-packetmulti { counter: num }
tx-queue5-bytemulti { counter: num }
tx-queue6-packetmulti { counter: num }
tx-queue6-bytemulti { counter: num }
tx-queue7-packetmulti { counter: num }
tx-queue7-bytemulti { counter: num }
tx-drop-packetmulti { counter: num }
tx-drop-bytemulti { counter: num }
tx-drop-queue0-packetmulti { counter: num }
tx-drop-queue0-bytemulti { counter: num }
tx-drop-queue1-packetmulti { counter: num }
tx-drop-queue1-bytemulti { counter: num }
tx-drop-queue2-packetmulti { counter: num }
tx-drop-queue2-bytemulti { counter: num }
tx-drop-queue3-packetmulti { counter: num }
tx-drop-queue3-bytemulti { counter: num }
tx-drop-queue4-packetmulti { counter: num }
tx-drop-queue4-bytemulti { counter: num }
tx-drop-queue5-packetmulti { counter: num }
tx-drop-queue5-bytemulti { counter: num }
tx-drop-queue6-packetmulti { counter: num }
tx-drop-queue6-bytemulti { counter: num }
tx-drop-queue7-packetmulti { counter: num }
tx-drop-queue7-bytemulti { counter: num }