スポンサーリンク

Layer 3 EtherChannel

スポンサーリンク

REFERENCE

Configuring EtherChannels and Link-State Tracking

MEMO

Switch(config)#interface range gigabitEthernet 1/0-1
Switch(config-if-range)#no switchport
Switch(config-if-range)#
Switch(config-if-range)#
Switch(config-if-range)#channel-group ?
  <1-255>  Channel group number
  auto     Enable LACP auto on this interface

Switch(config-if-range)#
Switch(config-if-range)#channel-group 12 mode ?
  active     Enable LACP unconditionally
  auto       Enable PAgP only if a PAgP device is detected
  desirable  Enable PAgP unconditionally
  on         Enable Etherchannel only
  passive    Enable LACP only if a LACP device is detected

Switch(config-if-range)#
  • channel-groupはno switchportの後に実施
SW3(config)#int range fa1/0/21 - 22
SW3(config-if-range)#channel-group 23 mode active
Creating a port-channel interface Port-channel 23

SW3(config-if-range)#
SW3(config-if-range)#no switchport
SW3(config-if-range)#
SW3(config-if-range)#int po 23
SW3(config-if)#ip add 192.168.0.3 255.255.255.0
                    ^
% Invalid input detected at '^' marker.

SW3(config-if)#do show etherchannel sum
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
23     Po23(SD)         -
SW2(config)#int range fa1/0/21 - 22
SW2(config-if-range)#no switchport
SW2(config-if-range)#channel-group 23 mode active
Creating a port-channel interface Port-channel 23

SW2(config-if-range)#
SW2(config-if-range)#int po 23
SW2(config-if)#ip add 192.168.0.2 255.255.255.0
SW2(config-if)#no shut
SW2(config-if)#
*Mar  1 00:05:51.910: %EC-5-L3DONTBNDL2: Fa1/0/22 suspended: LACP currently not enabled on the remote port.
*Mar  1 00:05:52.044: %EC-5-L3DONTBNDL2: Fa1/0/21 suspended: LACP currently not enabled on the remote port.
SW2(config-if)#do show etherchannel sum
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator

        M - not in use, minimum links not met
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
23     Po23(RD)        LACP      Fa1/0/21(s) Fa1/0/22(s)

コメント