< Home

Configuring Interfaces

Procedure

  1. Add physical interfaces to Eth-Trunks.

    The following uses the configuration of Core_SPE1 as an example. The configurations of other devices are similar to the configuration of Core_SPE1, and are not mentioned here.

    #
    interface XGigabitEthernet1/0/0
     eth-trunk 5
    #
    interface XGigabitEthernet1/0/1
     eth-trunk 5
    #
    interface XGigabitEthernet1/0/2
     eth-trunk 5
    #
    interface XGigabitEthernet1/0/3
     eth-trunk 5
    #
    interface XGigabitEthernet5/0/4
     eth-trunk 4
    #
    interface XGigabitEthernet5/0/5
     eth-trunk 4
    #
    interface XGigabitEthernet5/0/6
     eth-trunk 4
    #
    interface XGigabitEthernet5/0/7
     eth-trunk 4
    #
    interface XGigabitEthernet6/0/0
     eth-trunk 17
    #
    interface XGigabitEthernet6/0/1
     eth-trunk 17
    #
    interface XGigabitEthernet6/0/2
     eth-trunk 17
    #
    interface XGigabitEthernet6/0/3
     eth-trunk 17
    #

  2. Configure descriptions and IP addresses for interfaces.

    The following uses the configuration of Core_SPE1 as an example. The configurations of other devices are similar to the configuration of Core_SPE1, and are not mentioned here.

    #
    interface Eth-Trunk4
     undo portswitch
     description Core_SPE1 to Core_SPE2
     ip address 172.17.4.8 255.255.255.254
    #
    interface Eth-Trunk5
     undo portswitch
     description Core_SPE1 to Core_SPE3
     ip address 172.17.4.2 255.255.255.254
    #
    interface Eth-Trunk17
     undo portswitch
     description Core_SPE1 to Site1_UPE1
     ip address 172.17.4.10 255.255.255.254
    #
    interface XGigabitEthernet6/0/4
     undo portswitch
     description Core_SPE1 to Site3_UPE6
     ip address 172.17.10.2 255.255.255.254
    #
    interface LoopBack1
     description ** GRT Management Loopback **
     ip address 172.16.0.5 255.255.255.255
    #

  3. Configure Eth-Trunks to function as 40GE interfaces.

    Run the least active-linknumber 4 command on Eth-Trunks of all S9700 switches to configure the Eth-Trunks to function as 40GE interfaces. If a member interface of an Eth-Trunk goes Down, the Eth-Trunk goes Down. The following uses the configuration of Core_SPE1 as an example. The configurations of other devices are similar to the configuration of Core_SPE1, and are not mentioned here.

    #
    interface Eth-Trunk4
     least active-linknumber 4
    #
    interface Eth-Trunk5
     least active-linknumber 4
    #
    interface Eth-Trunk17
     least active-linknumber 4
    #

  4. Create Eth-Trunk load balancing profiles and apply the profiles to Eth-Trunks.

    Configure load balancing based on the source and destination port numbers. The following uses the configuration of Core_SPE1 as an example. The configurations of other devices are similar to the configuration of Core_SPE1, and are not mentioned here.

    #
    load-balance-profile CUSTOM
     ipv6 field l4-sport l4-dport
     ipv4 field l4-sport l4-dport
    #
    interface Eth-Trunk4
     load-balance enhanced profile CUSTOM
    #
    interface Eth-Trunk5
     load-balance enhanced profile CUSTOM
    #
    interface Eth-Trunk17
     load-balance enhanced profile CUSTOM
    #

  5. Disable STP globally.

    All devices on the entire network are connected through Layer 3 interfaces, and Layer 2 loop prevention protocols are not required. Therefore, disable STP globally. The following uses the configuration of Core_SPE1 as an example. The configurations of other devices are similar to the configuration of Core_SPE1, and are not mentioned here.

    #
    stp disable
    #

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >