bestroute routerid-prior-clusterlist (BGP-IPv4 multicast address family view)

Function

The bestroute routerid-prior-clusterlist command enables Router ID to take precedence over Cluster_List during MBGP route selection.

The undo bestroute routerid-prior-clusterlist command restores the default configurations.

By default, Cluster_List takes precedence over Router ID during MBGP route selection.

Format

bestroute routerid-prior-clusterlist

undo bestroute routerid-prior-clusterlist

Parameters

None

Views

BGP-IPv4 multicast address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

On an MBGP network, after a device receives multiple routes with the same prefix but different paths from different peers, the device needs to select an optimal route from these routes to forward packets. By default, Cluster_List takes precedence over Router ID during MBGP route selection. To enable Router ID to take precedence over Cluster_List during MBGP route selection, run the bestroute routerid-prior-clusterlist command.

Configuration Impact

If each route carries an Originator_ID, the originator IDs rather than router IDs are compared during route selection. The route with the smallest Originator_ID is preferred. After the bestroute routerid-prior-clusterlist command is run, Originator_ID takes precedence over Cluster_List during BGP route selection.

Example

# Enable Router ID to take precedence over Cluster_List during MBGP route selection.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family multicast
[*HUAWEI-bgp-af-multicast] bestroute routerid-prior-clusterlist
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >