日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

交換機鏈路聚合配置詳解 鏈路聚合配置有什么用

1、鏈路聚合——將多個物理端口捆綁為一個邏輯端口,對邏輯端口進行配置,從而達到增加鏈路帶寬和鏈路備份的目的 。鏈路聚合一般用在核心交換機上,物理端口最好是2的倍數(shù)來做捆綁 。

交換機鏈路聚合配置詳解 鏈路聚合配置有什么用


2、鏈路聚合的模式有兩種,手工負載分擔和LACP,手工負載分擔模式下所有活動線路的端口都參與數(shù)據(jù)的轉(zhuǎn)發(fā)和分擔流量,LACP模式支持鏈路備份 。
3、做鏈路聚合的端口速率、接口數(shù)量、雙工方式、端口模式(truck or access)必須一樣 。
4、做鏈路聚合的端口下不能有任何配置,對邏輯端口Eth-Trunk進行配置 。
5、下面一起看看詳細配置吧,準備兩臺5700交換機,如圖:
一、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
二、SW2配置:
[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

推薦閱讀