Default Level
2: System level
Parameters
group-name: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
ip-address: IP address of an IPv4 MBGP peer.
Description
Use the peer public-as-only command to not keep private AS numbers in BGP updates sent to a
peer/peer group.
Use the undo peer public-as-only command to keep private AS numbers in BGP updates sent to a
peer/peer group.
By default, outgoing BGP updates can carry private AS numbers.
The command does not take effect for BGP updates with both public and private AS numbers. The
range of private AS numbers is from 64512 to 65535.
Examples
# In IPv4 MBGP address family view, disable updates sent to the peer group test from carrying private
AS numbers.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test public-as-only
peer reflect-client (MBGP family view)
Syntax
peer { group-name | peer-address } reflect-client
undo peer { group-name | peer-address } reflect-client
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
group-name: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
peer-address: IP address of an IPv4 MBGP peer.
1-42
Need help?
Do you have a question about the S7906E and is the answer not in the manual?