Command Reference Guide
3Com Router 5000 Family and Router 6000 Family peer public-as-only ● 245
Command Reference
peer public-as-only
Purpose Use the peer public-as-only command to configure not to carry the private
AS number when transmitting BGP updates.
Use the undo peer public-as-only command to configure to carry the private
AS number when transmitting BGP updates.
Syntax peer group-name public-as-only
undo peer group-name public-as-only
Parameters group-name
Specifies the name of the peer group.
Default By default, the private AS number is carried when BGP updates are transmitted.
Example Configure not to carry the private AS number when transmitting BGP updates to the
peer named test.
[3Com -bgp] peer test public-as-only
View This command can be used in the following views:
■ BGP view
Description Generally, BGP transmits BGP updates with the AS number (either the public AS
number or the private AS number). To enable some outbound routers to ignore the
private AS number when transmitting updates, configure not to carry the private AS
number when transmitting BGP updates.