Got it

Eth-Trunk Interface

Latest reply: Mar 30, 2019 20:56:05 1387 1 0 0 0

A maximum of 64 trunk interfaces (including Eth-Trunk and IP-Trunk) can be created on a router, and each trunk interface contains up to 16 physical member links.

The trunk technology has the following advantages:

  • Increasing bandwidth: The bandwidth of an Eth-Trunk interface is the sum of all the bandwidth of member interfaces.

  • Improving reliability: If a member link fails, the traffic automatically switches to another available links.

An Eth-Trunk interface has the following characteristics:

  • Supports the features supported by the Ethernet interface.

  • Supports the configured IP addresses, and member trunk interfaces can borrow the IP address.

  • Supports Layer 2 forwarding, MPLS forwarding, and Layer 3 forwarding including unicast and multicast. The Hash algorithm can be used in load balancing by flow.

  • Supports QoS based on physical interfaces and logical interfaces.

  • Supports MPLS and binding VPN instances.

  • Supports hot backup and hot swap.

  • Supports APDP.


Link aggregation refers to a method of binding a group of physical interfaces as a logical interface to increase the bandwidth. Link aggregation is called multi-interface load balancing group or link aggregation group (LAG). For more information about link aggregation, refer to IEEE802.3ad.

By setting up an LAG between two devices, you can obtain higher bandwidth and greater reliability. The link aggregation provides redundancy protection for communications among devices without upgrading the hardware.

  • Active and Inactive Interfaces

    The interfaces in the active state that are responsible for forwarding data are active interfaces. On the contrary, the interfaces in the inactive state that do not forward data are inactive interfaces. According to the operation modes, active and inactive interfaces are classified as follows:

    • Manual load balancing mode: Generally, all member interfaces are active ones unless a fault occurs on these interfaces.

    • 1:1 active/standby mode: Normally, the primary interface is the active interface and the backup interface is the inactive interface. When the primary interface fails, the backup interface is activated and the primary interface becomes the inactive interface.

    • Static LACP mode: The interfaces connected to M links are active interfaces. The active interfaces are responsible for forwarding data. The interfaces connected to N links are inactive interfaces. The inactive interfaces are responsible for backup.

  • Actor and Partner

    In static LACP mode, the device with a higher LACP priority at both ends of an LAG is the Actor and the device with a lower LACP priority is the Partner.

    Differentiating the Actor and the Partner is to keep the active interfaces of devices at both ends the same. If devices at both ends select active interfaces according to the priority of their own interfaces, the active interfaces are different and the active links cannot be set up. Therefore, the Actor is first determined. The Partner selects active interfaces according to the priority of the interfaces of the Actor



Confoguration of Eth-Trunk

  •    Creating an Eth-Trunk

  • Configuring the Operation Mode of the Eth-Trunk

  • Adding Member Interfaces to the Eth-Trunk


Example for Configuring Link Aggregation in Manual Load Balancing Mode
Networking Diagram

Figure 1 Configuring link aggregation in manual load balancing mode
fig_dc_cfg_eth-trunk_004501.pn ..
Example for Configuring Link Aggregation in Manual Load Balancing Mode
Networking Diagram

Figure 1 Configuring link aggregation in manual load balancing mode

Networking RequirementsConfiguration RoadmapProcedureConfiguration Files
Networking Requirements
As shown in Figure 1, RouterA and RouterB connect to devices in VLAN 10 and VLAN 20 through Ethernet links, and heavy traffic is transmitted between RouterA and RouterB.

RouterA and RouterB can provide higher link bandwidth to implement inter-VLAN communication. Reliability of data transmission needs to be ensured.

Configuration Roadmap
The configuration roadmap is as follows:

Create an Eth-Trunk and add member interfaces to the Eth-Trunk to increase link bandwidth.

Create VLANs and add interfaces to the VLANs.

Configure a load balancing mode to ensure that traffic is load balanced among Eth-Trunk member interfaces.

Procedure
Create an Eth-Trunk on RouterA and add member interfaces to the Eth-Trunk. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
system-view
[Huawei] sysname RouterA
[RouterA] interface Eth-Trunk1
[RouterA-Eth-Trunk1] trunkport ethernet 1/0/1 to 1/0/3
[RouterA-Eth-Trunk1] quit
Create VLANs and add interfaces to the VLANs. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
# Create VLAN 10 and VLAN 20, and add interfaces to VLAN 10 and VLAN 20.

[RouterA] vlan batch 10 20
[RouterA] interface ethernet 1/0/4
[RouterA-Ethernet1/0/4] port link-type trunk
[RouterA-Ethernet1/0/4] port trunk allow-pass vlan 10
[RouterA-Ethernet1/0/4] quit
[RouterA] interface ethernet 1/0/5
[RouterA-Ethernet1/0/5] port link-type trunk
[RouterA-Ethernet1/0/5] port trunk allow-pass vlan 20
[RouterA-Ethernet1/0/5] quit
# Configure Eth-Trunk 1 to allow packets from VLAN 10 and VLAN 20 to pass through.

