Cisco與SRX之間的port-channel配置:【兩都可以配置為on模式、也可以利用LACP配置為雙active或者是一端active一段passive】
為長(zhǎng)寧等地區(qū)用戶提供了全套網(wǎng)頁(yè)設(shè)計(jì)制作服務(wù),及長(zhǎng)寧網(wǎng)站建設(shè)行業(yè)解決方案。主營(yíng)業(yè)務(wù)為網(wǎng)站設(shè)計(jì)、成都網(wǎng)站設(shè)計(jì)、長(zhǎng)寧網(wǎng)站設(shè)計(jì),以傳統(tǒng)方式定制建設(shè)網(wǎng)站,并提供域名空間備案等一條龍服務(wù),秉承以專業(yè)、用心的態(tài)度為用戶提供真誠(chéng)的服務(wù)。我們深信只要達(dá)到每一位用戶的要求,就會(huì)得到認(rèn)可,從而選擇與我們長(zhǎng)期合作。這樣,我們也可以走得更遠(yuǎn)!
方法一:
Cisco配置:
CORE-SW#show running-config interface gigabitEthernet 0/35
Building configuration...
Current configuration : 92 bytes
!
interface GigabitEthernet0/35
no switchport
no ip address
channel-group 1 mode on
end
CORE-SW#show running-config interface gigabitEthernet 0/36
Building configuration...
Current configuration : 92 bytes
!
interface GigabitEthernet0/36
no switchport
no ip address
channel-group 1 mode on
end
CORE-SW#show running-config interface port-channel 1
Building configuration...
Current configuration : 85 bytes
!
interface Port-channel1
no switchport
ip address 10.10.10.1 255.255.255.252
end
SRX配置:
lab# show interfaces fe-0/0/2
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces fe-0/0/3
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces ae0
unit 0 {
family inet {
address 10.10.10.2/30;
}
}
[edit]
方法二:
CORE-SW#show running-config interface gigabitEthernet 0/35
Building configuration...
Current configuration : 119 bytes
!
interface GigabitEthernet0/35
no switchport
no ip address
channel-protocol lacp
channel-group 1 mode active
end
CORE-SW#show running-config interface gigabitEthernet 0/36
Building configuration...
Current configuration : 119 bytes
!
interface GigabitEthernet0/36
no switchport
no ip address
channel-protocol lacp
channel-group 1 mode active
end
CORE-SW#show run
CORE-SW#show running-config in
CORE-SW#show running-config interface port-c
CORE-SW#show running-config interface port-channel 1
Building configuration...
Current configuration : 85 bytes
!
interface Port-channel1
no switchport
ip address 10.10.10.1 255.255.255.252
end
SRX配置:
lab> configure
Entering configuration mode
[edit]
lab# show interfaces fe-0/0/2
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces fe-0/0/3
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces ae0
aggregated-ether-options {
lacp {
passive;
}
}
unit 0 {
family inet {
address 10.10.10.2/30;
}
}
[edit]