Skip to main content
您好,欢迎光临IDC汇,需要什么服务器直接咨询客服,方便快捷。客服QQ 点击这里给我发消息
首页 > 服务器安全 »正文

SRX与Cisco之间的port-channel配置

服务器安全 webadmin 2020-06-28 08:47:41 查看评论 加入收藏

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]


广告06

微信