Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-47
undo
peer
{
group-name | ip-address
}
public-as-only
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
group-name
: Name of the peer group.
ip-address
: IP address of the peer.
Description
Use the
peer public-as-only
command to make outbound BGP updates carry no
private AS numbers.
Use the
undo peer public-as-only
command to make outbound BGP updates carry
private AS numbers.
By default, a BGP update carries private AS numbers.
If a BGP update to be sent carries any public AS number, this command does not take
effect. The private AS number ranges from 64512 to 65535.
Examples
# In BGP-VPNv4 subaddress family view, configure the device to make BGP updates to
be sent to peer group test carry no private AS numbers.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test public-as-only
1.1.39 peer reflect-client
Syntax
peer
{
group-name
|
ip-address
}
reflect-client
undo peer
{
group-name
|
ip-address
}
reflect-client
View
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address
family view
Default Level
2: System level