16
To refresh all Layer 3 flow entries in the MAC-IP flow table for an OpenFlow instance:
Step Command
1. Enter system view
system-view
2. Enter OpenFlow instance view.
openflow instance
instance-id
3. Refresh all Layer 3 flow entries in the MAC-IP
flow table.
refresh ip-flow
Displaying and maintaining OpenFlow
Execute display commands in any view.
Task Command
Display the detailed information for an OpenFlow
instance.
display openflow instance
[ instance-id ]
Display flow table entries for an OpenFlow instance.
display openflow
instance
instance-id
flow-table
[ table-id ]
Display controller information for an OpenFlow
instance.
display openflow
instance
instance-id
controller
Display group table information for an OpenFlow
instance.
display openflow
instance
instance-id
group
[ group-id ]
Display meter information for an OpenFlow instance.
display openflow instance
instance-id
meter
[ meter-id ]
Display summary OpenFlow instance information.
display openflow summary
OpenFlow configuration example
Network requirements
As shown in Figure 7, perform the following tasks on the switch to enable OpenFlow communication
with the controller in specific VLANs:
• Create OpenFlow instance 1, associate VLANs 4092 and 4094 with the OpenFlow instance,
and activate the OpenFlow instance.
• Configure the controller connected to OpenFlow instance 1 to have the controller manage the
OpenFlow switch.