3Com Switch 8800 Configuration Guide
Chapter 21 BGP Configuration
21-10
After you use the
peer
default-route-advertise
command, the local router will send a
default route with the next hop as itself to the peer unconditionally, even if there is no
default route in BGP routing table.
IV. Configuring itself as the next hop when advertising routes
In general, when sending routes to the EBGP peer, the BGP speaker will set the next
hop address of the routing information as the local address. When sending routes to
the IBGP peer, the BGP speaker will not modify the next hop address.
In some networking conditions, when the routes are sent to the IBGP peer, you can
configure the local address of the sender as the next hop, consequently ensuring the
IBGP neighbors can find the correct next hop.
Perform the following configuration in BGP view.
Table 21-12
Configure itself as the next hop when advertising routes
Operation
Command
Configure itself as the next hop when
advertising routes
peer
group
-
name
next-hop-local
Disable the specification of itself as the
next hop when advertising routes
undo peer
group
-
name
next-hop-local
V. Removing private AS numbers while transmitting BGP update messages
Generally, the AS numbers (public AS numbers or private AS numbers) are included in
the AS paths while transmitting BGP update messages. This command is used to
configure certain outbound routers to ignore the private AS numbers while transmitting
update messages.
Perform the following configuration in BGP view.
Table 21-13
Remove private AS numbers while transmitting BGP update messages
Operation
Command
Remove private AS numbers while
transmitting BGP update messages
peer
group
-
name
public-as-only
Include private AS numbers while
transmitting BGP update messages
undo peer
group
-
name
public-as-only
By default, the private AS numbers are included during BGP update messages
transmission.
The configuration can only be applied to the peer group.
VI. Configuring to send the community attributes to a peer group
Perform the following configuration in BGP view.