408
Configuring a preferred value for routes from a peer/peer
group
Follow these steps to configure a preferred value for routes from a peer/peer group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv6 MBGP address family
view
ipv6-family multicast
—
Specify a preferred value for
routes received from the IPv6
MBGP peer/peer group
peer
{
ipv6-group-name | ipv6-
address
}
preferred-value
value
Optional
The preferred value defaults to 0.
CAUTION:
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/peer group, the routing policy
sets the specified preferred value for routes matching it. Other routes that do not match the routing
policy use the value set with the command. If the preferred value in the routing policy is zero, the routes
matching it will also use the value set with the
peer
{
ipv6-group-name | ipv6-address }
preferred-
value
value command. To use a routing policy to set a preferred value, use 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 the commands, see the Layer
3—IP Routing Command Reference.
Controlling route distribution and reception
Configuration prerequisites
Before you configure this task, complete the following tasks:
•
Enable IPv6.
•
Configure the IPv6 MBGP basic functions
Injecting a local IPv6 MBGP route
Follow these steps to inject a local IPv6 MBGP route:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv6 MBGP address family
view
ipv6-family multicast
—
Inject a network into the IPv6
MBGP routing table
network
ipv6-address
prefix-
length
[
route-policy
route-policy-
name
|
short-cut
]
Required
Not injected by default
Содержание A5500 EI Switch Series
Страница 12: ...xii Conventions 425 Index 427 ...