background image

ip

 

ip-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 to establish TCP connections to the controller. 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 a master/subordinate 
switchover occurs, the switch can use the original route to reconnect to the controller without 
selecting a new route. 

ip

 

local-ip-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 a source port number, the system automatically assigns a source port number during 
connection establishment. 

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. 

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 this option, the controller belongs to 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 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. 

As a best practice, configure a unicast IP address for a controller. Otherwise, an OpenFlow switch 
might fail to establish a connection with the controller. 

As a best practice, configure a unicast source IP address that is the IP address of a port belonging to 
the OpenFlow instance. Otherwise, the OpenFlow switch might fail to establish a connection with 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 connect interval 

Use 

controller connect interval

 to set the reconnection interval for an OpenFlow instance. 

Use 

undo

 

controller connect interval

 to restore the default. 

Syntax 

controller connect interval

 

interval-value

 

undo

 

controller connect interval

 

Содержание S7500E-XS Series

Страница 1: ...H3C S7500E XS Switch Series OpenFlow Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version S7500EXS CMW710 R7178 Document version 6W100 20160118...

Страница 2: ...ne SecPath SecCenter SecBlade Comware ITCMM and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respective...

Страница 3: ...e Bold text represents commands and keywords that you enter literally as shown Italic Italic text represents arguments that you replace with actual values Square brackets enclose syntax choices keywor...

Страница 4: ...TE An alert that contains additional or supplementary information TIP An alert that provides helpful information Network topology icons Convention Description Represents a generic network device such...

Страница 5: ...3C CFP Transceiver Modules Installation Guide Guides you through installing CFP transceiver modules H3C QSFP Transceiver Modules Installation Guide Guides you through installing QSFP transceiver modul...

Страница 6: ...tallation software upgrading and software feature configuration and maintenance documentation Products Solutions Provides information about products and technologies as well as solutions Software Down...

Страница 7: ...nflow controller 7 display openflow flow table 9 display openflow group 14 display openflow instance 16 display openflow meter 19 display openflow summary 20 fail open mode 21 flow entry max limit 22...

Страница 8: ...e the OpenFlow instance If you do not deactivate the OpenFlow instance first the system prompts an error 2 Modify the VLAN configuration or flow table configuration for the OpenFlow instance 3 Use the...

Страница 9: ...openflow instance command If you execute this command multiple times the most recent configuration takes effect Examples Associate OpenFlow instance 1 with a list of VLANs determined by VLAN ID 255 an...

Страница 10: ...s an MPLS L3VPN instance by its name a case sensitive string of 1 to 31 characters If you do not specify this option the controller belongs to the public network Usage guidelines You can specify multi...

Страница 11: ...val to set the connection detection interval for an OpenFlow switch Use undo controller echo request interval to restore the default Syntax controller echo request interval interval value undo control...

Страница 12: ...nce uses another controller In multiple mode the OpenFlow switch simultaneously connects to all controllers If one or more controllers become invalid or disconnected the OpenFlow switch continues to e...

Страница 13: ...id undo datapath id Default The datapath ID of an OpenFlow instance contains the instance ID and the bridge MAC address of the device The lower 16 bits are the instance ID and the upper 48 bits are th...

Страница 14: ...efault Syntax description text undo description Default An OpenFlow instance does not have a description Views OpenFlow instance view Predefined user roles network admin Parameters text Specifies a de...

Страница 15: ...ed 9 SSL policy VRF name Table 1 Command output Field Description Reconnect interval Reconnection interval in seconds for an OpenFlow instance to reconnect to all controllers Echo interval Connection...

Страница 16: ...ntax display openflow instance instance id flow table table id Views Any view Predefined user roles network admin network operator Parameters instance id Specifies an OpenFlow instance by its ID in th...

Страница 17: ...n address 4 4 4 1 mask 255 255 255 255 Experiment Address ID 15 Instruction information Write actions Output interface Tun100 Set field Ethernet destination MAC address 00aa bbaa ccdd Tunnel ID 1000 G...

Страница 18: ...0 flags Flags that the flow entry includes flow_send_rem Sends a flow removed message when the flow entry is removed or expires check_overlap Checks for overlapping flow entries reset_counts Resets f...

Страница 19: ...TCP source port Mask TCP source port and mask TCP destination port Mask TCP destination port and mask UDP source port Mask UDP source port and mask UDP destination port Mask UDP destination port and...

Страница 20: ...ique identifier of an address Table 4 Actions Field Description Drop Drops the matched packet This action is not defined in the OpenFlow specifications Output interface Sends the packet through a spec...

Страница 21: ...ll Not supported Not supported Forwarding the packet out of all ports except the ingress port Controller Not supported Supported Sending the packet to the controller Local Not supported Supported Send...

Страница 22: ...6 Command output Field Description Group count Total number of group entries included in the OpenFlow instance Type Type of the group entry All Executes all buckets in the group This group is used for...

Страница 23: ...id Specifies an OpenFlow instance by its ID in the range of 1 to 4094 If you do not specify a instance ID this command displays details for all OpenFlow instances Examples Display details for all Open...

Страница 24: ...N total VLANs 1 10 Connect mode Multiple MAC address learning Disabled TCP DSCP value 10 Flow table Table ID type 0 MAC IP count 0 Flow entry max limit 65535 Datapath ID 0x0000001234567801 Default tab...

Страница 25: ...he total number of them Connect mode Connection mode of the controller Single The OpenFlow instance connects to only one controller at a time Multiple The OpenFlow instance can simultaneously connect...

Страница 26: ...information for an OpenFlow instance Syntax display openflow instance instance id meter meter id Views Any view Predefined user roles network admin network operator Parameters instance id Specifies an...

Страница 27: ...the drop precedence of the DSCP field in the IP header of the packet Rate Rate value above which the corresponding band applies to packets Burst size Length of the packet or byte burst to consider for...

Страница 28: ...disconnected from the controller and the OpenFlow instance is in secure mode Failed Sa The connection channel is disconnected from the controller and the OpenFlow instance is in standalone mode If th...

Страница 29: ...ame openflow instance 1 Sysname of inst 1 fail open mode standalone flow entry max limit Use flow entry max limit to set the maximum number of entries for the extensibility flow table on an OpenFlow s...

Страница 30: ...most recent configuration takes effect Create flow tables for an OpenFlow instance before you activate the OpenFlow instance The ID you enter for extensibility flow table must be larger than the ID f...

Страница 31: ...the configuration Syntax in band management vlan vlan id to vlan id 1 10 undo in band management vlan Default No inband management VLAN is configured for an OpenFlow instance Views OpenFlow instance v...

Страница 32: ...nstance 1 to support dynamic MAC addresses Sysname system view Sysname openflow instance 1 Sysname of inst 1 mac ip dynamic mac aware mac learning forbidden Use mac learning forbidden to configure Ope...

Страница 33: ...instance view Sysname system view Sysname openflow instance 1 Sysname of inst 1 permit port type member port Use permit port type member port to allow link aggregation member ports to be OpenFlow ins...

Страница 34: ...ance 1 Sysname of inst 1 protocol packet filter slow reset openflow instance controller statistics Use reset openflow instance controller statistics to clear statistics on packets that a controller se...

Страница 35: ...ew Predefined user roles network admin Parameters dscp value Specifies a DSCP value for OpenFlow packets in the range of 0 to 63 Usage guidelines This command takes effect only on OpenFlow packets ove...

Страница 36: ...flow controller 7 display openflow flow table 9 display openflow group 14 display openflow instance 16 display openflow meter 19 display openflow summary 20 F fail open mode 21 flow entry max limit 22...

Отзывы: