3Com S7902E Command Reference Manual - page 1460
1-38
peer preferred-value (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name | ipv6-address
}
preferred-value
value
undo
peer
{
ipv6-group-name | ipv6-address
}
preferred-value
View
IPv6 MBGP address family view
Default Level
2: System level
Parameters
ipv6-group-name
: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of an IPv6 MBGP peer.
value
: Preferred value, in the range 0 to 65535.
Description
Use the
peer preferred-value
command to assign a preferred value to routes received from an IPv6
MBGP peer or peer group.
Use the
undo peer preferred-value
command to restore the default.
The preferred value defaults to 0.
Routes learned from peers each have a preferred value. Among multiple routes to the same destination,
the route with the greatest preferred value is selected.
Note the following:
If you both reference a route policy and use the
peer
{
ipv6-group-name | ipv6-address
}
preferred-value
value
command to set a preferred value for routes from a peer, the route policy sets a
specified non-zero preferred value for routes matching it. Other routes not matching the route policy
uses the value set with the
peer preferred-value
command. If the preferred value specified in the route
policy is zero, the routes matching it will also use the value set with the command. For information about
using a route policy to set a preferred value, refer to the command
peer
{
group-name
|
ipv6-address
}
route-policy
route-policy-name
{
import
|
export
} in this document, and the command
apply
preferred-value
preferred-value
in
Route Policy Commands
of the
IP Routing Volume
.
Examples
# Configure a preferred value of 50 for routes from IPv6 MBGP peer 1:2::3:4.
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 preferred-value 50