Configuring Interoperation Between CE Series Switches and Linux Servers Running SUSE11 SP3
Networking Requirements
In Figure 2-9, the Linux server uses SUSE11 SP3, and the Linux server needs to connect to the CE series switch through link aggregation to implement load balancing.
Configuration Roadmap
- Create an Eth-Trunk on the CE series switch and configure the Eth-Trunk to work in static LACP mode to increase the interface bandwidth and reliability.
- Configure dynamic link aggregation for the network adapter group, that is, configure Mode4 (IEEE 802.3ad), to improve the link reliability, increase the interface bandwidth, and implement link load balancing.
Procedure
- Configure an Eth-Trunk and a VLAN on the CE series switch.
<HUAWEI> system-view [~HUAWEI] sysname SwitchA [*HUAWEI] commit [~SwitchA] vlan batch 2 //Create VLAN 2. [*SwitchA] interface eth-trunk 1 [*SwitchA-Eth-Trunk1] mode lacp-static //Configure the Eth-Trunk to work in static LACP mode. [*SwitchA-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/2 //Add interfaces of SwitchA connected to the server to the Eth-Trunk. [*SwitchA-Eth-Trunk1] port default vlan 2 [*SwitchA-Eth-Trunk1] commit
- Configure a network adapter group of the server.
Verifying the configuration
- Run the display eth-trunk [ trunk-id ] command in any view to check the Eth-Trunk status. Determine the Eth-Trunk status based on key information in Table 2-17.
<HUAWEI> display eth-trunk 1 Eth-Trunk1's state information is: Local: LAG ID: 1 Working Mode: Static Preempt Delay: Disabled Hash Arithmetic: profile default System Priority: 32768 System ID: 04f9-388d-e681 Least Active-linknumber: 1 Max Active-linknumber: 8 Operating Status: up Number Of Up Ports In Trunk: 2 Timeout Period: Slow -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight 10GE1/0/1 Selected 10GE 32768 5 257 10100010 1 10GE1/0/2 Selected 10GE 32768 6 257 10100010 1 ……
Table 2-17 Eth-Trunk statusCheck Item
Normal Status
Working Mode
Static.
Operating Status
up: The Eth-Trunk is Up.
Number Of Up Ports In Trunk
Number of Up member interfaces in the Eth-Trunk. If the value is the same as the number of interfaces, the Eth-Trunk status is normal.
Status
Selected: The member interface is selected as the active interface.
Weight
Weight of the member interface.
Log in to the server and ping the gateway address of the access switch, for example, ping 192.168.14.1, and press Enter.
The following information indicates that the network configuration is successful.PING 192.168.14.1 (192.168.14.1) 56(84) bytes of data. 64 bytes from 192.168.14.1: icmp_seq=1 ttl=64 time=1.10ms 64 bytes from 192.168.14.1: icmp_seq=2 ttl=64 time=0.623ms