雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1178|回复: 3

[求助] 三层交换机做链路聚。

[复制链接]
发表于 2018-1-17 09:33:24 | 显示全部楼层 |阅读模式


在三层交换机做链路聚合下面的配置命令正确吗,按照下面的命令做法设置不了地址,不设置地址我试了一下好像也是可以的,不懂唉不懂唉,总感觉这个配置的有毛病。
   三层EtherChannel基本配置
   三层EtherChannel需要交换机有三层功能
sw1(config)#int rangef0/1 -2
sw1(config-if-range)#channel-group1 mode active
sw1(config-if-range)#noswitchport
sw1(config-if-range)#no shut
sw1(config-if-range)#exit
sw1(config)#intport-channel 1
sw1(config-if)#ip add 1.1.1.1255.0.0.0
sw2(config)#int rangef0/1 -2
sw2(config-if-range)#channel-group1 mode active
sw2(config-if-range)#noswitchport
sw2(config-if-range)#noshut
sw2(config-if-range)#exit
sw2(config)#intport-channel 1
sw2(config-if)#ip add 1.1.1.2255.0.0.0
 楼主| 发表于 2018-1-17 09:36:19 | 显示全部楼层
没有设置地址,这下面是查询的结果Switch#sh etherchannel summary  Flags:  D - down        P - in port-channel         I - stand-alone s - suspended         H - Hot-standby (LACP only)         R - Layer3      S - Layer2         U - in use      f - failed to allocate aggregator         u - unsuitable for bundling         w - waiting to be aggregated         d - default port   Number of channel-groups in use: 1 Number of aggregators:           1  Group  Port-channel  Protocol    Ports ------+-------------+-----------+----------------------------------------------  1      Po1(SU)           LACP   Fa0/1(P) Fa0/2(P)  Switch#sh sp vlan 1 VLAN0001   Spanning tree enabled protocol ieee   Root ID    Priority    32769              Address     0001.C965.E1B4              This bridge is the root              Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec    Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)              Address     0001.C965.E1B4              Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec              Aging Time  20  Interface        Role Sts Cost      Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/3            Desg FWD 19        128.3    P2p Po1              Desg FWD 9         128.27   Shr
发表于 2019-3-28 15:26:59 | 显示全部楼层
好得不能再好的好帖! 平移门 http://www.ssmdd.com
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-20 06:26 , Processed in 0.077480 second(s), 21 queries , Gzip On.

快速回复 返回顶部 返回列表