421
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:
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 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
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 into the IPv6
MBGP routing table.
network
ipv6-address
prefix-length
[
route-policy
route-policy-name
|
short-cut
]
Not injected by default.
Configuring IPv6 MBGP route redistribution
Step
Command
Description
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enter IPv6 MBGP multicast
address family view.
ipv6-family multicast
N/A
4.
Enable default route
redistribution into the IPv6
MBGP routing table.
default-route imported
Optional.
Default route redistribution is not
allowed by default.