1. 首页
  2. 综合百科
  3. 链路聚合配置有什么用(交换机链路聚合配置详解)

链路聚合配置有什么用(交换机链路聚合配置详解)

简介:关于链路聚合配置有什么用(交换机链路聚合配置详解)的相关疑问,相信很多朋友对此并不是非常清楚,为了帮助大家了解相关知识要点,小编为大家整理出如下讲解内容,希望下面的内容对大家有帮助!
如果有更好的建议或者想看更多关于综合百科技术大全及相关资讯,可以多多关注茶馆百科网。

1. 链路聚合——将多个物理端口捆绑成一个逻辑端口,对逻辑端口进行配置,提高链路带宽和备份能力。链路聚合一般用于核心交换机。建议将物理端口绑定为2的倍数。

2. 链路聚合模式有手动负载分担和LACP两种。在手动负载分担模式下,所有活动线路的端口都参与数据转发和流量共享;在LACP模式下,支持链路备份。

3.链路聚合的端口速率、接口数、双工模式、卡车或接入模式必须保持一致。

4. 请勿配置链路聚合端口。配置逻辑Eth-Trunk端口。

一、SW1配置:

[SW1]int Eth-Trunk 1

[SW1-Eth-Trunk1]int g0/0/23

[SW1-GigabitEthernet0/0/23]eth-trunk 1

[SW1-GigabitEthernet0/0/23]int g0/0/24

[SW1-GigabitEthernet0/0/24]eth-trunk 1

[SW1-GigabitEthernet0/0/24]q

[SW1]

[SW1]int et

[SW1]int Eth-Trunk 1

[SW1-Eth-Trunk1]port li

[SW1-Eth-Trunk1]port link-type tru

[SW1-Eth-Trunk1]port link-type trunk

[SW1-Eth-Trunk1]port trunk allow-pass vlan all

[SW1-Eth-Trunk1]disp th

#

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

#

[SW1]disp stp brief

MSTID Port Role STP State Protection

0 Eth-Trunk1 ROOT FORWARDING NONE

[SW2]disp int eth-trunk 1

Eth-Trunk1's state information is:

WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP

Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8

Operate status: up Number Of Up Port In Trunk: 2

--------------------------------------------------------------------------------

PortName Status Weight

GigabitEthernet0/0/23 Up 1

GigabitEthernet0/0/24 Up 1

[SW1]disp int Eth-Trunk 1

Eth-Trunk1 current state : UP

Line protocol current state : UP

Description:

Switch Port, PVID : 1, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW:

2G, Current BW: 2G, The Maximum Frame Length is 9216

IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc7c-16ef

Current system time: 2020-09-03 22:31:07-08:00

Input bandwidth utilization : 0%

Output bandwidth utilization : 0%

-----------------------------------------------------

PortName Status Weight

-----------------------------------------------------

GigabitEthernet0/0/23 UP 1

GigabitEthernet0/0/24 UP 1

-----------------------------------------------------

The Number of Ports in Trunk : 2

The Number of UP Ports in Trunk : 2

2SW2配置:

[SW2]int Eth-Trunk 1

[SW2-Eth-Trunk1]int g0/0/23

[SW2-GigabitEthernet0/0/23]eth-trunk 1

[SW2-GigabitEthernet0/0/23]int g0/0/24

[SW2-GigabitEthernet0/0/24]eth-trunk 1

[SW2-GigabitEthernet0/0/24]q

[SW2]

[SW2]int et

[SSW2]int Eth-Trunk 1

[SW2-Eth-Trunk1]port li

[SW2-Eth-Trunk1]port link-type tru

[SW2-Eth-Trunk1]port link-type trunk

[SW2-Eth-Trunk1]port trunk allow-pass vlan all

[SW2-Eth-Trunk1]disp th

#

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

#

[SW2]disp stp brief

MSTID Port Role STP State Protection

0 Eth-Trunk1 DESI FORWARDING NONE

[SW2]disp int eth-trunk 1

Eth-Trunk1's state information is:

WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP

Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8

Operate status: up Number Of Up Port In Trunk: 2

--------------------------------------------------------------------------------

PortName Status Weight

GigabitEthernet0/0/23 Up 1

GigabitEthernet0/0/24 Up 1

[SW2]disp int Eth-Trunk 1

Eth-Trunk1 current state : UP

Line protocol current state : UP

Description:

Switch Port, PVID : 1, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW:

2G, Current BW: 2G, The Maximum Frame Length is 9216

IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc2e-653e

Current system time: 2020-09-03 22:32:12-08:00

Input bandwidth utilization : 0%

Output bandwidth utilization : 0%

-----------------------------------------------------

PortName Status Weight

-----------------------------------------------------

GigabitEthernet0/0/23 UP 1

GigabitEthernet0/0/24 UP 1

-----------------------------------------------------

The Number of Ports in Trunk : 2

The Number of UP Ports in Trunk : 2

本文主要介绍了关于链路聚合配置有什么用(交换机链路聚合配置详解)的相关养殖或种植技术,综合百科栏目还介绍了该行业生产经营方式及经营管理,关注综合百科发展动向,注重系统性、科学性、实用性和先进性,内容全面新颖、重点突出、通俗易懂,全面给您讲解综合百科技术怎么管理的要点,是您综合百科致富的点金石。
以上文章来自互联网,不代表本人立场,如需删除,请注明该网址:http://seotea.com/article/1440050.html