| Argument | Type | Description |
|---|
| table | enum (ingress | egress) { ingress:0, egress:1 } | |
| invert-match | bool | |
| src-ports | multi { array-id } | |
| dst-ports | multi { array-id } | |
| service-vid | super { !
, service-vid: range [ .. 4095]
} | |
| service-pcp | num | |
| service-dei | num | |
| customer-vid | super { !
, customer-vid: range [ .. 4095]
} | |
| customer-pcp | num | |
| customer-dei | num | |
| src-l3-port | super { !
, src-l3-port: range [ .. 65535]
} | |
| dst-l3-port | super { !
, dst-l3-port: range [ .. 65535]
} | |
| custom-fields | object { custom-field: super { !
, custom-field: super { base: 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 }
, [offset] :num [ .. 127]
, [range] :range [ .. 65535]
, [mask] [ /num [ .. 65535]]
}
}
} | |
| priority | num | |
| drop-precedence | enum (green | yellow | red | drop) | |
| dst-addr-registered | bool | |
| service-tag | enum (untagged | priority-tagged | tagged | tagged-or-priority-tagged) { untagged:0, priority-tagged:1, tagged:2, tagged-or-priority-tagged:3 } | |
| customer-tag | enum (untagged | priority-tagged | tagged | tagged-or-priority-tagged) { untagged:0, priority-tagged:1, tagged:2, tagged-or-priority-tagged:3 } | |
| mac-src-address | super { address: macAddr
, [mask] [ /macAddr]
} | |
| mac-dst-address | super { address: macAddr
, [mask] [ /macAddr]
} | |
| mac-protocol | alt { protocol-name: enum (ip-or-ipv6 | non-ip) { ip-or-ipv6:0x10000, non-ip:0x10001 }
, protocol-number: num [ .. 65535]
} | |
| lookup-vid | num | |
| ip-protocol | enum (tcp | udp | udp-lite | other) { tcp:0, udp:1, udp-lite:2, other:3 } | |
| fragmented | bool | |
| first-fragment | bool | |
| ttl | enum (0 | 1 | max | other) { 0:0, 1:1, max:2, other:3 } | |
| ip-dst | composite { address: ipAddr
, netmask: [ num [ .. 32]]
} | |
| ip-src | composite { address: ipAddr
, netmask: [ num [ .. 32]]
} | |
| dscp | num | |
| ecn | num | |
| ipv6-dst | ip6Prefix | |
| ipv6-src | ip6Prefix | |
| mac-isolation-profile | enum (promiscuous | isolated | community1 | community2) { promiscuous:0, isolated:1, community1:2, community2:3 } | |
| src-mac-addr-state | enum (sa-found | sa-not-found | dynamic-station-move | static-station-move) { sa-found:0, sa-not-found:1, dynamic-station-move:2, static-station-move:3 } | |
| flow-id | num | |
| action | enum (forward | redirect-to-cpu | copy-to-cpu | send-to-new-dst-ports | drop) { forward:0, redirect-to-cpu:1, copy-to-cpu:2, send-to-new-dst-ports:3, drop:7 } | |
| new-dst-ports | multi { 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) { mirror0:0, mirror1:1 } | |
| 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 (green | yellow | red | drop) | |
| policer | enum | |