452
Configuring a preferred value for routes from a peer or a peer
group
If you both reference a routing policy and use the command peer { ipv6-group-name | ipv6-address }
preferred-value value to set a preferred value for routes from a peer or a peer group, the routing policy
sets the specified preferred value for the routes that match it. Other routes that do not match the routing
policy use the value set through the command. If the preferred value in the routing policy is 0, the routes
that match it will also use the value set through the peer { ipv6-group-name | ipv6-address }
preferred-value value command. To learn how to use a routing policy to set a preferred value, see the
peer { ipv6-group-name | ipv6-address } route-policy route-policy-name { import | export } command
and the apply preferred-value preferred-value command. For more information about these commands,
see Layer 3—IP Routing Command Reference.
To configure a preferred value for routes from a peer or a peer group:
Ste
Command Remarks
1. Enter system view. system-view
N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter IPv6 MBGP address
family view.
ipv6-family multicast N/A
4. Specify a preferred value for
routes received from the IPv6
MBGP peer or the peer
group.
peer { ipv6-group-name |
ipv6-address } preferred-value
value
Optional.
The preferred value defaults to 0.
Controlling route distribution and reception
Configuration prerequisites
Before you configure this task, complete the following tasks:
• Enable IPv6.
• Configure basic IPv6 MBGP functions.
Injecting a local IPv6 MBGP route
Ste
Command Remarks
1. Enter system view. system-view
N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter IPv6 MBGP address
family view.
ipv6-family multicast N/A