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

NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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).
Configuring an Eth-Trunk Interface in Manual 1:1 Master/Backup Mode to Connect to a Non-Huawei Device

Configuring an Eth-Trunk Interface in Manual 1:1 Master/Backup Mode to Connect to a Non-Huawei Device

To allow a Huawei device to communicate with a non-Huawei device that uses master and backup interfaces (both in the Up state), configure an Eth-Trunk interface in manual 1:1 master/backup mode on the Huawei device.

Usage Scenario

On the network shown in Figure 4-9, a non-Huawei device uses master and backup interfaces (both in the Up state) to directly connect to a Huawei device. However, communication may fail because network administrator cannot identify the master and backup interfaces on the connected non-Huawei device during network planning or maintenance and therefore cannot correctly specify the master and backup interfaces when configuring the Eth-Trunk interface in manual 1:1 master/backup mode.

Figure 4-9 Configuring an Eth-Trunk interface in manual 1:1 master/backup mode to connect to a non-Huawei device

To address this problem, run the inactive-port shutdown enable command on the Huawei device to forcibly set the backup member interface in the Eth-Trunk interface in manual 1:1 master/backup mode to the Down state. This configuration allows the non-Huawei device to communicate with the Huawei device both through the master interfaces, ensuring communication.

If the master member interface for forwarding traffic fails, the system automatically disables the forcible Down state of the backup member interface and restores the backup member interface to the Up state so that it can communicate with the non-Huawei device.

NOTE:

The inactive-port shutdown enable and preempt enable commands are mutually exclusive in this scenario.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface eth-trunk trunk-id

    An Eth-Trunk interface is created, and the Eth-Trunk interface view is displayed.

  3. Run portswitch

    The Eth-Trunk interface is switched to Layer 2 mode.

  4. Run mode manual backup

    The Eth-Trunk interface is configured to work in manual 1:1 master/backup mode.

  5. Run inactive-port shutdown enable

    The backup member interface in the Eth-Trunk interface that works in manual 1:1 master/backup mode is forcibly set to the Down state.

  6. Run trunkport interface-type { interface-number1 [ to interface-number2 ] } &<1-16>

    A maximum of two interfaces can be added to or deleted from an Eth-Trunk interface in a batch.

    NOTE:

    Before adding an interface to an Eth-Trunk interface, ensure that the following condition is met:

    • Member interfaces cannot be configured with services or Layer 3 configurations such as IP addresses.
    • Member interfaces cannot be manually configured with MAC addresses.
    • Before adding a Layer 2 interface on the router to an Eth-Trunk interface, run the undo portswitch command to configure the Eth-Trunk interface to work in Layer 3 mode.
    • An Ethernet interface can be added to only one Eth-Trunk interface. Before adding it to another Eth-Trunk interface, delete it from the existing Eth-Trunk interface.

    An interface can be added to an Eth-Trunk interface in the Eth-Trunk interface view or in the interface view. For details, see Adding Interfaces to an Eth-Trunk Interface.

  7. Run quit

    Return to the system view.

  8. Run interface interface-type interface-number

    The Eth-Trunk member interface view is displayed.

  9. Run port-master

    The master member interface is specified.

    Only one master interface can be specified between the two member interfaces in an Eth-Trunk interface in manual 1:1 master/backup mode.

  10. Run commit

    The configuration is committed.

Checking the Configurations

After configuring an Eth-Trunk interface in manual 1:1 master/backup mode, check the configurations.

Run the display interface command. The command output shows that the interface status is TRUNK BACKUP DOWN.

<HUAWEI> display interface gigabitethernet1/0/1
GigabitEthernet1/0/1 current state : TRUNK BACKUP DOWN
Line protocol current state : DOWN
Link quality grade : GOOD
Description:HUAWEI, GigabitEthernet1/0/1 Interface
Route Port,The Maximum Transmit Unit is 1500
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-7020-8242
Last physical up time   : 2013-10-17 16:30:25 UTC-08:00
Last physical down time : 2013-10-17 16:39:05 UTC-08:00
Current system time: 2013-10-17 16:42:41-08:00
Hardware address is 00e0-7020-8242
    Last 300 seconds input rate 0 bytes/sec, 0 packets/sec
    Last 300 seconds output rate 0 bytes/sec, 0 packets/sec
    Input: 0 bytes, 0 packets
    Output: 0 bytes, 0 packets
    Input:
      Unicast: 0 packets, Multicast: 0 packets
      Broadcast: 0 packets
    Output:
      Unicast: 0 packets, Multicast: 0 packets
      Broadcast: 0 packets
    Input bandwidth utilization  :    0%
    Output bandwidth utilization :    0%
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055378

Views: 18706

Downloads: 35

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