Openflow Configuration Example; Network Requirements; Configuration Procedure - H3C S5830V2 Series Configuration Manual

Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

Task
Display controller information for an OpenFlow
instance.
Display group table information for an OpenFlow
instance.
Display meter information for an OpenFlow instance.
Display summary OpenFlow instance information.

OpenFlow configuration example

Network requirements

As shown in
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.
<Switch> system-view
[Switch] vlan 4092
[Switch-vlan4092] quit
[Switch] vlan 4094
[Switch-vlan4092] quit
# Create OpenFlow instance 1 and associate VLANs with it.
[Switch] openflow instance 1
[Switch-of-inst-1] classification vlan 4092 mask 4093
# Specify a controller for the OpenFlow instance and activate the instance.
[Switch-of-inst-1] controller 1 address ip 192.168.49.49
[Switch-of-inst-1] active instance
Figure
7, perform the following tasks on the switch to enable OpenFlow communication with
Command
display openflow instance instance-id controller
display openflow instance instance-id group
[ group-id ]
display openflow instance instance-id meter
[ meter-id ]
display openflow summary
12

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents