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]


分享文章:SRX与Cisco之间的port-channel配置
网站链接:http://pwwzsj.com/article/gpjjse.html