background image

 

Predefined user roles 

network-admin 

Parameters 

controller-id

: Specifies a controller by its ID in the range of 0 to 63. 

ip

 

ipv4-address

: Specifies the IPv4 address of the controller. 

ipv6

 

ipv6-address

: Specifies the IPv6 address of the controller. 

port

 

port-number

: Sets the port number used by the controller to establish TCP connections to 

the OpenFlow switch. The value range for the port number is 1 to 65535. The default value is 6633. 

local address

: Specifies the source IP address used to establish  TCP  connections to the 

controller. When multiple routes are available between a controller and a switch, you can use this 
keyword to configure a source IP address  for the switch. When the switch restarts or an 
active/standby switchover occurs, the switch can use the original route to reconnect to the controller 
without selecting a new route. 

ip

 

local-ipv4-address

: Specifies the source IPv4 address. 

ipv6

 

local-ipv6-address

: Specifies the source IPv6 address. 

port

 

local-port-number

: Specifies the source port number in the range of 1 to 65535. If you 

do not specify this option, the system automatically assigns a source port number for establishing the 
main connection to the controller. 

ssl ssl-policy-name

: Specifies the SSL client policy that the controller uses to authenticate the 

OpenFlow switch. The 

ssl-policy-name

  argument is a case-insensitive string of 1 to 31 

characters. You must configure  a separate SSL client policy for the main connection to each 
controller. 

vrf

 

vrf-name

: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 

characters. If you do not specify a VRF name, the controller is in the public network.  

Usage guidelines 

You can specify multiple controllers for an OpenFlow switch. The OpenFlow channel between the 
OpenFlow switch and each controller can have only one main connection. 

The main connection must be a reliable TCP or SSL connection.  The  OpenFlow switch uses the 
main connection to a controller  to exchange control messages with the  controller to perform the 
following operations: 

 

Receive flow table entries or data from the controller. 

 

Report information to the controller. 

Examples 

# Specify controller 1 for OpenFlow instance 1. The controller's IP address is 1.1.1.1 and the port 
number is 6666. 

<Sysname> system-view 

[Sysname] openflow instance 1 

[Sysname-of-inst-1] controller 1 address ip 1.1.1.1 port 6666 

controller auxiliary 

Use 

controller auxiliary

 to specify a controller for an OpenFlow switch and configure an 

auxiliary connection to the controller. 

Use 

undo

 

controller auxiliary

 to delete the specified auxiliary connection to the specified 

controller. 

Summary of Contents for S6890 Series

Page 1: ...H3C S6890 Switch Series OpenFlow Command Reference New H3C Technologies Co Ltd http www h3c com Software version Release 3606 Document version 6W100 20201225...

Page 2: ...H3C Technologies Co Ltd any trademarks that may be mentioned in this document are the property of their respective owners Notice The information in this document is subject to change without notice A...

Page 3: ...ptional x y Braces enclose a set of required syntax choices separated by vertical bars from which you select one x y Square brackets enclose a set of optional syntax choices separated by vertical bars...

Page 4: ...s a Layer 2 or Layer 3 switch or a router that supports Layer 2 forwarding and other Layer 2 features Represents an access controller a unified wired WLAN module or the access controller engine on a u...

Page 5: ...Documentation feedback You can e mail your comments about product documentation to info h3c com We appreciate your comments...

Page 6: ...low auxiliary 9 display openflow flow table 11 display openflow group 16 display openflow instance 17 display openflow meter 19 display openflow summary 21 fail open mode 22 flow entry max limit 22 fl...

Page 7: ...e instance take effect After an OpenFlow instance is reactivated it disconnects from all controllers clears the deployed flow tables updates the capability set and then reconnects to controllers Examp...

Page 8: ...multiple times the most recent configuration takes effect Examples Enable the global mode for OpenFlow instance 1 Sysname system view Sysname openflow instance 1 Sysname of inst 1 classification glob...

Page 9: ...ecifies the SSL client policy that the controller uses to authenticate the OpenFlow switch The ssl policy name argument is a case insensitive string of 1 to 31 characters You must configure a separate...

Page 10: ...oller port port number Sets the port number used to establish TCP connections to the controller The value range for the port number is 1 to 65535 The default value is 6633 Usage guidelines Auxiliary c...

Page 11: ...val to set the connection detection interval Use undo controller echo request interval to restore the default Syntax controller echo request interval interval undo controller echo request interval Def...

Page 12: ...ommunication with the current controller fails the OpenFlow instance attempts to reconnect to another controller until a connection is successfully established Examples Set all controllers of OpenFlow...

