bestroute igp-metric-ignore

Use bestroute igp-metric-ignore to configure BGP to ignore IGP metrics during optimal route selection.

Use undo bestroute igp-metric-ignore to restore the default.

Syntax

bestroute igp-metric-ignore

undo bestroute igp-metric-ignore

Default

BGP considers IGP metrics during optimal route selection, and selects the route with the smallest IGP metric as the optimal route.

Views

BGP instance view

BGP-VPN instance view

Predefined user roles

network-admin

Examples

# In BGP instance view, ignore IGP metrics during optimal route selection.

<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-default] bestroute igp-metric-ignore