After preferred values are set for MBGP routes, the route with the greatest value is preferred when multiple routes to the same destination exist in the MBGP routing table.
Perform the following steps on the router that is configured as an MBGP peer:
This configuration is optional.
The system view is displayed.
The BGP view is displayed.
The BGP-IPv4 multicast address family view is displayed.
A preferred value is set for the routes learned from an MBGP peer or peer group.
A route with the greatest preferred value will be selected as the optimal route to a specified network if there are multiple routes to that network.
group-name: specifies the name of an MBGP peer group.
peer-address: specifies the IP address of a remote MBGP peer.
The configuration is committed.