Cấu hình EtherChannel với giao thức LACP protocol (Link Aggregation Control Protocol )

Thảo luận trong 'Mua bán, quảng cáo khác' bắt đầu bởi nguyenthihuong43791, 16/4/21.

  1. nguyenthihuong43791

    nguyenthihuong43791 New Member

    [​IMG]
    Giả sử các giao diện vật lý Gi0 / 0 lên đến Gi0 / 3 sẽ được sử dụng để tạo thành Etherchannel. Hơn nữa, tốt hơn hết là bạn nên định cấu hình giao diện logic Kênh cổng kết quả là Trunk để cho phép các VLAN truyền qua giữa các thiết bị chuyển mạch Switch Cisco.
    [​IMG]
    Cấu hình LACP

    Chuyển mạch đầu tiên SW1 sẽ là Chế độ chủ động và SW2 sẽ ở Chế độ thụ động.

    SW1(config)# interface range Gi0/0 -3 <– Select the 4 interfaces
    SW1(config-if-range)# channel-protocol lacp <– Set protocol to LACP
    SW1(config-if-range)# channel-group 1 mode active <– Set mode to active

    SW1(config-if-range)# exit

    SW1(config)# interface port-channel 1 <– Configure the logical port as trunk
    SW1(config-if)#switchport trunk encapsulation dot1q
    SW1(config-if)#switchport mode trunk


    SW2(config)# interface range Gi0/0 – 3 <– Select the 4 interfaces
    SW2(config-if-range)# channel-protocol lacp <– Set protocol to LACP
    SW2(config-if-range)# channel-group 1 mode passive <– Set mode to passive

    SW2(config-if-range)# exit

    SW2(config)# interface port-channel 1 <– Configure the logical port as trunk
    SW2(config-if)#switchport trunk encapsulation dot1q
    SW2(config-if)#switchport mode trunk


    Chi tiết xem tại:
    - Hướng dẫn cấu hình etherchannel giữa các Switch Cisco và các Switch None Cisco

    Chúc các bạn thành công!
     

trang này