HP HPE FlexNetwork 7500 series Configuration Manual page 277

Table of Contents

Advertisement

Step
2.
Enter BGP IPv6 unicast
address family view,
BGP-VPN IPv6 unicast
address family view, or BGP
IPv6 multicast address family
view.
3.
Permit the local AS number
to appear in routes from a
peer or peer group and set
the appearance times.
Ignoring the AS_PATH attribute during optimal route selection
Step
1.
Enter system view.
2.
Enter BGP instance view or
BGP-VPN instance view.
3.
Configure BGP to ignore the
AS_PATH attribute during
optimal route selection
Advertising a fake AS number to a peer or peer group
After you move a BGP router from an AS to another AS (from AS 2 to AS 3 for example), you have to
modify the AS number of the router on all its EBGP peers. To avoid such modifications, you can
configure the router to advertise a fake AS number 2 to its EBGP peers so that the EBGP peers still
think that Router A is in AS 2.
To advertise a fake AS number to a peer or peer group (IPv4 unicast/multicast address family):
Command
Enter BGP IPv6 unicast
address family view:
a. bgp as-number
[ instance
instance-name ]
b. address-family ipv6
[ unicast ]
Enter BGP-VPN IPv6 unicast
address family view:
c. bgp as-number
[ instance
instance-name ]
d. ip vpn-instance
vpn-instance-name
e. address-family ipv6
[ unicast ]
Enter BGP IPv6 multicast
address family view:
f. bgp as-number
[ instance
instance-name ]
g. address-family ipv6
multicast
peer { group-name | ipv6-address
[ prefix-length ] } allow-as-loop
[ number ]
Command
system-view
Enter BGP instance view:
bgp as-number [ instance
instance-name ]
Enter BGP-VPN instance
view:
a. bgp as-number [ instance
instance-name ]
b. ip vpn-instance
vpn-instance-name
bestroute as-path-neglect
265
Remarks
N/A
By default, the local AS number is
not allowed in routes from a peer
or peer group.
Remarks
N/A
N/A
By default, BGP considers
AS_PATH during optimal route
selection.

Advertisement

Table of Contents
loading

Table of Contents