链路聚合
链路聚合s (L-Agg) can span interfaces across multiple individual switches within the stack. Load balancing is performed on all interfaces of the L-Agg across the stack and is applicable to L2 and L3 L-Aggs.
interface lag 1 no shutdown no routing vlan access 1 loop-protect interface lag 2 no shutdown bfd min-transmit-interval 1000 ip address 192.168.12.7/24 interface 1/1/18 no shutdown lag 1 interface 2/1/18 no shutdown lag 1 interface 1/1/23 no shutdown lag 2 interface 2/1/23 no shutdown lag 2
开关# lacp我nterfaces State abbreviations : A - Active P - Passive F - Aggregable I - Individual S - Short-timeout L - Long-timeout N - InSync O - OutofSync C - Collecting D - Distributing X - State m/c expired E - Default neighbor state Actor details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-ID System Aggr Forwarding Name Id Pri Pri Key State ------------------------------------------------------------------------------ 1/1/18 lag1 up 2/1/18 lag1 up 1/1/23 lag2 up 2/1/23 lag2 up Partner details of all interfaces: ------------------------------------------------------------------------------ Intf Aggr Port Port State System-ID System Aggr Name Id Pri Pri Key ------------------------------------------------------------------------------ 1/1/18 lag1 2/1/18 lag1 1/1/23 lag2 2/1/23 lag2