To do...
Configure the router as the next
hop of routes sent to the
peer/peer group
Configuring the AS_PATH attribute
Follow these steps to configure the AS_PATH attribute:
To do...
Enter system view
Enter BGP view
Enter IPv6 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 IPv6 MBGP from
considering the AS_PATH during
best route selection
Configure updates to a peer/peer
group to carry only the public AS
number
Tuning and optimizing IPv6 MBGP networks
Configuration prerequisites
Before you configure this task, complete the following tasks:
Enable IPv6
•
Configure the IPv6 MBGP basic functions
•
Configuring IPv6 MBGP soft reset
After modifying a route selection policy, you must reset IPv6 MBGP connections to make the new one
take effect.
Use the command...
peer { ipv6-group-name | ipv6-
address } next-hop-local
Use the command...
system-view
bgp as-number
ipv6-family multicast
peer { ipv6-group-name | ipv6-
address } allow-as-loop [ number
]
bestroute as-path-neglect
peer { ipv6-group-name | ipv6-
address } public-as-only
414
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 iBGP peer/peer group.
Remarks
—
—
—
Optional
Not allowed by default
Optional
Enabled by default
Optional
By default, outbound IPv6 MBGP
updates can carry private AS
numbers.