FDB Aging and ECMP with OpenFlow
Static Flow Examples
© Copyright Lenovo 2016
When a port membership changes, the egress bitmap of static entries with
redirect output FlOOD/ANY will be updated.
You can enable FDB aging in OpenFlow using the following commands:
RS G8264(config)# interface port <port number>
RS G8264(configif)# openflow fdbaging
To enable Layer 2 ECMP for OpenFlow station moves, use the following
commands:
RS G8264(config)# interface port <port number>
RS G8264(configif)# openflow staticstationmove
Following are examples of static flow entries for OpenFlow 1.0:
Basic ACL flow:
RS G8264(configopenflowinstance)# statictable add index 1 match
ingressport=1 actions output=10 priority 12345
Flow with multiple qualifiers and actions:
RS G8264(configopenflowinstance)# statictable add index 2 match
vlanid=1,dstmac=00:00:00:00:00:01 actions
setvlanpriority=3,output=20 priority 1000
Flow with action: output to controller:
RS G8264(configopenflowinstance)# statictable add index 3 match all
actions output=controller options maxlen=65534 priority 1000
Static ACL flow entries can be deleted using the command:
RS G8264(configopenflowinstance)# statictable remove index <index number>
Following are examples of static flow entries for OpenFlow 1.3:
Basic ACL flow:
RS G8264(configopenflowinstance)# statictable add index 1 match
inport=41 actions output=50 priority 12345
Flow with multiple qualifiers and actions:
RS G8264(configopenflowinstance)# statictable add index 2 match
vlanvid=1,ethdst=00:00:00:00:00:01 actions setvlanpcp=3,output=50
priority 1000
271
Chapter 15: OpenFlow