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
peer public-as-only
to configure IPv6 BGP updates to a peer/peer group to not carry private
AS numbers.
Use
undo peer public-as-only
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> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 public-as-only
peer reflect-client (IPv6 address family view)
Syntax
peer
{
group-name
|
ipv4-address
|
ipv6-address
}
reflect-client
undo peer
{
group-name
|
ipv4-address
|
ipv6-address
}
reflect-client
View
IPv6 address family view
Default level
2: System level
Parameters
group-name
: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address
: IPv4 address of a peer.
ipv6-address
: IPv6 address of a peer.
Description
Use
peer reflect-client
to configure the router as a route reflector and specify a peer/peer group as
a client.
Use
undo peer reflect-client
to remove the configuration.
By default, neither route reflector nor client is configured.
Related commands:
reflect between-clients
and
reflector cluster-id
.
396