Routing
H3C Low-End Ethernet Switches Configuration Examples
Chapter 1 Routing Overview
1-25
Operation
Command
Description
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.
X. Adjusting and Optimizing a BGP Network
Table 1-10
Adjust and optimize a BGP network
Operation
Command
Description
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—