3Com S7902E Command Reference Manual - page 1055
1-40
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, the routing policy sets a non-zero
preferred value for routes matching it. Other routes not matching the routing policy uses 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 command. For information about using a routing policy to set a preferred value,
refer to the command
peer
{
group-name
|
ipv4-address
|
ipv6-address
}
route-policy
route-policy-name
{
import
|
export
} in this document, and the command
apply preferred-value
preferred-value
in
Routing Policy Commands
of the
IP Routing Volume
.
Examples
# Configure the preferred value as 50 for routes from peer 1:2::3:4.
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 preferred-value 50
peer public-as-only (IPv6 address family view)
Syntax
peer
{
ipv6-group-name | ipv6-address
}
public-as-only
undo
peer
{
ipv6-group-name | ipv6-address
}
public-as-only
View
IPv6 address family view
Default Level
2: System level
Parameters
ipv6-group-name
: Name of a peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of a peer.
Description
Use the
peer public-as-only
command to configure IPv6 BGP updates to a peer/peer group to not
carry private AS numbers.
Use the
undo peer public-as-only
command to allow IPv6 BGP updates to a peer/peer group to carry
private AS numbers.
By default, BGP updates carry the private AS number.
The command does not take effect if the BGP update has both the public AS number and private AS
number. The range of private AS number is from 64512 to 65535.
Examples
# Configure BGP updates sent to the peer 1:2::3:4 to not carry private AS numbers.
[Sysname] bgp 100
[Sysname-bgp] ipv6-family