Showing posts with label Comware. Show all posts
Showing posts with label Comware. Show all posts

Monday, July 20, 2015

Link Aggregation between ProCurve and Comware Switches

Suppose we want to do link aggregation between ports A1-A2 on the ProCurve 5400 side and ports GigabitEthernet 1/0/1 and 1/0/2 on the Comware 5900 side, with all VLANs permitted  and VLAN 100 as the untagged VLAN on the aggregated link. We can configure a static non-protocol link aggregation or a static LACP link aggregation as described below:

1. Configuring a static, non-protocol link aggregation:

On the 5900 Comware side, enter the following commands in system view mode:

interface bridge-aggregation 1
port link-type trunk
port trunk permit vlan all
port trunk pvid vlan 100
quit

interface gigabitethernet 1/0/1
port link-aggregation group 1
quit

interface gigabitethernet 1/0/2
port link-aggregation group 1
quit


On the ProCurve 5400 side, enter the following command in configuration mode:

trunk a1-a2 trk1 trunk

Also the interface trk1 must be untagged for VLAN 100 and tagged for all other VLANs.

For verification, issue the command display link-aggregation verbose in the Comware switch and show trunk in the ProCurve switch.

2. Configuring a static LACP link aggregation:

On the 5900 Comware side, enter the following commands in system view mode:

interface bridge-aggregation 1
port link-type trunk
port trunk permit vlan all
port trunk pvid vlan 100
link-aggregation mode dynamic
quit

interface gigabitethernet 1/0/1
port link-aggregation group 1
quit

interface gigabitethernet 1/0/2
port link-aggregation group 1
quit


On the ProCurve 5400 side, enter the following command in configuration mode:

trunk a1-a2 trk1 lacp

Also the interface trk1 must be untagged for VLAN 100 and tagged for all other VLANs.

For verification, issue the command display link-aggregation verbose in the Comware switch and show lacp in the ProCurve switch.

Wednesday, February 4, 2015

SDN Support in HP ProVision and Comware Switches

In ProCurve Switches, support for OpenFlow is as below:

K/KA.15.10: OpenFlow 1.0 support is added to 3500, 3500yl, 3800, 5400 with V1 and V2 modules, 6200 yl, 6600, 8200 zl with V1 and V2 modules.

WB.15.12: OpenFlow 1.0 support is added to 2920.

K/KA/WB.15.14: OpenFlow 1.3 is supported.

To configure OpenFlow, enter the configuration mode then enter the command openflow. An example of the basic OpenFlow configuration is given below:

configure
     openflow
          controller-id 1 ip 192.168.56.7 controller-interface vlan 192
          instance "vlan10"
          member vlan 10
          controller-id 1
          version 1.3
     enable
     exit


Switches running Comware 7 support OpenFlow 1.3. See the full list at the HP SDN Switches Portfolio. To configure openflow, enter the system view mode and use the command openflow. Below is an example of basic OpenFlow in Comware:

openflow instance 1
          description vlan10
          classification vlan 10
          controller 1 address ip 192.168.56.7
          activate instance


Contrary to the ProCurves, where only 1 VLAN can be assigned to an instance (unless aggregate instance is used), in Comware multiple VLANs can belong to one single instance. The command classification associates VLAN(s) to a given instance.