# ether type vlan ip protocol 1 accept [ { "match": { "left": { "payload": { "field": "type", "protocol": "ether" } }, "op": "==", "right": "8021q" } }, { "match": { "left": { "payload": { "field": "protocol", "protocol": "ip" } }, "op": "==", "right": 1 } }, { "accept": null } ] # ether type 8021ad vlan id 1 ip protocol 6 accept [ { "match": { "left": { "payload": { "field": "type", "protocol": "ether" } }, "op": "==", "right": "8021ad" } }, { "match": { "left": { "payload": { "field": "id", "protocol": "vlan" } }, "op": "==", "right": 1 } }, { "match": { "left": { "payload": { "field": "protocol", "protocol": "ip" } }, "op": "==", "right": 6 } }, { "accept": null } ] # ether type 8021ad vlan id 1 vlan type 8021q vlan id 2 vlan type ip counter [ { "match": { "left": { "payload": { "field": "type", "protocol": "ether" } }, "op": "==", "right": "8021ad" } }, { "match": { "left": { "payload": { "field": "id", "protocol": "vlan" } }, "op": "==", "right": 1 } }, { "match": { "left": { "payload": { "field": "type", "protocol": "vlan" } }, "op": "==", "right": "8021q" } }, { "match": { "left": { "payload": { "field": "id", "protocol": "vlan" } }, "op": "==", "right": 2 } }, { "match": { "left": { "payload": { "field": "type", "protocol": "vlan" } }, "op": "==", "right": "ip" } }, { "counter": null } ] # ether type 8021ad vlan id 1 vlan type 8021q vlan id 2 vlan type ip ip protocol 6 [ { "match": { "left": { "payload": { "field": "type", "protocol": "ether" } }, "op": "==", "right": "8021ad" } }, { "match": { "left": { "payload": { "field": "id", "protocol": "vlan" } }, "op": "==", "right": 1 } }, { "match": { "left": { "payload": { "field": "type", "protocol": "vlan" } }, "op": "==", "right": "8021q" } }, { "match": { "left": { "payload": { "field": "id", "protocol": "vlan" } }, "op": "==", "right": 2 } }, { "match": { "left": { "payload": { "field": "protocol", "protocol": "ip" } }, "op": "==", "right": 6 } } ]