Controlling route distribution and reception, Configuration prerequisites, Injecting a local ipv6 mbgp route – H3C Technologies H3C S12500 Series Switches User Manual
Page 450

434
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 specific preferred value for 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. For information about using a routing policy to set a preferred value, see Layer 3—IP
Routing Command Reference.
To configure a preferred value for routes from a peer or a peer group:
Step
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 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:
1.
Enable IPv6.
2.
Configure basic IPv6 MBGP functions.
Injecting a local IPv6 MBGP route
Step
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.
Inject a network to the IPv6
MBGP routing table.
network ipv6-address prefix-length
[ route-policy route-policy-name |
short-cut ]
Not injected by default.