Method for Upgrading Version of Network Device and Network Device
AssigneeHuawei Technologies Co., Ltd.
InventorsWenjiang Shi, Fei Liu
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsWenjiang Shi, Fei Liu
Estimating the term…
Embodiments of the present invention disclose a method for upgrading a version of a network device and a device. A specific solution is: configuring a forwarding plane of the network device to be a first forwarding plane and a second forwarding plane; performing, in the first forwarding plane, sampling on forwarded packets by using a preset sampling ratio, to obtain a sample packet; forwarding, by the second forwarding plane, the sample packet in a broadcast manner, to learn a MAC address; and when a quantity of MAC addresses learned by the second forwarding plane reaches a preset threshold, performing upgrade so that the second forwarding plane is used for packet forwarding of the network device. The technical solution can effectively avoid generation of a large quantity of broadcast packets during a version upgrade process, can help reduce network bandwidth that is excessively occupied, and avoid network congestion.
A method for upgrading a version of a network device, comprising:
A network device, comprising:
A network device, comprising a processor, a transmitter, a memory and a bus, wherein:
Dependencies are inferred from the claim text.