[RouterA] interface Eth-Trunk1
[RouterA-Eth-Trunk1] port link-type trunk
[RouterA-Eth-Trunk1] port trunk allow-pass vlan 10 20
Configure a load balancing mode for Eth-Trunk 1. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
[RouterA-Eth-Trunk1] load-balance src-dst-mac
[RouterA-Eth-Trunk1] quit
Example for Configuring Link Aggregation in Manual Load Balancing Mode
Networking Diagram

Figure 1 Configuring link aggregation in manual load balancing mode

Networking RequirementsConfiguration RoadmapProcedureConfiguration Files
Networking Requirements
As shown in Figure 1, RouterA and RouterB connect to devices in VLAN 10 and VLAN 20 through Ethernet links, and heavy traffic is transmitted between RouterA and RouterB.

RouterA and RouterB can provide higher link bandwidth to implement inter-VLAN communication. Reliability of data transmission needs to be ensured.

Configuration Roadmap
The configuration roadmap is as follows:

Create an Eth-Trunk and add member interfaces to the Eth-Trunk to increase link bandwidth.

Create VLANs and add interfaces to the VLANs.

Configure a load balancing mode to ensure that traffic is load balanced among Eth-Trunk member interfaces.

Procedure
Create an Eth-Trunk on RouterA and add member interfaces to the Eth-Trunk. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
system-view
[Huawei] sysname RouterA
[RouterA] interface Eth-Trunk1
[RouterA-Eth-Trunk1] trunkport ethernet 1/0/1 to 1/0/3
[RouterA-Eth-Trunk1] quit
Create VLANs and add interfaces to the VLANs. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
# Create VLAN 10 and VLAN 20, and add interfaces to VLAN 10 and VLAN 20.

[RouterA] vlan batch 10 20
[RouterA] interface ethernet 1/0/4
[RouterA-Ethernet1/0/4] port link-type trunk
[RouterA-Ethernet1/0/4] port trunk allow-pass vlan 10
[RouterA-Ethernet1/0/4] quit
[RouterA] interface ethernet 1/0/5
[RouterA-Ethernet1/0/5] port link-type trunk
[RouterA-Ethernet1/0/5] port trunk allow-pass vlan 20
[RouterA-Ethernet1/0/5] quit
# Configure Eth-Trunk 1 to allow packets from VLAN 10 and VLAN 20 to pass through.

[RouterA] interface Eth-Trunk1
[RouterA-Eth-Trunk1] port link-type trunk
[RouterA-Eth-Trunk1] port trunk allow-pass vlan 10 20
Configure a load balancing mode for Eth-Trunk 1. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
[RouterA-Eth-Trunk1] load-balance src-dst-mac
[RouterA-Eth-Trunk1] quit

Networking RequirementsConfiguration RoadmapProcedureConfiguration Files
Networking Requirements
As shown in Figure 1, RouterA and RouterB connect to devices in VLAN 10 and VLAN 20 through Ethernet links, and heavy traffic is transmitted between RouterA and RouterB.

RouterA and RouterB can provide higher link bandwidth to implement inter-VLAN communication. Reliability of data transmission needs to be ensured.

Configuration Roadmap
The configuration roadmap is as follows:

Create an Eth-Trunk and add member interfaces to the Eth-Trunk to increase link bandwidth.

Create VLANs and add interfaces to the VLANs.

Configure a load balancing mode to ensure that traffic is load balanced among Eth-Trunk member interfaces.

Procedure
Create an Eth-Trunk on RouterA and add member interfaces to the Eth-Trunk. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
system-view
[Huawei] sysname RouterA
[RouterA] interface Eth-Trunk1
[RouterA-Eth-Trunk1] trunkport ethernet 1/0/1 to 1/0/3
[RouterA-Eth-Trunk1] quit
Create VLANs and add interfaces to the VLANs. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
# Create VLAN 10 and VLAN 20, and add interfaces to VLAN 10 and VLAN 20.

[RouterA] vlan batch 10 20
[RouterA] interface ethernet 1/0/4
[RouterA-Ethernet1/0/4] port link-type trunk
[RouterA-Ethernet1/0/4] port trunk allow-pass vlan 10
[RouterA-Ethernet1/0/4] quit
[RouterA] interface ethernet 1/0/5
[RouterA-Ethernet1/0/5] port link-type trunk
[RouterA-Ethernet1/0/5] port trunk allow-pass vlan 20
[RouterA-Ethernet1/0/5] quit
# Configure Eth-Trunk 1 to allow packets from VLAN 10 and VLAN 20 to pass through.

[RouterA] interface Eth-Trunk1
[RouterA-Eth-Trunk1] port link-type trunk
[RouterA-Eth-Trunk1] port trunk allow-pass vlan 10 20
Configure a load balancing mode for Eth-Trunk 1. The configuration of RouterB is similar to the configuration of RouterA, and is not mentioned here.
[RouterA-Eth-Trunk1] load-balance src-dst-mac
[RouterA-Eth-Trunk1] quit
View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.