我们已经准备好了,你呢?

2022我们与您携手共赢,为您的企业网络安全保驾护航!

1.进入端口配置#interface range GigabitEthernet1/1/1-4

创建虚拟通道并配置trunk

#channel-group 2 mode auto   模式为auto

#switchport trunk encapsulation dot1q

#switchport mode trunk

生成如下配置:

interface GigabitEthernet1/1/1

 switchport trunk encapsulation dot1q

 switchport mode trunk

 channel-group 2 mode auto

!

interface GigabitEthernet1/1/2

 switchport trunk encapsulation dot1q

 switchport mode trunk

 channel-group 2 mode auto

!

interface GigabitEthernet1/1/3

 switchport trunk encapsulation dot1q

 switchport mode trunk

 channel-group 2 mode auto

!

interface GigabitEthernet1/1/4

 switchport trunk encapsulation dot1q

 switchport mode trunk

 channel-group 2 mode auto

!

同时在全局模式下,自动生成

!

interface Port-channel2

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

2.同样方法在另一台交换机相应的端口上做如上同样的配置

3.在交换机上查看聚合信息

NST3750#sh etherchannel summary 

Flags:  D - down        P - bundled 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

        M - not in use, minimum links not met

        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

------+-------------+-----------+-----------------------------------------------

2      Po2(SU)         PAgP      Gi1/1/1(P)  Gi1/1/2(P)  Gi1/1/3(D)  

                                 Gi1/1/4(D)  

NST3750#sh etherchannel port-channel 

 Channel-group listing: 

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

Group: 2 

----------

 Port-channels in the group: 

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

Port-channel: Po2

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

Age of the Port-channel   = 8d:19h:28m:54s

Logical slot/port   = 10/2          Number of ports = 2

GC                  = 0x00020001      HotStandBy port = null

Port state          = Port-channel Ag-Inuse 

Protocol            =   PAgP

Port security       = Disabled

Ports in the Port-channel: 

Index   Load   Port     EC state        No of bits

------+------+------+------------------+-----------

  0     00     Gi1/1/1  Automatic-Sl       0

  0     00     Gi1/1/2  Automatic-Sl       0

Time since last port bundled:    0d:00h:05m:01s    Gi1/1/2

Time since last port Un-bundled: 0d:00h:05m:27s    Gi1/1/2 

聚合模式选择:

20180408103121335.png


我们凭借多年的智能化设计及施工经验,坚持以“帮助中小企业实现现代化网络”为宗旨,累计为4000多家客户提供品质智能化服务,得到了客户的一致好评。如果您有综合布线、计算机网络、无线覆盖、门禁考勤、机房建设、防火墙、路由器及交换机调试等方面的需求...
请立即点击咨询我们或拨打咨询热线: 17804441181,我们会详细为你一一解答你心中的疑难。项目经理在线

我们已经准备好了,你呢?

2022我们与您携手共赢,为您的企业网络安全保驾护航!

在线客服
联系方式

热线电话

17804441181

上班时间

周一到周五

公司电话

+86-512-65829193

二维码
微信
线