LACP ex3300 s5300

Материал из xapmc.net
Перейти к: навигация, поиск
Задача
Настроить агрегирование портов между коммутаторами juniper ex3300 и huawei s5300.
Решение
Воспользуемся для соединения двух коммутаторов технологией LACP.
Оборудование, которым располагаем
Вендор Модель
1. juniper ex3300
2. huawei s5300
Настройка
Juniper ex3300
set vlans vlan3 vlan-id 3
set vlans vlan3 l3-interface vlan.3
set interfaces ae1 description huawei_s5300
set interfaces ae1 mtu 1522
set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1 aggregated-ether-options lacp periodic fast
set interfaces ae1 unit 0 family ethernet-switching port-mode trunk
set interfaces ae1 unit 0 family ethernet-switching vlan members vlan3
set interfaces ge-0/0/2 ether-options 802.3ad ae1
set interfaces ge-0/0/3 ether-options 802.3ad ae1
commit
Huawei s5300
vlan 3

interface Eth-Trunk8
 port link-type trunk
 port trunk allow-pass vlan 3
 mode lacp

interface GigabitEthernet2/0/23
 eth-trunk 8

interface GigabitEthernet2/0/24
 eth-trunk 8

save
Проверка
Huawei s5300
<Hu_s5300>display lacp statistics eth-trunk 8
 Eth-Trunk8's PDU statistic is:
 ------------------------------------------------------------------------------
 Port                    LacpRevPdu   LacpSentPdu  MarkerRevPdu MarkerSentPdu
 GigabitEthernet2/0/23   57           1770         0            0
 GigabitEthernet2/0/24   57           1740         0            0

Juniper ex3300
xapmc@ex3300# run show lacp statistics interfaces ae1
Aggregated interface: ae1
    LACP Statistics:       LACP Rx     LACP Tx   Unknown Rx   Illegal Rx
      ge-0/0/2                1597          60            0            0
      ge-0/0/3                1597          59            0            0

LACP с обеих сторон собрался. Задача решена