Deployment Guide

98
Maximum number of entries for this table = 32767
Number of entries actually found = 0
ACL Policy Table (60) Flow Entries
----------------------------------
Number of entries reported = 0
Maximum number of entries for this table = 7680
Number of entries actually found = 0
What this flow does in he switch, is to say that anything coming into port 2 on VLAN 10 should be
forwarded on via the GOTO TABLE statement to the Termination MAC table, table ID 20,
C.3 Step 2 - Set up a Group Entry
The script below shows the JSON code that is used to create the second flow, in the Group table:
{
“group_mod":
{
"_name" : "l2_0xa0005",
"_description" : "Description",
"cmd" : "add",
"type" : "indirect",
"group_id" : "0xa0005",
"buckets":
[{
"weight" : "0",
"watch_port" :"any",
"watch_group" :"any",
"actions" : [{ "output": { "port":"5" }}]
}]
}
}
Use the same steps described in installing and verifying the VLAN flow to install this group flow which
forwards any frame coming into any port on the switch on VLAN 10, coming through the termination MAC
data path, should be sent out port 5.
C.4 Step 3 - Set up a Bridging Flow
The script below shows the JSON code that is used to create the third flow, in the bridging table
{
“flow_mod":
{
"_name" : "Bridging",
"_description" : "Description",
"table" : "bridging",
"cmd" : "add",
"mask" : "0",
"port" : "any",
"group" : "any",
"match":
{
"vlan_vid" : "10, 0x1fff",
"eth_dst" :"00:01:02:03:04:05",
"eth_dst_mask" :"ff:ff:ff:ff:ff:ff"
},
"instructions":
[{
"write": [{"actions": [{ "group": { "group_id":"0xa0005" }}]}]
},
{
"goto": {"table":"acl"}
}]
}
}
Once again, use the same steps described in installing and verifying the previous 2 flows with Postman to
install this 3
rd
flow that takes traffic on VLAN 10 coming into the bridging table and forwards it to the last
table, ACL/Policy, where it egresses the switch on port 5. This gets an end to end flow from an ingress of
port 2 to an egress of port 5.