导航:首页 > 程序命令 > 思科链路聚合命令

思科链路聚合命令

发布时间:2022-08-01 13:04:58

1. 思科三层交换机之间的链路聚合 配置命令

1、使用eNSP创建网络拓扑图,客户端口访问server有很大数据流量,为了防止web服务器正常访问受限,进行链路聚合配置。

2. CISCO 链路聚合的怎么回事求原理 求配置命令!

链路聚合是将两个或更多数据信道结合成一个单个的信道,该信道以一个单个的更高带宽的逻辑链路出现。链路聚合一般用来连接一个或多个带宽需求大的设备,例如连接骨干网络的服务器或服务器群
一、 实验要求
设备 IP Mask 端口
交换机 A 192.168.1.11 255.255.255.0 0/0/1-2 trunking
交换机 B 192.168.1.12 255.255.255.0 0/0/3-4 trunking
PC1 192.168.1.101 255.255.255.0 交换机 A0/0/23
PC2 192.168.1.102 255.255.255.0 交换机 B0/0/24
如果链路聚合成功,则 PC1 可以ping 通 PC2。
二、 实验步骤
第一步:正确连接网线,交换机全部恢复出厂设置,做初始配置,避免广播风暴出现
交换机A: switch#config
switch(Config)#hostname switchA
switchA(Config)#interface vlan 1
switchA(Config-If-Vlan1)#ip address 192.168.1.11 255.255.255.0
switchA(Config-If-Vlan1)#no shutdown
switchA(Config-If-Vlan1)#exit
switchA(Config)#spanning-tree
MSTP is starting now, please wait...........
MSTP is enabled successfully.
switchA(Config)#
交换机B: switch#config
switch(Config)#hostname switchB
switchB(Config)#interface vlan 1
switchB(Config-If-Vlan1)#ip address 192.168.1.12 255.255.255.0
switchB(Config-If-Vlan1)#no shutdown
switchB(Config-If-Vlan1)#exit
switchB(Config)#spanning-tree
MSTP is starting now, please wait...........
MSTP is enabled successfully.
switchB(Config)#
第二步:创建port group
交换机A: switchA(Config)#port-group 1
switchA(Config)#
验证配置: switchA#show port-group detail Sorted by the ports in the group 1: --------------------------------------------
switchA#show port-group brief Port-group number : 1 Number of ports in port-group : 0 Maxports in port-channel = 8 Number of port-channels : 0 Max port-channels : 1 switchA#
交换机B
switchB(Config)#port-group 2
switchB(Config)#
第三步:手工生成链路聚合组(第三、四步任选其一操作)
交换机A: switchA(Config)#interface ethernet 0/0/1-2
switchA(Config-Port-Range)#port-group 1 mode on
switchA(Config-Port-Range)#exit
switchA(Config)#interface port-channel 1
switchA(Config-If-Port-Channel1)#
验证配置: switchA#show vlan VLAN Name Type Media Ports ---- ------------ ---------- --------- ------------------- 1 default Static ENET Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6 Ethernet0/0/7 Ethernet0/0/8 Ethernet0/0/9 Ethernet0/0/10 Ethernet0/0/11 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14 Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17 Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22 Ethernet0/0/23 Ethernet0/0/24 Port-Channel1 switchA# !port-channel1已经存在 交换机B: switchB(Config)#int e 0/0/3-4 switchB(Config-Port-Range)#port-group 2 mode on switchB(Config-Port-Range)#exit switchB(Config)#interface port-channel 2 switchB(Config-If-Port-Channel2)# 验证配置: switchB#show port-group brief Port-group number : 2 Number of ports in port-group : 2 Maxports in port-channel = 8 Number of port-channels : 1 Max port-channels : 1 switchB# 第四步: LACP动态生成链路聚合组(第三、四步任选其一操作) switchA(Config)#interface ethernet 0/0/1-2 switchA(Conifg-Port-Range)#port-group 1 mode active switchA(Config)#interface port-channel 1 switchA(Config-If-Port-Channel1)# 验证配置: switchA#show vlan VLAN Name Type Media Ports ---- ------------ ---------- --------- ------------------- 1 default Static ENET Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6 Ethernet0/0/7 Ethernet0/0/8 Ethernet0/0/9 Ethernet0/0/1 Ethernet0/0/11 Ethernet0/0/1 Ethernet0/0/13 Ethernet0/0/1 Ethernet0/0/15 Ethernet0/0/1 Ethernet0/0/17 Ethernet0/0/1 Ethernet0/0/19 Ethernet0/0/2 Ethernet0/0/21 Ethernet0/0/2 Ethernet0/0/23 Ethernet0/0/2 Port-Channel1 switchA# !port-channel1已经存在 交换机B: switchB(Config)#interface ethernet 0/0/3-4 switchB(Conifg-Port-Range)#port-group 2 mode passive switchB(Config)#interface port-channel 2 switchB(Config-If-Port-Channel2)# 验证配置: switchB#show port-group brief Port-group number : 2 Number of ports in port-group : 2 Maxports in port-channel = 8 Number of port-channels : 1 Max port-channels : 1 switchB# 第五步:使用ping命令验证 使用PC1 ping PC2 交换机A 交换机B 结果 原因 0/0/1 0/0/3 通 链路聚合组连接正确 0/0/2 0/0/4 0/0/1 0/0/3 通 拔掉交换机B端口4的网线,仍然可 0/0/2 以通(需要一点时间),此时用show

