HPE FlexNetwork HSR6800 Configuration Manual page 230

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Step
Enter BGP view or
2.
BGP-VPN instance view.
Replace the AS number of a
3.
peer or peer group in the
AS_PATH attribute as the
local AS number.
Removing private AS numbers from updates to a peer or peer group
Private AS numbers are typically used in test networks, and need not be transmitted in public
networks. The range of private AS numbers is from 64512 to 65535.
To remove private AS numbers from updates to a peer or peer group:
Step
Enter system view.
1.
Enter BGP view or
2.
BGP-VPN instance view.
Configure BGP to remove
3.
private AS numbers from the
AS_PATH attribute of
updates to a peer or peer
group.
Ignoring 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.
For some network applications, a BGP router does not add its own AS number to the AS_PATH
attribute. In this case, you must configure the ignore-first-as command on the EBGP peer to ignore
the first AS number of EBGP route updates.
To ignore the first AS number of EBGP route updates:
Step
Enter system view.
1.
Enter BGP view or
2.
BGP-VPN instance view.
Configure BGP to ignore the
3.
first AS number of EBGP
route updates.
Command
Enter BGP view:
bgp as-number
Enter BGP-VPN instance
view:
a. bgp as-number
b. ipv4-family
vpn-instance
vpn-instance-name
peer { group-name | ip-address }
substitute-as
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance
view:
a. bgp as-number
b. ipv4-family
vpn-instance
vpn-instance-name
peer { group-name | ip-address }
public-as-only
Command
system-view
bgp as-number
ignore-first-as
218
Remarks
Use either method.
Not configured by default.
Remarks
N/A
Use either method.
By default, BGP updates carry
private AS numbers.
Remarks
N/A
N/A
By default, BGP checks the first
AS number of EBGP route
updates.

Advertisement

Table of Contents
loading

Table of Contents