涛子 - 简单就是美

成单纯魁增,永继振国兴,克复宗清政,广开家必升

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

公司海外机房引入2G带宽,是由2个电口绑定实现的。因业务需要扩容到3G,在绑定端口扩展性不太好,因此直接上10G光纤模块。
机房技术人员建议,2g老线路不撤做备份,3g新线路在线使用。使用STP协议实现。
以下是交换机配置,我们是force10 s50N

# 开启生成树协议,所有端口禁用生成树协议
protocol spanning-tree 0 
 no disable 
!

# g0/1, g0/48绑定
interface GigabitEthernet 0/1
 no ip address
!  
 port-channel-protocol LACP 
  port-channel 1 mode active 
 no shutdown
!

# Port-channel 1,权重10000
interface Port-channel 1
 no ip address
 switchport
 spanning-tree 0 cost 10000 
 no shutdown
!

interface GigabitEthernet 0/48
 no ip address
!  
 port-channel-protocol LACP 
  port-channel 1 mode active 
 no shutdown

# t0/51 权重100,越小越优先
interface TenGigabitEthernet 0/51
 no ip address
 switchport
 spanning-tree 0 cost 100 
 no shutdown
!

interface Vlan 3
 ip address 69.169.34.30/27
 untagged GigabitEthernet 0/2-38,45-47
 untagged TenGigabitEthernet 0/51-52
 untagged Port-channel 1-4
 no shutdown
!
posted on 2016-05-17 16:15  北京涛子  阅读(734)  评论(0编辑  收藏  举报