---
title: "HP Quanta LB6M配置LACP"
id: "131"
type: "post"
slug: "hp-quanta-lb6m%e9%85%8d%e7%bd%aelacp"
published_at: "2018-01-21T10:22:23+00:00"
modified_at: "2018-09-12T11:56:00+00:00"
url: "https://www.hitsword.org/2018/131.html"
markdown_url: "https://www.hitsword.org/2018/131.md"
excerpt: "连接LB6M后进入enable模式"
taxonomy_category:
  - "交换机"
taxonomy_post_tag:
  - "LACP"
  - "LB6M"
  - "交换机"
---

# HP Quanta LB6M配置LACP

**连接LB6M后进入enable模式**

```
configure//进入配置模式
interface 0/17-0/24//进入17端口与24端口配置(根据自己需求选择端口，最多8个)
addport 1/1//把端口加入port-channel 1/1
description 'LACP-10GSW-1N2'//设置这几个端口的描述
exit//退出刚才选择的端口
interface 1/1//选择port-channel 1/1
description 'LACP-10GSW-1N2'//设置这个port-channel的描述
no port-channel static//关闭静态汇聚(不关闭的话是静态汇聚，关闭后才是LACP)
exit//退出刚才选择的port-channel
port-channel name 1/1 LACP-10GSW-1N2//设置port-channel 1/1的名称
exit //退出配置模式
show port-channel 1/1 //显示这个port-channel状态
```

  
```
Local Interface................................ 1/1
Channel Name................................... LACP-10GSW-1N2
Link State..................................... Up
Admin Mode..................................... Enabled
Type........................................... Dynamic
Port-channel Min-links......................... 1
Load Balance Option............................ 3
(Src/Dest MAC, VLAN, EType, incoming port)
Mbr    Device/       Port      Port
Ports  Timeout       Speed     Active
------ ------------- --------- -------
0/17   actor/long    10G Full  False
       partner/long
0/18   actor/long    10G Full  False
       partner/long
0/19   actor/long    10G Full  False
       partner/long
0/20   actor/long    10G Full  False
       partner/long
0/21   actor/long    10G Full  True
       partner/long
0/22   actor/long    10G Full  True
       partner/long
0/23   actor/long    10G Full  True
       partner/long
0/24   actor/long    10G Full  True
       partner/long
```
