You can create a second-level interface group by using two multimode interface groups. Second-level interface groups enable you to provide a standby multimode interface group in case the primary multimode interface group fails.
Before you begin
You must meet the following prerequisites to create a second-level
interface group:
- Identify or install a switch that supports link aggregation over multiple port connections in your network, configured according to your switch vendor's instructions.
- Decide on a name for the second-level interface group:
- It must begin with a letter.
- It must not contain a space.
- It must not contain more than 15 characters.
- It must not already be in use for an interface group.
- Decide on a list of the interfaces you want to select as part of the interface group.
- Configure all interfaces that are to be included in the interface group to the down status, by using the ifconfig command.
Steps
- Enter the following command to create the first of two multimode interfaces: ifgrp create multi -b {rr|mac|ip|port} ifgrp_name1 if1 if2
The ifgrp_name1 interface group is composed of two physical interfaces, if1 and if2.
-b—specifies the type of load-balancing method.
rr—specifies the round-robin load-balancing option.
mac—specifies the MAC address load-balancing option.
ip—indicates the IP address load-balancing option (default option).
port—indicates the port-based load-balancing option.
- Enter the following command to create the second of two multimode interfaces: ifgrp create multi -b {rr|mac|ip|port} ifgrp_name2 if3 if4
The ifgrp_name2 interface group is composed of two physical interfaces, if3 and if4.
- Enter the following command to create a single-mode interface from the multimode interfaces: ifgrp create single ifgrp_name ifgrp_name1 ifgrp_name2
ifgrp_name is the second-level interface group created with two multimode interface groups, ifgrp_name1 and ifgrp_name2.
Example
Use the following commands to create two
interface groups and a second-level
interface group. In this example, IP address load balancing is used for the multimode
interface groups.
ifgrp create multi Firstlev1 e0 e1
ifgrp create multi Firstlev2 e2 e3
ifgrp create single Secondlev Firstlev1 Firstlev2