1-30
Figure 1-18
Next hop attribute configuration
Note that: if you have configured BGP load balancing on a BGP router, the router will set it as the next
hop for routes sent to an iBGP peer/peer group regardless of whether the
peer next-hop-local
command is configured.
Follow these steps to configure the next hop attribute:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Specify the router as the next hop of
routes sent to a peer/peer group
peer
{
group-name |
ip-address
}
next-hop-local
Optional
By default, the router sets
it as the next hop for
routes sent to an eBGP
peer/peer group, but
does not set it as the next
hop for routes sent to an
iBGP peer/peer group.
Configuring the AS-PATH Attribute
Permit local AS number to appear in routes from a peer/peer group
In general, BGP checks whether the AS_PATH attribute of a route from a peer contains the local AS
number. If so, it discards the route to avoid routing loops.
This task allows you to permit local AS number to appear in routes from a peer/peer group and specify
the appearance times.
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Permit local AS number to appear in
routes from a peer/peer group and
specify the appearance times
peer
{
group-name |
ip-address
}
allow-as-loop
[
number
]
Optional
By default, the local AS
number is not allowed.
Disable BGP from considering AS_PATH during best route selection
Follow these steps to disable BGP from considering AS_PATH during best route selection:
Summary of Contents for S7902E
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Page 598: ...ii ...
Page 1757: ...4 9 ...
Page 1770: ...6 4 ...
Page 2017: ...2 11 Figure 2 3 SFTP client interface ...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...