温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

SRX与Cisco之间的port-channel配置

发布时间:2020-06-28 07:03:46 来源:网络 阅读:895 作者:msft 栏目:安全技术

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]


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI