Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 BGP Configuration
5-29
To do…
Use the command…
Remarks
Configure
repeating
times of
local AS
number in
routes from
a peer/peer
group
peer
{
group-name |
ip-address
}
allow-as-loop
[
number
]
Optional
The local AS number can
not be repeated in routes
from the peer/peer group.
Disable the
router from
taking
AS_PATH
as a factor
for best
route
selection
bestroute
as-path-neglect
Optional
By default, the router takes
AS_PATH as a factor for
best route selection.
Specify a
fake AS
number for a
peer/peer
group
peer
{
group-name
|
ip-address
}
fake-as
as-number
Optional
Not specified by default
This command is only
applicable to an EBGP peer
or peer group.
Substitute
local AS
number for
the AS
number of a
peer/peer
group in the
AS_PATH
attribute
peer
{
group-name
|
ip-address
}
substitute-as
Optional
The substitution is not
configured by default.
Configure
the
AS_PATH
attribute
Configure to
not keep
private AS
number in
AS_PATH
of updates
to a
peer/peer
group
peer
{
group-name
|
ip-address
}
public-as-only
Optional
By default, BGP updates
carry private AS numbers.