Advertising OSPF link state information to BGP
After the device advertises OSPF link state information to BGP, BGP can advertise the information for intended applications. For more information about BGP LS, see "Configuring BGP."
To advertise OSPF link state information to BGP:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter OSPF view. | ospf [ process-id | router-id router-id | vpn-instance vpn-instance-name ] * | N/A |
3. Advertise OSPF link state information to BGP. | distribute bgp-ls | By default, the device does not advertise OSPF link state information to BGP. |