Go to main content
Oracle Hardware Certification Test Suite 5.8

Exit Print View

Updated: November 2016
 
 

Link Aggregation Test Case

The Link Aggregation test case is designed to test the data transmit/receive functionality in Link Aggregation mode.

The Link Aggregation test case running environment can be schematically represented as shown in the following figure.

Figure 12  Link Aggregation Test Case

image:Schematic representation of Link Aggregation Test Case

To Set Up a Link Aggregation Test Case

Before You Begin

  • Ensure that the versions of System Under Test and Test Manager is higher than Oracle Solaris 11.1.

  • While Link Aggregation test case is running, the user needs to unplug one data link cable of the link aggregation from the switch port manually at a random time.

  • Besides setting up the SUT and TM in manual mode for network certification, the user also needs to write the /opt/SUNWhcts/etc/switch.conf file before starting the test case.

  1. Configure the switch by executing the following steps.
    1. Setup three VLANs: VLAN1, VLAN2 and VLAN3 on the switch, and ensure that each VLAN includes three switch ports.
    2. Assign an IP address to VLAN1. Select one switch port of VLAN1 as administrator port and connect it to SUT.
    3. Set the two ports which connect to NET1 and NET2 of SUT into one port-channel in VLAN2, and set the two ports which connect to NET3 and NET4 of SUT into one port-channel in VLAN3.
  2. Configure the Test Manager by executing the following steps.
    1. Setup the TM in manual mode. Select two links NET0 and NET1 as test links, and assign the IP address to each link by the TM.
    2. Connect NET0 to the port of VLAN2, and NET1 to the port of VLAN3.
  3. Configure the System Under Test by executing the following steps.
    1. Setup the SUT in manual mode. Select five links NET0, NET1, NET2, NET3 and NET4 as test links, bind NET1 and NET2 as LAG0, bind NET3 and NET4 as LAG1, and assign IP address to LAG0 and LAG1. For more information about link aggregation in Oracle Solaris, please refer to the Overview of Link Aggregations section in the Oracle Solaris Administration: Network Interfaces and Network Virtualization guide.
    2. Save the test type, NET0 and NET1 IP address of TM into /opt/SUNWhcts/etc/switch.conf file respectively.
    3. Connect NET0 to the port of VLAN1, NET1 and NET2 to the ports of VLAN2, NET3 and NET4 to the ports of VLAN3.
Example 6  

The following example displays how to set up Link Aggregation test case.

  1. For a switch, there are three VLANS: VLAN1, VLAN2 and VLAN3:

         . show vlan
          VLAN Name                         Status    Ports
          ---- -------------------------------- --------- ---------------------
          ... ...
          5    VLAN1                        active    Gi1/1, Gi1/2
          30   VLAN2                        active    Gi1/11, Gi1/12
          40   VLAN3                        active    Gi1/21, Gi1/22
          The switch administration port IP address for VLAN1:
    
          .show int vlan 5
          Vlan5 is up, line protocol is up
            Hardware is Ethernet SVI, address is c471.fe8b.9bff (bia c471.fe8b.9bff)
            Internet address is 192.168.1.10/24
            MTU 9198 bytes, BW 1000000 Kbit, DLY 10 usec,
            ... ...
           The link aggregation configuration:
    
           .show etherchannel summary
           ... ...
           Group  Port-channel  Protocol    Ports
           ------+-------------+-----------+-----------------------------------
           1      Po1(SD)         LACP      Gi1/11(D)   Gi1/12(D)
           ... ...
  2. For SUT, there are three links net0, lag0, and lag1 which has to be configured as test links.

    root@solairs:~# ifconfig -a
            net0: flags=100001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 1500 index 5
                    inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255
                    ether 0:10:e0:46:5c:f9
            lag0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 12
                    inet 192.168.10.10 netmask ffffff00 broadcast 192.168.10.255
                    ether 0:10:e0:46:5c:f9
            lag1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 13
                    inet 192.168.11.10 netmask ffffff00 broadcast 192.168.11.255
                    ether 0:10:e0:46:5c:fb
            The ethernet network switch certification test configuration file on SUT:
    
    root@solairs:~# cat /opt/SUNWhcts/etc/switch.conf
     ... ...
    # Link aggregation testing
    # Argument 1: TM nic ip address
    # Example: LAG 10.10.30.11
    LAG 192.168.10.11
    LAG 192.168.11.11
    ... ...
  3. For TM, there are two links net0 and net1 which has to be configured as test links.

    root@solairs:~# ifconfig -a
           net0: flags=100001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 1500 index 112
                   inet 192.168.10.11 netmask ffffff00 broadcast 192.168.10.255
                   ether 0:10:e0:10:15:c7
           net1: flags=100001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 1500 index 113
                   inet 192.168.11.11 netmask ffffff00 broadcast 192.168.11.255
                   ether 0:10:e0:10:15:c8