beautypg.com

Openflow configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S5120 Series Switches User Manual

Page 19

background image

13

Task Command

Remarks

Display the detailed information for
an OpenFlow instance.

display openflow instance [ instance-id ]

Available in any view

Display flow table entries for an
OpenFlow instance.

display openflow instance instance-id
flow-table [ table-id ]

Available in any view

Display controller information for
an OpenFlow instance.

display openflow instance instance-id
controller

Available in any view

Display group table information for
an OpenFlow instance.

display openflow instance instance-id group
[ group-id ]

Available in any view

Display meter information for an
OpenFlow instance.

display openflow instance instance-id meter
[ meter-id ]

Available in any view

Display summary OpenFlow
instance information.

display openflow summary

Available in any view

OpenFlow configuration example

Network requirements

As shown in

Figure 7

, perform the following configuration 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's IP address to have the controller manage the OpenFlow switch.

Figure 7 Network diagram

Configuration procedure

# Create VLANs 4092 and 4094.

system-view

[Switch] vlan 4092

[Switch-vlan4092] quit

[Switch] vlan 4094

[Switch-vlan4092] quit

# Create OpenFlow instance 1 and associate VLANs with it.