Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1395742
  • 博文数量: 269
  • 博客积分: 3602
  • 博客等级: 中校
  • 技术积分: 4535
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:13
文章分类

全部博文(269)

文章存档

2014年(8)

2013年(139)

2012年(122)

分类:

2012-06-16 13:50:42

3550()#interface gigabitethernet 0/1
3550()#switchport
3550(config-if)#channel-group 1 mode desirable
3550(config-if)#exit
3550(config)#interface gigabitethernet 0/2
3550(config-if)#switchport
3550(config-if)#channel-group 1 mode desirable
3550(config-if)#exit
3550(config)#interface port-channel 1
3550(config-if)#switchport mode trunk

show etherchannel 1 summary
show etherchannel summary 查看所有的group

配置三层channel
3550(config)#interface gigabitethernet 0/1
3550(config-if)#no switchport
3550(config-if)#channel-group 1 mode desirable
3550(config-if)#exit
3550(config)#interface gigabitethernet 0/2
3550(config-if)#no switchport
3550(config-if)#channel-group 1 mode desirable
3550(config-if)#exit
3550(config)#interface port-channel 1
3550(config-if)#ip address 100.1.1.1 255.255.255.0

还有一种好的办法是先对每个接口封装trunk,再划入channel-group中,channel-group接口会自动继承trunk

配置etherchannel负载均衡

port-channel load-balance [dst-mac|src-mac]

show etherchannel load-balance

阅读(779) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~