3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1705
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.
Example # 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
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
Parameter group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
Description Use the
peer reflect-client command to configure the local device to be a route
reflector (RR) and set a peer or peer group as the client of the RR.
Use the
undo peer reflect-client command to remove the configuration.
By default, no RR or RR client is configured.
Example # In BGP-VPNv4 subaddress family view, configure the local device to be an RR and
set peer group test as the client of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test reflect-client
# In BGP-L2VPN address family view, configure the local device to be an RR and set
peer group test as the client of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] peer test reflect-client