R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
444
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Replace the AS number of a
peer/peer group in the
AS_PATH attribute as the local
AS number.
peer { group-name | ip-address }
substitute-as
Not configured by default.
CAUTION:
Improper AS number substitution configuration may cause route loops; use this command with caution.
5. Remove private AS numbers from updates to a peer/peer group
To remove private AS numbers from updates to a peer/peer group:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Configure BGP to remove
private AS numbers from the
AS_PATH attribute of updates to
a peer/peer group.
peer { group-name | ip-address }
public-as-only
By default, BGP updates carry
private AS numbers.
6. Ignore the first AS number of EBGP route updates
Typically, BGP checks the AS_PATH attribute of a route update received from a peer. If the first AS
number is not that of the BGP peer, the BGP router discards the route update.
To ignore the first AS number of EBGP route updates:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view. bgp as-number N/A
3. Configure BGP to ignore the first
AS number of EBGP route
updates.
ignore-first-as
By default, BGP checks the first
AS number of EBGP route
updates.
Tuning and optimizing BGP networks
Configuration prerequisites
Create BGP connections.
Configuring the BGP keepalive interval and holdtime
After establishing a BGP connection, two routers send keepalive messages periodically to each other to
keep the connection. If a router receives no keepalive or update message from the peer within the
holdtime, it tears down the connection.
You can configure the keepalive interval and holdtime globally or for a specific peer or peer group. The
actual keepalive interval and holdtime depend on the following cases: