Configuring The As_Path Attribute - HP 5500 EI series Configuration Manual

Hide thumbs Also See for 5500 EI series:
Table of Contents

Advertisement

To configure the NEXT_HOP attribute (IPv6):
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Enter BGP IPv6 unicast
address family view.
4.
Specify the router as the next
hop for routes sent to a peer
or peer group.

Configuring the AS_PATH attribute

Permitting local AS number to appear in routes from a peer or peer group
In general, BGP checks whether the AS_PATH attribute of a route from a peer contains the local AS
number. If yes, it discards the route to avoid routing loops.
In certain network environments (for example, a Hub&Spoke network in MPLS L3VPN), however, the
AS_PATH attribute of a route from a peer must be allowed to contain the local AS number. Otherwise, the
route cannot be advertised correctly.
To permit the local AS number to appear in routes from a peer or peer group and specify the
appearance times (IPv4):
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
4.
Permit the local AS number to
appear in routes from a peer
or peer group and specify the
appearance times.
To permit the local AS number to appear in routes from a peer or peer group and specify the
appearance times (IPv6):
Command
system-view
bgp as-number
address-family ipv6 [ unicast ]
peer { group-name |
ipv6-address } next-hop-local
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
address-family ipv4 [ unicast ]
peer { group-name | ip-address }
allow-as-loop [ number ]
218
Remarks
N/A
N/A
N/A
By default, the router sets itself as
the next hop for routes sent to an
EBGP peer or peer group, but does
not set itself as the next hop for
routes sent to an IBGP peer or peer
group.
Remarks
N/A
N/A
N/A
By default, the local AS number is
not allowed in routes from a peer
or peer group.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 si series

Table of Contents