Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-44
5.1.50 peer public-as-only
Syntax
peer group-name public-as-only
undo peer group-name public-as-only
View
BGP view
Parameter
group-name: Name of a peer group.
Description
Use the peer public-as-only command to configure not to carry the AS number when
transmitting BGP update packets.
Use the undo peer public-as-only command to configure to carry the AS number
when transmitting BGP update packets.
By default, private AS number is carried when transmitting BGP update packets.
Generally, BGP transmits BGP update packets with the AS number (either public AS
number or private AS number). To enable some outbound routers to ignore the AS
number when transmitting update packets, you can configure not to carry the AS
number when transmitting BGP update packets.
Example
# Configure not to carry the private AS number when transmitting BGP update packets
to the peer named test.
[Quidway-bgp] peer test public-as-only
5.1.51 peer restart-timer
Syntax
peer group-name restart-timer time-value
undo peer group-name restart-timer
View
BGP view
Parameter
group-name: Name of the peer group, which can consist of 1 to 47 alphabetic letters
and numerals.