Page 13: ...s permit undo default table miss permit Default The default action of a table miss flow entry is to drop packets Views OpenFlow instance view Predefined user roles network admin Examples Configure the...

Page 14: ...its ID in the range of 1 to 4094 controller id Specifies a controller by its ID in the range of 0 to 63 If you do not specify a controller ID this command displays information about all controllers fo...

Page 15: ...the OpenFlow instance If the controller is not configured with any role this field displays two hyphens Connect type Type of the connection between the OpenFlow instance and the controller TCP or SSL...

Page 16: ...ontroller port 6633 Connect type TCP Connect state Established Packets sent 9 Packets received 9 SSL policy Table 2 Command output Field Description Auxiliary connection number Total number of auxilia...

Page 17: ...ce 100 Sysname display openflow instance 100 flow table Instance 100 flow table information Table 0 information Table type MAC IP flow entry count 1 total flow entry count 2 MissRule default Flow entr...

Page 18: ...IP or Extensibility flow entry count Number of flow entries deployed by the controller total flow entry count Total number of flow entries in the table Flow entry information Information about the flo...

Page 19: ...mediately clears all actions in the action set Apply actions Immediately applies specified actions in the action set Write actions Writes specified actions into the current action set For more informa...

Page 20: ...k IPv6 destination address IPv6 destination address mask Destination IPv6 address and mask IPv6 flow label Mask IPv6 flow label and mask ICMPv6 type N A ICMPv6 type ICMPv6 code N A ICMPv6 code IPv6 ND...

Page 21: ...packet Pop MPLS tag Removes the outermost MPLS tag from the packet Push PBB tag Adds a PBB service tag to the packet Pop VLAN tag Removes the outermost VLAN tag from the packet Pop PBB tag Removes the...

Page 22: ...n for OpenFlow instance 100 Sysname display openflow instance 100 group Instance 100 group table information Group count 2 Group entry 103 Type All byte count 55116 packet count 401 Bucket 1 informati...

Page 23: ...ects whether this bucket is live watch group Group whose state affects whether this bucket is live Output interface Output interface included in the group entry Referenced information Information abou...

Page 24: ...2 IP address 192 168 43 49 port 6633 Table 8 Command output Field Description Configuration information Information about the configuration Description Description of the OpenFlow instance Active sta...

Page 25: ...rrent software version Whether the OpenFlow instance is enabled to perform QinQ tagging for double tagged packets passing an extensibility flow table Disabled Enabled TCP connection backup Whether Ope...

Page 26: ...0 packet count 0 Referenced information Count 3 Flow table 0 Flow entry 1 2 3 Meter entry 200 information Meter flags KBPS Band 1 information Type drop rate 10240 burst size 655360 Byte count 0 packe...

Page 27: ...display openflow instance summary Views Any view Predefined user roles network admin network operator Examples Display brief OpenFlow instance information Sysname display openflow summary Fail open m...

Page 28: ...fail open mode to set the connection interruption mode for an OpenFlow switch Use undo fail open mode to restore the default Syntax fail open mode secure standalone undo fail open mode Default The con...

Page 29: ...flow table to restore the default Syntax flow table extensibility extensibility table id 1 n mac ip mac ip table id undo flow table Default An OpenFlow instance has an extensibility flow table with ID...

Page 30: ...controllers Views OpenFlow instance view Predefined user roles network admin Parameters l3 physical interface Specifies Layer 3 Ethernet interfaces and Layer 3 aggregate interfaces that belong to an O...

Page 31: ...first execute the undo form of the command to delete the existing SSL server configuration Examples Configure OpenFlow instance 1 to act as an SSL server to listen to controllers The listening port n...

Page 32: ...ning forbidden Default MAC address learning is allowed for VLANs associated with an OpenFlow instance Views OpenFlow instance view Predefined user roles network admin Examples Forbid MAC address learn...

Page 33: ...ployed flow tables cannot include link aggregation member ports Views OpenFlow instance view Predefined user roles network admin Examples Configure OpenFlow instance 1 to allow the deployed flow table...

Page 34: ...er to restore the default Syntax protocol packet filter slow undo protocol packet filter Default An OpenFlow instance does not drop slow protocol packets Views OpenFlow instance view Predefined user r...

Page 35: ...ies a controller by its ID in the range of 0 to 63 If you do not specify a controller ID this command clears statistics on packets that all controllers send and receive for an OpenFlow instance listen...

Page 36: ...30 Examples Set the DSCP value to 63 for OpenFlow packets Sysname system view Sysname openflow instance 1 Sysname of inst 1 tcp dscp 63...

Reviews: