CPC H04L 45/245 (2013.01) [H04L 45/28 (2013.01); H04L 45/66 (2013.01)] | 20 Claims |
1. A multichassis link aggregation method, comprising:
receiving, by a first network device, n pieces of second information of n second network devices, wherein the first network device and the n second network devices are in a multichassis link aggregation group (MC-LAG), n is an integer greater than or equal to 1, then pieces of second information comprise n second port keys, the n pieces of second information are in one-to-one correspondence with the n second port keys, the n pieces of second information are n second Ethernet segment (ES) routes, and the n second port keys are carried in extended attribute fields of the n second ES routes;
determining, by the first network device, a first system identifier (ID) of the first network device based on an obtained first Ethernet segment identifier (ESI) of the first network device, wherein the first ESI is identical to n second ESIs in the n second ES routes; and
determining, by the first network device, a third port key based on a first port key of the first network device and the n second port keys, wherein the third port key is an MC-LAG configuration parameter of the first network device, and the MC-LAG configuration parameter comprises the first system ID of the first network device.
|