3. 思科交换机链路聚合命令是什么还有顺带说下意思。谢谢哈。 扣扣314527726

尤其在核心交换机之间很容易出现带宽瓶颈,因为全部的流量都通过它。
解决方法:
1、更换为高速端口 (增加了成本)
2、交换机间增加链路 (技术支持)

Cisco提供捆绑多条平行链路成一条逻辑链路来几乎成倍增加带宽
此技术有很多名称
以太网通道、以太网捆绑、以太网汇聚、链路捆绑、链路汇聚、链路聚合
命令
int rang f0/12-13
sw mode trunk
channel-group 1 mode on
两端交换机都要做 (组号"1"必须相同)

亦可指定协议(即两端协议要一样)
channel-p pagp (Cisco私有)
channel-p lacp (标准协议)
默认不配是pagp协议

4. 思科三层交换机之间的链路聚合怎样配置

还是说一下你的需求吧。。先给你几个基本的
上面说到的 我就不说了 既然是三层交换机 肯定端口可以2层3层转化
转换模式的时候 用到这个命令:在想要修改的端口下输入 no switchport(开启三层端口)要想恢复回来输入:switchport 就可以了 默认三层交换机端口都为2层
一般用交换机要配置Vlan,比如说1~12端口都要画在Vlan2里(Vlan1是默认的,所有端口都在Vlan1里)用命令:vlan 1 创建(根据IOS版本不同命令有所不同)然后用rang命令进入这12个端口 int f0/1 - 12 (根据交换机不同 端口字符可能不同)输入 switchport mode access 然后回车 输入 switchport access vlan2 就OK 了 如果还有级联的话 比如说24口级联交换机了 用命令:switchport trunk en dot1q 回车输入 switchport mode trunk(根据交换机不同 有的不用设置 封装.1q)

5. 思科三层交换机与二层交换机之间如何做链路聚合请赐教详细配置方法。

还是说一下你的需求吧。。先给你几个基本的 上面说到的 我就不说了 既然是三层交换机 肯定端口可以2层3层转化 转换模式的时候 用到这个命令:在想要修改的端口下输入 no switchport(开启三层端口)要想恢复回来输入:switchport 就可以了 默认三层交换机端口都为2层 一般用交换机要配置Vlan,比如说1~12端口都要画在Vlan2里(Vlan1是默认的,所有端口都在Vlan1里)用命令:vlan 1 创建(根据IOS版本不同命令有所不同)然后用rang命令进入这12个端口 int f0/1 - 12 (根据交换机不同 端口字符可能不同)输入 switchport mode access 然后回车 输入 switchport access vlan2 就OK 了 如果还有级联的话 比如说24口级联交换机了 用命令:switchport trunk en dot1q 回车输入 switchport mode trunk(根据交换机不同 有的不用设置 封装.1q)

阅读全文

与思科链路聚合命令相关的资料

热点内容
dota2怎么设置国服服务器地址 浏览:212
单片机高电平驱动 浏览:115
ios多选文件夹 浏览:909
加强行车调度命令管理 浏览:243
服务器已禁用什么意思 浏览:150
部队命令回复 浏览:755
神奇宝贝服务器地图怎么设置 浏览:382
加密算法输出固定长度 浏览:862
程序员去重庆还是武汉 浏览:121
服务器如何撤销网页登录限制 浏览:980
微信公众平台php开发视频教程 浏览:628
怎么看苹果授权绑定的app 浏览:255
压缩机单级压缩比 浏览:380
linux测试php 浏览:971
什么时候梁旁边需要加密箍筋 浏览:40
微信清粉软件源码 浏览:717
matlabdoc命令 浏览:550
如何去ping服务器 浏览:75
ecshop安装php55 浏览:817
javaword库 浏览:958