Add VLANs as members to OpenFlow instance

Syntax


openflow instance <instance-name> member vlan <VLAN-ID-LIST>
no openflow instance <instance-name> member vlan <VLAN-ID-LIST>

Add member VLANs to an OpenFlow instance. An aggregate instance is a special OpenFlow instance that includes all the VLANs on the switch except the management VLAN and controller VLAN.

<instance-name>

OpenFlow instance name.

<VLAN-ID-LIST>

List of VLANs that are added as member VLAN for an OpenFlow instance.

OpenFlow instance member VLAN

switch(config)# openflow instance <t1> member vlan 4,45-90,120
switch(config)# show running-config
Running configuration:
; J9850A Configuration Editor; Created on release #KB.15.17.0000x
; Ver #07:ff.f7.fc.7f.ff.3f.ef:a3
hostname "switch-name"
module A type j9992a
module F type j9986a
snmp-server community "public" unrestricted openflow
controller-id 1 ip 10.20.30.42 controller-interface vlan 2
 instance "t1"
  listen-port
  member vlan 3,5-7,10,20,30
  controller-id 1
  version 1.3 only
  flow-location hardware-only
  pipeline-model custom
  enable
  exit
enable
  exit

oobm
 ip address dhcp-bootp
 exit

vlan 1
 name "DEFAULT_VLAN"
 no untagged A1-A4,F23
 untagged A5-A21,F1-F22,F24
 ip address
 exit

vlan 2
 name "VLAN2"
 untagged F23
 ip address 10.20.30.40 255.255.255.0
 exit

vlan 3
 name "VLAN3"
 untagged A1-A4
 no ip address
 exit

vlan 5
 name "VLAN5"
 no ip address
 exit

vlan 6
 name "VLAN6"
 no ip address
 exit

vlan 10
 name "VLAN10"
 no ip address
 exit

vlan 30
 name "VLAN30"
 no ip address
 exit
no allow-v2-modules

switch(config)# show openflow
OpenFlow                                        : Enabled
EgressOnly Ports Mode            : Disabled

Instance Information

                                               No. of      No. of      OpenFlow
Instance Name                   Oper. Status   H/W Flows   S/W Flows   Version
-----------------------------   ------------   ----------   ---------   --------
t1                               Up            4             0          1.3 only