SRX与Cisco之间的port-channel配置

简介:

Cisco与SRX之间的port-channel配置:【两都可以配置为on模式、也可以利用LACP配置为双active或者是一端active一段passive】

方法一:

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]




本文转自 msft 51CTO博客,原文链接:http://blog.51cto.com/victorly/1843496,如需转载请自行联系原作者
相关文章
|
18天前
|
网络协议 Unix
UDP connect 的作用
【4月更文挑战第8天】UDP的`connect`主要用来让应用接收“异步错误”信息。
|
2月前
|
网络协议 Linux 网络架构
【Cisco Packet Tracer】运输层端口与DHCP的作用
【Cisco Packet Tracer】运输层端口与DHCP的作用
32 0
|
2月前
|
网络协议 Linux 网络架构
【Cisco Packet Tracer】运输层端口与TCP的作用
【Cisco Packet Tracer】运输层端口与TCP的作用
27 0