HP 5900 series Command Reference Manual

Rack mount switch
Hide thumbs Also See for 5900 series:

Advertisement

HP 5920 & 5900 Switch Series
OpenFlow

Command Reference

Part number: 5998-4679a
Software version: Release 23xx
Document version: 6W101-20150320

Advertisement

Table of Contents
loading

Summary of Contents for HP 5900 series

  • Page 1: Command Reference

    HP 5920 & 5900 Switch Series OpenFlow Command Reference Part number: 5998-4679a Software version: Release 23xx Document version: 6W101-20150320...
  • Page 2 The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.
  • Page 3: Table Of Contents

    ································································································································· 20   mac-learning forbidden ········································································································································ 21   openflow instance ················································································································································· 21   Support and other resources ······································································································································· 1   Contacting HP ··································································································································································· 1   Subscription service ················································································································································· 1   Related information ··························································································································································· 1   Documents ································································································································································· 1  ...
  • Page 4: Openflow Commands

    OpenFlow commands In this chapter, an OpenFlow switch is the same as an OpenFlow instance, unless otherwise specified. active instance Use active instance to activate or reactivate an OpenFlow instance. Syntax active instance Default An OpenFlow instance is not activated. Views OpenFlow instance view Predefined user roles...
  • Page 5: Controller Address

    Predefined user roles network-admin Parameters vlan-id: Specifies the VLAN ID in the range of 1 to 4094. vlan-mask: Specifies a VLAN mask in the range of 0 to 4095. The default value is 4095. loosen: Specifies the loosen mode for the OpenFlow instance-VLAN association. If the loosen mode is used, a port belongs to the OpenFlow instance when VLANs associated with the OpenFlow instance overlap with the port's allowed VLANs.
  • Page 6: Controller Connect Interval

    port port-number: Sets the port number used to establish TCP connections to the controller. The value range of the port number is 1 to 65535. The default value is 6633. ssl ssl-policy-name: Specifies the SSL client policy that the controller uses to authenticate the OpenFlow switch.
  • Page 7: Controller Echo-Request Interval

    [Sysname] openflow instance 1 [Sysname-of-inst-1] controller connect interval 10 controller echo-request interval Use controller echo-request interval to set the connection detection interval for an OpenFlow switch. The connection detection interval specifies the interval at which the OpenFlow switch sends an Echo Request message to a controller.
  • Page 8: Datapath-Id

    Parameters multiple: Configures the controller mode as multiple for the OpenFlow instance to establish connections to controllers. single: Configures the controller mode as single for the OpenFlow instance to establish connections to controllers. Usage guidelines An OpenFlow instance can connect to one or more controllers, depending on the controller mode the OpenFlow instance uses: Single—The OpenFlow instance connects to only one controller at a time.
  • Page 9: Description

    description Use description to set a description for an OpenFlow instance. Use undo description to restore the default. 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 description for the OpenFlow instance, a case-insensitive string of 1 to 255 characters and must start with an English letter.
  • Page 10: Display Openflow Flow-Table

    Examples # Display controller information for OpenFlow instance 10. <Sysname> display openflow instance 10 controller Instance 10 controller information: Reconnect interval: 60 (s) Echo interval Controller ID Controller IP address : 192.168.49.49 Controller port : 6633 Controller role : -- Connect type : TCP Connect state...
  • Page 11 Syntax 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 ID in the range of 1 to 4094. table-id: Specifies a flow table ID in the range of 0 to 254. Usage guidelines If you do not specify the flow table ID, the command displays information about all flow tables for the specified OpenFlow instance.
  • Page 12 MissRule Flow entry information: cookie: 0x0, priority: 0, hard time: 0, idle time: 0, flags: none, byte count: --, packet count: 60 Match information: any Instruction information: Write actions: Drop Flow entry 1 information: cookie: 0x0, priority: 0, hard time: 0, idle time: 0, flags: flow_send_rem |check_overlap, byte count: --, packet count: 1 Match information: Input interface: XGE1/0/3...
  • Page 13 Field Description packet count Number of packets that have matched the flow entry. Match information Contents in the Match field of the flow entry (see Table Contents in the Instruction field of the flow entry: • Set meter—Sends the matched packet to a specified meter. •...
  • Page 14: Display Openflow Group

    Match field Match field mask Description ARP source MAC address Sender MAC address and mask in the ARP ARP source MAC address mask payload. IPv6 source address IPv6 source address mask Source IPv6 address and mask. IPv6 destination address IPv6 destination address Destination IPv6 address and mask.
  • Page 15 Predefined user roles network-admin network-operator Parameters instance-id: Specifies an OpenFlow instance by its ID in the range of 1 to 4094. group-id: Specifies a group entry by its ID in the range of 0 to 4294967040. If this argument is not specified, the command displays information about all group entries of the OpenFlow instance.
  • Page 16: Display Openflow Instance

    Number of bytes processed by the action bucket. Two hyphens (--) are Byte count displayed when the field is not supported. Number of packets processed by the action bucket. Two hyphens (--) are packet count displayed when the field is not supported. watch port Ports that affect the action bucket status.
  • Page 17 In-band management VLAN, total VLANs(0) empty VLAN Connect mode: multiple Mac-address learning: Enabled Flow table: Table ID(type): 0(MAC-IP), count: 0 Flow-entry max-limit: 65535 Datapath ID: 0x0000001234567891 Port information: Ten-GigabitEthernet1/0/3 Active channel information: Controller 1 IP address: 192.168.49.49 port: 6633 Controller 2 IP address: 192.168.43.49 port: 6633 Table 7 Command output Field...
  • Page 18: Display Openflow Meter

    Field Description Brief information of controllers which have established connections to the Controller id IP address: port: OpenFlow instance. This field is displayed only when the OpenFlow instance has established connections to controllers. Connection interruption mode when the OpenFlow instance is disconnected from all controllers (this field is displayed only when the OpenFlow instance is disconnected from all controllers): •...
  • Page 19: Display Openflow Summary

    Flow entry: 1, 2, 3 Meter entry 200 information: Meter flags: KBPS Band 1 information Type: drop, rate: 10240, burst size: 655360 Byte count: --, packet count: 0 Referenced information: Count: 0 Table 8 Command output Field Description meter entry count Total number of meter entries included in the OpenFlow instance.
  • Page 20 Views Any view Predefined user roles network-admin network-operator Examples # Display summary information about OpenFlow instances. <Sysname> display openflow summary Fail Open mode: Se -- secure mode, Sa -- standalone mode Reactive flags: Y -- Need active instance, N -- Needn't active instance Status Datapath-ID Channel...
  • Page 21: Fail-Open Mode

    fail-open mode Use 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 connection interruption mode is secure, and the controller deploys the table-miss flow entry (the action is Drop) to the OpenFlow instance.
  • Page 22: Flow-Table

    Parameters limit-value: Specifies the maximum number of flow entries, in the range of 1 to 65535. Examples # Configure OpenFlow instance 1 to include up to 256 entries in each extensibility flow table. <Sysname> system-view [Sysname] openflow instance 1 [Sysname-of-inst-1] flow-entry max-limit 256 flow-table Use flow-table to configure a flow table for an OpenFlow instance.
  • Page 23: Mac-Ip Dynamic-Mac Aware

    Use undo in-band management vlan to restore the default. Syntax in-band management vlan vlan-list undo in-band management vlan Default No inband management VLAN is configured. Views OpenFlow instance view Predefined user roles network-admin Parameters vlan-list: Specifies a list of VLANs in the format of vlan-list = { vlan-id1 [ to vlan-id2 ] }&<1- 1 0>, where vlan-id1 and vlan-id2 are both in the range of 1 to 4094, vlan-id2 cannot be smaller than vlan-id1, and &<1- 1 0>...
  • Page 24: Mac-Learning Forbidden

    When this command is configured, the OpenFlow switch does not send change events for the dynamic MAC addresses to controllers. Examples # Configure OpenFlow instance 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 disable MAC address learning for the VLANs associated with an OpenFlow instance.
  • Page 25 Predefined user roles network-admin Parameters instance-id: Specifies an OpenFlow instance by its ID in the range of 1 to 4094. Examples # Create OpenFlow instance 1, and enter the OpenFlow instance view. <Sysname> system-view [Sysname] openflow instance 1 [Sysname-of-inst-1]...
  • Page 26: Support And Other Resources

    Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
  • Page 27: Conventions

    HP Education http://www.hp.com/learn • Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values.
  • Page 28 Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
  • Page 29: Index

    Index A C D F I M O S W active instance,1 fail-open mode,18 flow-entry max-limit,18 flow-table,19 classification vlan,1 controller address,2 controller connect interval,3 in-band management vlan,19 controller echo-request interval,4 controller mode,4 mac-ip dynamic-mac aware,20 mac-learning forbidden,21 datapath-id,5 description,6 openflow instance,21 display openflow controller,6...

This manual is also suitable for:

5920 series

Table of Contents