| Argument | Type | Description |
|---|
| ingress-customer-tpid-override | num | Ingress 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-override | num | Egress 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-override | num | Ingress 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-override | num | Egress 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-move | bool | Prevents MAC relearning of static entries until UFDB timeout if the MAC is already learned on another port. |
| drop-dynamic-mac-move | bool | Prevents MAC relearning until UFDB timeout if the MAC is already learned on another port. |
| learn-limit | num | Enable or disable MAC address learning and set the MAC limit on the port. MAC learning limit is disabled by default. |
| allow-unicast-loopback | bool | Unicast 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-loopback | bool | Multicast 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-move | enum (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-drop | bool | Enable or disable dropping packets when UFDB entry has action src-drop. |
| isolation-leakage-profile-override | num | 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-type | enum (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-translate | bool | Enable or disable MAC-based VLAN translation on the port. |
| allow-mac-based-service-vlan-assignment-for | enum (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-for | enum (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-frame | bool | Whether to filter untagged frames on the port. |
| filter-priority-tagged-frame | bool | Whether to filter tagged frames with priority on the port. |
| filter-tagged-frame | bool | Whether to filter tagged frames on the port. |
| egress-vlan-tag-table-lookup-key | enum (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-mode | enum (untagged | tagged | unmodified) { untagged:0, tagged:1, unmodified:2 } | Egress VLAN tagging action on the port. |
| ingress-mirror-to | enum (none | mirror0 | mirror1) { none:0xffffffff, mirror0:0, mirror1:1 } | Analyzer port for port-based ingress mirroring. |
| ingress-mirroring-according-to-vlan | bool | |
| egress-mirror-to | enum (none | mirror0 | mirror1) { none:0xffffffff, mirror0:0, mirror1:1 } | Analyzer port for port-based egress mirroring. |
| qos-scheme-precedence | multi { 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-pcp | num | Default customer PCP of the port. |
| default-service-pcp | num | Default service PCP of the port. |
| pcp-propagation-for-initial-pcp | bool | 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-propagation | bool | Enables 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-mapping | bool | Enables or disables DSCP to internal DSCP mapping on the port. |
| pcp-or-dscp-based-qos-change-dei | bool | Enables or disables PCP or DSCP based DEI change on the port. |
| pcp-or-dscp-based-qos-change-pcp | bool | Enables or disables PCP or DSCP based PCP change on the port. |
| pcp-or-dscp-based-qos-change-dscp | bool | Enables or disables PCP or DSCP based DSCP change on the port. |
| pcp-based-qos-drop-precedence-mapping | object { 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-mapping | object { 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-mapping | object { 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-mapping | object { 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-mapping | object { 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-queue | object { 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-scheduling | object { 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-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) | Custom include to count dropped packets for switch port custom-drop-packet counter. |
| queue-custom-drop-counter0-includes | ubit (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-includes | ubit (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-includes | ubit (ingress-policing, ingress-acl, egress-policing, egress-acl) | Custom include to count dropped packets for switch port policy-drop-packet counter. |
| Argument | Type | Description |
|---|
| 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. |
| 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) | num | Adds 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) | bool | Whether to send ingress packet copy to the mirror-target port. |
| mirror-egress (syscap=switch-mirror-prestera) | bool | Whether 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) | num | Limits the received (ingress) traffic with packet drops. Everything that exceeds the defined limit will be dropped. |
| egress-rate (syscap=switch-rate) | num | Limits the transmitted (egress) traffic. The shaper tries to queue packets that exceed the limit instead of dropping them. |
| storm-rate (syscap=crs_prestera) | num | Amount of broadcast, unknown multicast and/or unknown unicast traffic limited to a percentage of the link speed. |
| limit-unknown-unicasts (syscap=crs_prestera) | bool | Limit unknown unicast traffic on a switch port. |
| limit-unknown-multicasts (syscap=crs_prestera) | bool | Limit unknown multicast traffic on a switch port. |
| limit-broadcasts (syscap=crs_prestera) | bool | Limit broadcast traffic on a switch port. |
| l3-hw-offloading (syscap=crs_prestera) | bool | Layer 3 Hardware Offloading. Hardware routing via this port. Only disables hardware routing from/to this particular port when set to no. |