background image

 

15 

Field 

Mask field 

Description 

example, DHCP. 

 

Tag

—Tag of a route. 

 

Table 5 Actions 

Field 

Description 

Drop 

Drops the matched packet. This action is not defined in the OpenFlow 
specifications. 

Output interface 

Sends the packet through a specific port. For more information about ports, see 

Table 6

. 

send length 

Specifies the max length of bytes to be taken from the packet and sent to the 
controller. 

This field appears only when the reserved port of the controller type is specified as 
the output port. 

Group 

Specifies a group table to process the packet. 

Set queue 

Maps the flow entry to a queue specified by its ID. 

Set field 

Modifies a field of the packet. 

Set MPLS TTL 

Sets the MPLS TTL. 

Set IP TTL 

Sets the IP TTL. 

Push VLAN tag 

Adds a VLAN tag to the packet. 

Push MPLS tag 

Adds an MPLS tag to the 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 outermost PBB service tag from the packet. 

Decrement MPLS TTL 

Decreases the MPLS TTL by 1. 

Decrement IP TTL 

Decreases the IP TTL by 1. 

Copy TTL inwards 

Copies the TTL from the outermost header to the second outermost header. 

Copy TTL outwards 

Copies the TTL from the second outermost header to the outermost header. 

 

Table 6 Ports 

Port name 

Ingress port 

Output port 

Description 

Normal 

Not supported. 

Supported. 

Processing the packet by using the normal 
forwarding process. 

Flood 

Not supported. 

Supported. 

Flooding the packet. 

All 

Not supported. 

Supported. 

Forwarding the packet out of all ports.  

Controller 

Supported. 

Supported. 

Sending the packet to the controller. 

Local 

Supported. 

Supported. 

Sending the packet to the local CPU. 

port name 

Supported. 

Supported. 

Valid physical or logical port on the switch. 

 

Содержание S6890 Series

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 5: ...Documentation feedback You can e mail your comments about product documentation to info h3c com We appreciate your comments...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: