Configuring The Next Hop Attribute; Configuring The As-Path Attribute - HP A5500 SI Switch Series Configuration Manual

Hide thumbs Also See for A5500 SI Switch Series:
Table of Contents

Advertisement

Configuring the Next Hop attribute

You can use the peer next-hop-local command to specify the local switch as the next hop of routes sent
to an MBGP iBGP peer or peer group. If load balancing is configured, the switch specifies itself as the
next hop of route advertisements to the multicast iBGP peer or peer group, regardless of whether the
peer next-hop-local command is configured.
In a third-party next-hop network (that is, the local router has two multicast eBGP peers in a broadcast
network), the router does not specify itself as the next hop of routing information sent to the eBGP peers
unless the peer next-hop-local command is configured.
Follow these steps to specify the router as the next hop of routes sent to a peer/peer group:
To do...
Enter system view
Enter BGP view
Enter IPv4 MBGP address family
view
Specify the router as the next hop of
routes sent to a peer/peer group

Configuring the AS-PATH attribute

In general, MBGP checks whether the AS_PATH attribute of a route from a peer contains the local AS
number. If it does, MBGP discards the route to avoid routing loops.
Follow these steps to configure the AS-PATH attribute:
To do...
Enter system view
Enter BGP view
Enter IPv4 MBGP address family view
Allow the local AS number to appear in
the AS-PATH of routes from a peer/peer
group and specify the number of times
that the local AS number can appear in
the AS-PATH of routes from the peer/peer
group
Disable BGP from considering the
AS_PATH during best route selection
Use the command...
system-view
bgp as-number
ipv4-family multicast
peer { group-name | ip-address } next-
hop-local
Use the command...
system-view
bgp as-number
ipv4-family multicast
peer { group-name | ip-address }
allow-as-loop [ number ]
bestroute as-path-neglect
228
Remarks
Optional
By default, IPv6 MBGP
specifies the local router as
the next hop for routes sent
to an eBGP peer/peer
group, but not for routes
sent to an MBGP iBGP
peer/peer group.
Remarks
Optional
Not allowed by default.
Optional
Enabled by default.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A5500 ei switch series

Table of Contents