
Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
Chapter 5 BGP Configuration
5-27
To do...
Use the command...
Remarks
Configure the local address
as the next hop address
when a BGP router
advertises a route.
peer
group-name
next-hop-local
Required
In some network, to ensure
an IBGP neighbor locates the
correct next hop, you can
configure the next hop
address of a route to be the
local address for a BGP
router to advertise route
information to IBGP peer
groups.
Configure
the number
of local AS
number
occurrences
allowed
peer
{
group-name |
ip-address
}
allow-as-loop
[
number
]
Optional
By default, the number of
local AS number
occurrences allowed is 1.
Assign an
AS number
for a peer
group
peer
group-name
as-number
as-number
Optional
By default, the local AS
number is not assigned to a
peer group.
Configure
the
AS_PATH
attribute
Configure
that the BGP
update
packets only
carry the
pubic AS
number in
the
AS_PATH
attribute
when a peer
sends BGP
update
packets to
BGP peers.
peer
group-name
public-as-only
Optional
By default, a BGP update
packet carries the private AS
number.