Configuring The As-Path Attribute - 3Com S7906E Configuration Manual

S7900e family release 6600 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

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:
Enter system view
Enter BGP view
Specify the router as the next hop of
routes sent to a 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.
Enter system view
Enter BGP view
Permit local AS number to appear in
routes from a peer/peer group and
specify the appearance times
Disable BGP from considering AS_PATH during best route selection
Follow these steps to disable BGP from considering AS_PATH during best route selection:
To do...
To do...
Use the command...
system-view
bgp as-number
peer { group-name |
ip-address } next-hop-local
Use the command...
system-view
bgp as-number
peer { group-name |
ip-address } allow-as-loop
[ number ]
1-30
Remarks
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.
Remarks
Optional
By default, the local AS
number is not allowed.

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents