Dell交换机配置

    交换机配置    

一.启用交换机上的端口,交换机的端口为Gi 1/1到 Gi 1/24 , Te 1/25到Te 1/28    

 

 

 

 

 

 

 

      

                    图一

Dell>enable

Dell#

Dell#configure

Dell(config)#

Dell(config)#interface range gigabitethernet 1/1 - 1/24

Dell(config-ran-1-1/1-24)#no shutdown

Dell(config-ran-1-1/1-24)# switchport

Dell(config-ran-1-1/1-24)#exit    

Dell(config)#

Dell(config)#interface range tengigabitethernet 1/25 - 1/28

Dell(config-ran-1-25/1-28)#no shutdown

Dell(config-ran-1-25/1-28)# switchport

Dell(config-ran-1-25/1-28)#exit

Dell(config)#exit

Dell#write

 

二.端口聚合(Trunk模式),交换机的端口1/13,1/14,1/15,1/16, 做端口聚合

 

 

 

 

 

 

 

 

 

             图二

 

 

Dell>enable

Dell#

Dell#configure

Dell(config)#interface range gigabitethernet 1/13 - 1/16

Dell(config-ran-1-13/1-16)# no shutdown    

Dell(config-ran-1-13/1-16)# no switchport    

Dell(config-ran-1-13/1-16)#exit

Dell(config)#

Dell(config)#interface port-channel 1

Dell(config-port-ch-1)#channel-member gigabitethernet 1/13

Dell(config-port-ch-1)#channel-member gigabitethernet 1/14

Dell(config-port-ch-1)#channel-member gigabitethernet 1/15

Dell(config-port-ch-1)#channel-member gigabitethernet 1/16

Dell(config-port-ch-1)# no shutdown    

Dell(config-port-ch-1)# switchport    

Dell(config-port-ch-1)#exit

Dell(config)#exit

Dell#    write    

 

 

三.链路聚合配置(LACP动态聚合),交换机A与交换机B,交换机C做链路聚合,交换机A端口Te 1/25连接交换机B端口Te 1/25, 交换机A端口Te 1/26连接交换机B端口Te 1/26。

 

 

                    图三

1.登陆交换机A

Dell>enable

Dell#

Dell#configure

Dell(config)#interface range tengigabitethernet 1/25 - 1/26

Dell(config-ran-1-25/1-26)# no shutdown    

Dell(config-ran-1-25/1-26)# no switchport    

Dell(config-ran-1-25/1-26)# port-channel-protocol lacp

Dell(config-ran-1-25/1-26-lacp)# port-channel 1 mode active

Dell(config-ran-1-25/1-26-lacp)#exit    

Dell(config-ran-1-25/1-26)#exit

Dell(config)#

Dell(config)#interface port-channel 1

Dell(config-port-ch-1)# no shutdown    

Dell(config-port-ch-1)# switchport    

Dell(config-port-ch-1)#exit

Dell(config)#exit

Dell#    write    

 

2.登陆交换机B

Dell>enable

Dell#

Dell#configure

Dell(config)#interface range tengigabitethernet 1/25

Dell(config-ran-1-25)# no shutdown    

Dell(config-ran-1-25)# no switchport    

Dell(config-ran-1-25)# port-channel-protocol lacp

Dell(config-ran-1-25-lacp)# port-channel 2 mode active

Dell(config-ran-1-25-lacp)#exit    

Dell(config-ran-1-25)#exit

Dell(config)#

Dell(config)#interface port-channel 2

Dell(config-port-ch-2)# no shutdown    

Dell(config-port-ch-2)# switchport    

Dell(config-port-ch-2)#exit

Dell(config)#exit

Dell#    write    

 

3.登陆交换机C

Dell>enable

Dell#

Dell#configure

Dell(config)#interface range tengigabitethernet 1/26

Dell(config-ran-1-26)# no shutdown    

Dell(config-ran-1-26)# no switchport    

Dell(config-ran-1-26)# port-channel-protocol lacp

Dell(config-ran-1-26-lacp)# port-channel 3 mode active

Dell(config-ran-1-26-lacp)#exit    

Dell(config-ran-1-26)#exit

Dell(config)#

Dell(config)#interface port-channel 3

Dell(config-port-ch-3)# no shutdown    

Dell(config-port-ch-3)# switchport    

Dell(config-port-ch-3)#exit

Dell(config)#exit

Dell#    write    

 

  • 1
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值