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交换机无需要配置 |