The bgp-ls enable command enables IS-IS topology advertisement to BGP.
The undo bgp-ls enable command disables IS-IS topology advertisement to BGP.
By default, IS-IS topology advertisement to BGP is disabled.
Parameter | Description | Value |
---|---|---|
level-1 |
Enables IS-IS Level-1 topology advertisement to BGP. |
- |
level-2 |
Enables IS-IS Level-2 topology advertisement to BGP. |
- |
level-1-2 |
Enables IS-IS Level-1 and Level-2 topology advertisement to BGP. If no level is specified in the command, both Level-1 and Level-2 topologies are advertised to BGP. |
- |
level-2-leaking-route-ignore |
Ignore the routes that are leaked from Level 2 to Level 1. |
- |
Usage Scenario
In current SDN RR+ solutions, forwarders use an IGP (OSPF or IS-IS) to collect topology information, and the IGP reports the information to the controller. This topology information collection method has the following disadvantages:
Precautions
To enable each piece of link attribute information to be advertised to the controller through BGP-LS, run the advertise link attributes command or configure a global address on the interface.
<HUAWEI> system-view [~HUAWEI] isis [*HUAWEI-isis-1] bgp-ls enable level-1 level-2-leaking-route-ignore
<HUAWEI> system-view [~HUAWEI] isis [*HUAWEI-isis-1] bgp-ls enable level-1