摘要 |
Embodiments of the present application disclose a method for advertising information about a PE device and a related apparatus, which are applied to a BGP-based MVPN. The method includes: a PE device in the MVPN determines a role of the PE device in the MVPN and a working status corresponding to the role, where the role is a root node and/or a leaf node, and the working status is active or standby; the PE device generates a BGP update message, carrying an IP address of the PE device, an identifier of the MVPN, the role of the PE device, and the working status of the PE device; and the PE device sends the BGP update message to a BGP neighbor of the PE device in the MVPN. The method and apparatus may alleviate a configuration workload and reduce an error occurrence during an application of a BGP-based MVPN. |
主权项 |
1. A method for advertising information about a provider edge PE device, where the method is applied to a Border Gateway Protocol-based multicast virtual private network (BGP-based MVPN), the method comprising:
determining, by a first PE device in the MVPN, a role of the first PE device in the BGP-based MVPN and a working status corresponding to the role, wherein the role is at least one of a root node and a leaf node, and the working status is either active or standby; generating, by the first PE device, a BGP update message, wherein the BGP update message carries an IP address of the first PE device, an identifier of the BGP-based MVPN, and the role of the first PE device and the working status of the first PE device; and sending, by the first PE device, the BGP update message to a BGP neighbor of the first PE device in the BGP-based MVPN. |