溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

純LACP

發(fā)布時(shí)間:2020-07-31 15:31:39 來源:網(wǎng)絡(luò) 閱讀:992 作者:流云飛逝 欄目:安全技術(shù)

 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


向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI