397
Description
Use
peer
public-as-only
to disable IPv6 MBGP updates to a peer or a peer group from carrying private
AS numbers.
Use
undo peer public-as-only
to allow IPv6 MBGP updates to a peer or a peer group to carry private AS
numbers.
By default, private AS numbers can be carried in outbound IPv6 MBGP update packets.
The command does not take effect for IPv6 MBGP updates with both public and private AS numbers. The
range of private AS numbers is from 64512 to 65535.
Examples
# Disable updates sent to IPv6 MBGP peer 1:2::3:4 from carrying private AS numbers.
<Sysname> system-view
[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 public-as-only
peer reflect-client (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
reflect-client
undo peer
{
ipv6-group-name
|
ipv6-address
}
reflect-client
View
IPv6 MBGP address family view
Default level
2: System level
Parameters
ipv6-group-name
: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters.
ipv6-address
: Specifies an IPv6 MBGP peer by its IP address.
Description
Use
peer reflect-client
to configure the router as a route reflector and specify an IPv6 MBGP peer or a
peer group as its 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
.
Examples
# Configure the local device as a route reflector and specify the peer group
test
as a client.
<Sysname> system-view
[Sysname] bgp 100