三层以太网通道

interface FastEthernet0/19
 no switchport
 no ip address
 channel-protocol lacp
 channel-group 30 mode active
!
interface FastEthernet0/20
 no switchport
 no ip address
 channel-protocol lacp
 channel-group 30 mode active
interface Port-channel30
 no switchport
 ip address 10.1.1.1 255.255.255.0


SW2#ping 10.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms


interface FastEthernet0/19
 no switchport
 no ip address
 channel-protocol lacp
 channel-group 30 mode active
!
interface FastEthernet0/20
 no switchport
 no ip address
 channel-protocol lacp
 channel-group 30 mode active

interface Port-channel30
 no switchport
 ip address 10.1.1.2 255.255.255.0

查看状态

SW3#show etherchannel summary
Flags:  D - down        P - 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
        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
------+-------------+-----------+-----------------------------------------------
30     Po30(RU)        LACP      Fa0/19(P)   Fa0/20(P)