摘要 |
The present invention provides a method and an apparatus for changing an appointed forwarding device. The method includes: receiving, by a first routing bridge, an appointment packet for appointing the first routing bridge as an appointed forwarding device of a virtual local area network, where the appointment packet is sent by a designated routing bridge; and immediately entering, by the first routing bridge, a forwarding state and starting to forward a packet of the virtual local area network, if the first routing bridge is in a state of being inhibited from forwarding packets of the virtual local area network when the first routing bridge receives a first advertisement packet carrying an identifier of the virtual local area network sent by a second routing bridge; the first advertisement packet is used to notify a neighboring routing bridge that a routing bridge sending the first advertisement packet is not the appointed forwarding device of the virtual local area network; and the second routing bridge is an original appointed forwarding device of the virtual local area network. According to embodiments of the present invention, in a case of ensuring that no loop is generated in a process of changing the appointed forwarding device, an interruption time of packet forwarding is shortened. |