存储IP网络三种类型对接网络交换机的配置差异

LACP - Dynamic MultiMode VIF 

备注:需要交换机支持LACP

拓扑

 

Cisco 交换机配置

!!!!!!     The following interface is a virtual interface for the etherchannel.  This interface must be referenced

!!!!!!      on the physical interface to create the channel.

 

interface Port-channel 1

  description Virtual Interface for Etherchannel to filer

  switchport

 

  switchport mode access

 

  switchport nonegotiate

  spanning-tree guard loop

 

  spanning-tree portfast

!

 

!!!!!  The following are the physical interfaces in the channel.  The above is the virtual interface for the channel.

!!!!!  Each physical interface will reference the virtual interface.

 

 interface GigabitEthernet 2/12

description filer interface e0a

switchport

switchport mode access

 

switchport nonegotiate

flowcontrol receive on

 

no cdp enable

spanning-tree guard loop

spanning-tree portfast

channel-protocol lacp

channel-group 1 mode active

 

!!!!!!

!!!!!!  The above channel-group command is the command which bonds the physical interface to the virtual interface

!!!!!!  previously created.  The command following the channel number is the mode - active is for LACP.

!!!!!!

!

interface GigabitEthernet 2/13

  description filer interface e0b

  switchport

  switchport mode access

switchport nonegotiate

  flowcontrol receive on

 

no cdp enable

  spanning-tree guard loop

  spanning-tree portfast

  channel-protocol lacp

  channel-group 1 mode active

!

interface GigabitEthernet 2/14

  description filer interface e0c

  switchport

  switchport mode access

 

switchport nonegotiate

  flowcontrol receive on

no cdp enable

  spanning-tree guard loop

  spanning-tree portfast

  channel-protocol lacp

  channel-group 1 mode active

!

interface GigabitEthernet 2/15

  description filer interface e0d

  switchport

  switchport mode access

 

switchport nonegotiate

  flowcontrol receive on

 

no cdp enable

  spanning-tree guard loop

  spanning-tree portfast

  channel-protocol lacp

  channel-group 1 mode active

Static EtherChannel - Static MultiMode 

备注:一般常用的Multi配置方式

拓扑

 

 

 

Cisco 交换机配置

!!!!!!     The following interface is a virtual interface for the etherchannel.  This interface must be referenced

!!!!!!      on the physical interface to create the channel.

 

 

interface Port-channel 1

description Virtual Interface for Etherchannel to filer

switchport

 

switchport mode access

switchport nonegotiate

spanning-tree guard loop

 

spanning-tree portfast

!

interface GigabitEthernet 2/12

description filer interface e0a

switchport

switchport mode access

switchport nonegotiate

flowcontrol receive on

 

no cdp enable

spanning-tree guard loop

spanning-tree portfast

channel-group 1 mode on

 

 

!!!!!!

!!!!!!  The above channel-group command is the command which bonds the physical interface to the virtual interface

!!!!!!  previously created.  The command following the channel number is the mode - active is for LACP.

!!!!!!

!

interface GigabitEthernet 2/13

  description filer interface e0b

  switchport

  switchport mode access

  switchport nonegotiate

  flowcontrol receive on

 

no cdp enable

  spanning-tree guard loop

  spanning-tree portfast

  channel-group 1 mode on

 

 

!

interface GigabitEthernet 2/14

  description filer interface e0c

  switchport

  switchport mode access

  switchport nonegotiate

  flowcontrol receive on

 

no cdp enable

  spanning-tree guard loop

  spanning-tree portfast

  channel-group 1 mode on

 

 

!

interface GigabitEthernet 2/15

  description filer interface e0d

  switchport

  switchport mode access

  switchport nonegotiate

  flowcontrol receive on

 

no cdp enable

  spanning-tree guard loop

  spanning-tree portfast

  channel-group 1 mode on

Single-mode

 

拓扑

 

Cisco 交换机配置

single-mode交换机无需要配置

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值