A. 思科 3560和2960如何做端口聚合具体操作命令,
一般是这么做的:
假如你有f0/24和f0/23要做聚合
interface range f0/23 - 24
sw trunk enca dot
sw mode trunk
channel-group 1 mode on
no shut
就可以了。
mode on 表示强制执行聚合。如果是mode desirable,表示很愿意执行聚合,如果对端也是desirable活着是auto都行。如果是mode auto,那么对端必须是desirable才能聚合。
一般来说,想做聚合mode on静态指定比较好。
B. h3c端口聚合命令
在用户界面下配置interface bridge-aggregation 序号(只能为数字),比如interface bridge-aggregation 1。在你要聚合的端口下比如23和24号端口聚合的话,打INT G1/0/24 在这个端口的界面下打port link-aggregation group 1就加入聚合组了。另一个端口以此类推。两端交换都要做聚合。这个是V5版本的静态聚合模式的配置。V3版本的配置方式和命令都不一样是如下配置
在用户界面下link-aggregation group 序号(如1) mode static,在接口的视图下如INT G1/0/24
下打port link-aggregation group 1,另外的端口以此类推。聚合就建立了。注意下如果V5版本配置聚合组到VLAN或做TRUNK是直接在聚合组下配置,V3则是在聚合的每端口下配置(配置要一样)否则聚合无效。E=100M端口 G=1000端口 T=万M端口
C. cisco怎么配置聚合端口聚合
思科交换机的端口汇聚
Cat2950的配置:
Cat2950#conf t
Cat2950(config)#vtp mode server
Cat2950(config)#vtp domain cisco
Cat2950(config)#vlan 10
Cat2950(config-vlan)#exit
Cat2950(config)#vlan 20
Cat2950(config-vlan)#exit
Cat2950(config)#int range fa0/5 - 14
Cat2950(config-if-range)#switchport access vlan 10
Cat2950(config-if-range)#exit
Cat2950(config)#int range fa0/15 - 26
Cat2950(config-if-range)#switchport access vlan 20
Cat2950#conf t
Cat2950(config)#int vlan 10
Cat2950(config-if)#ip address 10.10.10.10 255.255.255.0
Cat2950(config)#ip default-gateway 10.10.10.1
Cat2950(config-if)#no shutdown
Cat2950(config)#int port-channel 1
Cat2950(config-if)#exit
Cat2950(config)#int fa0/2
Cat2950(config-if)#channel-group 1 mode on
Cat2950(config-if)#exit
Cat2950(config)#int fa0/3
Cat2950(config-if)#channel-group 1 mode on
Cat2950(config-if)#exit
Cat2950(config)#int port-channel 1
Cat2950(config-if)#switchport mode trunk
Cat2950(config-if)#switchport trunk native vlan 10
cisco7200的配置:
Cisco7200#conf t
Cisco7200(config)#int port-channel 1
Cisco7200(config-if)#exit
Cisco7200(config)#int fa3/0
Cisco7200(config-if)#channel-group 1
Cisco7200(config-if)#exit
Cisco7200(config)#int fa4/0
Cisco7200(config-if)#channel-group 1
Cisco7200(config-if)#exit
Cisco7200(config)#int port-channel 1.10
Cisco7200(config-subif)#encapsulation dot1Q 10 native
Cisco7200(config-subif)#ip address 10.10.10.1 255.255.255.0
Cisco7200(config-subif)#exit
Cisco7200(config)#int port-channel 1.20
Cisco7200(config-subif)#encapsulation dot1Q 20
Cisco7200(config-subif)#ip address 10.10.11.1 255.255.255.0
Cisco7200(config-subif)#exit
Cisco7200(config)#exit
端口的聚合有两种方式,一种是手动的方式,一个是自动协商的方式。(1)手动方式 这种方式很简单,设置端口成员链路两端的模式为“on”。
命令格式为: channel-group <number组号> mode on
(2)自动方式 自动方式有两种协议:PAgP(Port Aggregation Protocol)和LACP(Link aggregation Control Protocol)。
PAgP:Cisco设备的端口聚合协议,有auto和desirable两种模式。
auto模式在协商中只收不发,desirable模式的端口收发协商的数据包。
LACP:标准的端口聚合协议802.3ad,有active和passive两种模式。
active相当于PAgP的auto,而passive相当于PAgP的desirable。
1:在(config)#模式下,输入int port-channel ID(1-64)
2:假设要把F0/23和F0/24聚合,那么分别在起端口配置里面输入:switchport trunkencapsulation dot1qswitchport mode trunk(假设有多个VLAN)plex fullspeed 100no cdp enablechannel-group 1 mode on(这里的1就是开始创建的数字),或者直接在需要做端口聚合的端口上执行下面命令int port-ch 10channel-g 10 mode acchannel-g p lacp(panp)然后只要在对端交换机也做同样配置就可以了
来源“侠客居”的博客。
D. h3c端口聚合命令是什么
创建聚合端口:
[Switch] interface bridge-aggregation interface-number
讲以太网口加入到聚合组里:
[Switch-Ethernet1/0/1] port link-aggregation group number
E. 华为链路聚合配置命令
方法/步骤
首先进入系统视图
system-view
创建eth-trunk接口
interface Eth-Trunk 1
然后在Eth-Trunk逻辑口上执行undo portswitch命令,把聚合链路从二层转换到三层
undo portswitch
华为交换机三层链路聚合配置
一般是不能再逻辑接口上配置ip地址的,可以直接通过起svi,然后在svi上配置地址,将eth-trunk接口配置成trun,将相应的VLAN允许通过,很好的解决了需求。
将三层接口加入到eth-trunk中
interface GigabitEthernet 0/0/1
eth-trunk 1
华为交换机三层链路聚合配置
检查配置结果
display interface eth-trunk 1
华为交换机三层链路聚合配置
7
另一个交换机同上一样的配置步骤
F. 中兴交换机聚合命令
portchannel。
把2-24端口归到VLAN1下,2-24端口如果互相隔离,可以用PVLAN删除隔离端口即可。
命令的使用要注意各种用户模式。
G. 华为交换机配置端口聚合命令的名称及其方法
配置端口聚合
要求聚合的端口工作在全双工,速度一致,在同一槽口且连续。
参数:ingress:源MAC, both:源和目的MAC
对于SwitchA:
[Quidway]sysname SwitchA
[SwitchA]interface ethernet0/1
[SwitchA-Ethernet0/1]plex full
[SwitchA-Ethernet0/1]speed 100
[SwitchA-Ethernet0/1]port link-type trunk
[SwitchA-Ethernet0/1]port trunk permit vlan all
[SwitchA-Ethernet0/1]int e0/2
[SwitchA-Ethernet0/2]plex full
[SwitchA-Ethernet0/2]speed 100
[SwitchA-Ethernet0/2]port link-type trunk
[SwitchA-Ethernet0/2]port trunk permit vlan all
对于SwitchB:
[Quidway]sysname SwitchB
[SwitchB]interface ethernet0/1
[SwitchB-Ethernet0/1]plex full
[SwitchB-Ethernet0/1]speed 100
[SwitchB-Ethernet0/1]port link-type trunk
[SwitchB-Ethernet0/1]port trunk permit vlan all
[SwitchB-Ethernet0/1]int e0/2
[SwitchB-Ethernet0/2]plex full
[SwitchB-Ethernet0/2]speed 100
[SwitchB-Ethernet0/2]port link-type trunk
[SwitchB-Ethernet0/2]port trunk permit vlan all
聚合操作:
[SwitchA]link-aggregation ethernet0/1 to ethernet0/2 both
[SwitchB]link-aggregation ethernet0/1 to ethernet0/2 both
[SwitchA]display link-aggregation ethernet0/1
[SwitchA]undo link-aggregation all
这是S3026的
H. cisco中2950-24于3560-24交换机聚合用什么命令
根据你的要求,我自己用packet tracer做了一个。2950与3560交换机进行2端口端口汇聚网络拓扑设置情况:cisco2950 F0/1 <----> cisco3560 f0/1
cisco2950 F0/2 <----> cisco3560 f0/2进行聚合使用1)3560配置情况:
test3560(config)#interface f0/1
test3560(config-if)#speed auto
test3560(config-if)#plex auto
test3560(config)#interface f0/2
test3560(config-if)#speed auto
test3560(config-if)#plex auto
test3560(config)#interface range f0/1 -2
test3560(config-if-range)#channel-group 1 mode desirable
test3560(config-if-range)#switchport trunk encapsulation dot1q
test3560(config-if-range)#switchport mode trunk
test3560(config-if-range)#no shutdown
2)2950配置情况:
Switch(config)#interface fa0/1
Switch(config-if)#speed auto
Switch(config-if)#plex auto
Switch(config)#interface fa0/2
Switch(config-if)#speed auto
Switch(config-if)#plex auto
Switch(config)#interface range fa0/1 -2
Switch(config-if-range)#channel-group 1 mode desirable
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk allowed vlan all
(2950交换机没有encapsulation加密
Switch(config-if-range)#switchport trunk encap ?
% Unrecognized command)
I. 思科三层交换机之间的链路聚合 配置命令
1、使用eNSP创建网络拓扑图,客户端口访问server有很大数据流量,为了防止web服务器正常访问受限,进行链路聚合配置。
J. 华为交换机配置端口聚合命令
both表示汇聚组中各成员端口根据源MAC地址和目的MAC地址对出端口方向的数据流进行负荷分担;
ingress表示汇聚组中各成员端口仅根据MAC地址对出端口方向的数据流进行负荷分担,这个是默认的。