Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Pure LACP

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Configuring Aggregated Ethernet Device with LAG and LACP (CLI)

1.Configure the number of ae/LAG interface that you need to create.

[edit]

User@host# set chassis aggregated-devices ethernet device-count 5

2. Add port to ae/LAG

[edit]

User@host# set interfaces ge-2/0/1 gigether-options 802.3ad ae0

User@host# set interfaces ge-2/0/2 gigether-options 802.3ad ae0

3. Configure LACP for ae/LAG

[edit]

User@host# set interfaces ae0 aggregated-ether-options lacp active

4. Configure family Ethernet-switching for ae/LAG

[edit]

User@host# set interfaces ae0 unit 0 family ethernet-switching

5. Configure VLAN

[edit]

User@host# set vlans vlan20 vlan-id 20

6. Add ae to VLAN

[edit]

User@host# set vlans vlan20 interface ae0

7. Check the configuration by entering show vlans and show interfaces commands

User@host# show vlans

Vlan20 {

Vlan-id 20

Interface {

Ae0.0

}

}

User@host# show interfaces

Ge-2/0/1 {

Gigether-options {

802.3ad ae0

}

}

Ge-2/0/2 {

Gigether-options {

802.3ad ae0

}

}

Ae0 {

Aggregated-ether-options {

Lacp {

Active

}

}

Unit 0 {

Family ethernet-switching

}

}

8. If you are done configuring the device, commit the configuration.

[edit]

User@host# commit

Verification

User@host# run show lacp interfaces

Aggregated interface: ae0

LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity

Ge-2/0/1 Actor No No Yes Yes Yes Yes Fast Active

Ge-2/0/1 Partner No No Yes Yes Yes Yes Fast Active

Ge-2/0/2 Actor No No Yes Yes Yes Yes Fast Active

Ge-2/0/2 Partner No No Yes Yes Yes Yes Fast Active

LACP protocol: Receive State Transmit State Mux State

User@host# run show vlans

Name Tag Interfaces

Default 1 None

Vlan20 20 ae0.0

From the configuration mode, enter show interfaces (interface name) command to view

The status of ge-2/0/1 and ge-2/0/2 interfaces.

User@host# run show interfaces ge-2/0/1 terse

Interface Admin Link Proto Local Remote

Ge-2/0/1 up up

Ge-2/0/1.0 up up aenet-- > ae0.0

User@host# run show interfaces ge-2/0/2 terse

Interface Admin Link Proto Local Remote

Ge-2/0/2 up up

Ge-2/0/2.0 up up aenet-- > ae0.0

Run show inter ter | match ae

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report