11-46
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> 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 the
peer reflect-client
command to configure the router as a route reflector and specify a
peer/peer group as a client.
Use the
undo peer reflect-client
command to remove the configuration.