No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009 CLI-based Configuration Guide - Ethernet Switching

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring Layer 3 Link Aggregation

Example for Configuring Layer 3 Link Aggregation

Networking Requirements

RouterA and RouterB are connected by two Layer 3 Ethernet interfaces. To increase link bandwidth and improve reliability, you can create an Eth-Trunk on each router and add the Layer 3 Ethernet interfaces to the Eth-Trunk.

Figure 2-14  Networking of Layer 3 link aggregation

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create a Layer 3 Eth-Trunk on each device and configure an IP address for each Eth-Trunk.

  2. Add Ethernet interfaces to the Eth-Trunk.

Procedure

  1. Configure RouterA.

    <Huawei> system-view
    [Huawei] sysname RouterA

    # Create a Layer 3 Eth-Trunk (Eth-Trunk 1) and configure an IP address for Eth-Trunk 1.

    [RouterA] interface eth-trunk 1
    [RouterA-Eth-Trunk1] undo portswitch
    [RouterA-Eth-Trunk1] ip address 10.1.1.1 24
    [RouterA-Eth-Trunk1] quit

    # Add Ethernet1/0/0 and Ethernet2/0/0 to Eth-Trunk 1.

    [RouterA] interface ethernet 1/0/0
    [RouterA-Ethernet1/0/0] eth-trunk 1
    [RouterA-Ethernet1/0/0] quit
    [RouterA] interface ethernet 2/0/0
    [RouterA-Ethernet2/0/0] eth-trunk 1
    [RouterA-Ethernet2/0/0] quit

  2. Configure RouterB.

    <Huawei> system-view
    [Huawei] sysname RouterB

    # Create a Layer 3 Eth-Trunk (Eth-Trunk 1) and configure an IP address for Eth-Trunk 1.

    [RouterB] interface eth-trunk 1
    [RouterB-Eth-Trunk1] undo portswitch
    [RouterB-Eth-Trunk1] ip address 10.1.1.2 24
    [RouterB-Eth-Trunk1] quit

    # Add Ethernet1/0/0 and Ethernet2/0/0 to Eth-Trunk 1.

    [RouterB] interface ethernet 1/0/0
    [RouterB-Ethernet1/0/0] eth-trunk 1
    [RouterB-Ethernet1/0/0] quit
    [RouterB] interface ethernet 2/0/0
    [RouterB-Ethernet2/0/0] eth-trunk 1
    [RouterB-Ethernet2/0/0] quit

  3. Verify the configuration.

    Run the display interface eth-trunk command on RouterA or RouterB. You can see that the Eth-Trunks are in Up state.

    The display on RouterA is used as an example.

    [RouterA] display interface eth-trunk 1
    Eth-Trunk1 current state : UP
    Line protocol current state : UP
    Description:HUAWEI, AR Series, Eth-Trunk1 Interface
    Route Port, Hash arithmetic : According to SIP-XOR-DIP,The Maximum Transmit Unit
    is 1500
    Internet Address is 10.1.1.1/24
    IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc09-9722
    Current system time: 2011-4-14 14:51:01
        Input bandwidth utilization  : 0.00%
        Output bandwidth utilization : 0.00%
    -----------------------------------------------------
    PortName                Status              Weight
    -----------------------------------------------------
    Ethernet1/0/0    UP                  1
    Ethernet2/0/0    UP                  1
    -----------------------------------------------------
    The Number of Ports in Trunk : 2
    The Number of UP Ports in Trunk : 2                                              

    The Eth-Trunks on RouterA and RouterB can ping each other.

    [RouterA] ping -a 10.1.1.1 10.1.1.2
      PING 10.1.1.2: 56  data bytes, press CTRL_C to break
        Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=31 ms
        Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=31 ms
        Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=62 ms
        Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=62 ms
        Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=62 ms
      --- 10.1.1.2 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 31/49/62 ms

Configuration Files

  • Configuration file of RouterA

    #
     sysname RouterA
    #
    interface Eth-Trunk1
     undo portswitch
     ip address 10.1.1.1 255.255.255.0
    #
    interface Ethernet1/0/0
     eth-trunk 1
    #
    interface Ethernet2/0/0
     eth-trunk 1
    #
    return
  • Configuration file of RouterB

    #
     sysname RouterB
    #
    interface Eth-Trunk1
     undo portswitch
     ip address 10.1.1.2 255.255.255.0
    #
    interface Ethernet1/0/0
     eth-trunk 1
    #
    interface Ethernet2/0/0
     eth-trunk 1
    #
    return
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174108

Views: 55142

Downloads: 40

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next