17 
Figure 7 Network diagram 
 
Configuration procedure 
# Create VLANs 4092 and 4094. 
<Switch> system-view 
[Switch] vlan 4092 
[Switch-vlan4092] port gigabitethernet 1/0/1 
[Switch-vlan4092] quit 
[Switch] vlan 4094 
[Switch-vlan4094] port gigabitethernet 1/0/2 
[Switch-vlan4094] quit 
# Create OpenFlow instance 1 and associate VLANs with it. 
[Switch] openflow instance 1 
[Switch-of-inst-1] classification vlan 4092 mask 4093 loosen 
# Specify the IP address for controller 1 as 192.168.49.49 and activate the OpenFlow instance. 
[Switch-of-inst-1] controller 1 address ip 192.168.49.49 
[Switch-of-inst-1] active instance 
Verifying the configuration 
# Display the detailed information for OpenFlow instance 1. 
[Switch-of-inst-1] display openflow instance 1 
Instance 1 information:                                                  
 
Configuration information:                                                       
 Description   : --                                                              
 Active status : Active                                                          
 Inactive configuration:                                                         
  None                                                                           
 Active configuration:                                                           
  Classification VLAN, loosen mode, total VLANs(2)                               
   4092, 4094                                                                    
  In-band management VLAN, total VLANs(0)                                        
   Empty VLAN                                                                    
  Connect mode: Multiple                                                         
  Mac address learning: Enabled                                                   
  Flow table:                                                                    
   Table ID(type): 0(Extensibility), count: 0