Parameters
ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of an IPv6 MBGP peer.
number: Specifies the number of times for which the local AS number can appear in the AS PATH of
routes from the peer/peer group, in the range 1 to 10. The default number is 1.
Description
Use the peer allow-as-loop command to allow the local AS number to exist in the AS_PATH attribute of
routes from a peer/peer group, and to configure the times for which the local AS number can appear.
Use the undo peer allow-as-loop command to disable the function.
The local AS number cannot appear in routes from the peer/peer group.
Examples
# Configure the number of times for which the local AS number can appear in the AS PATH of routes
from the peer as 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 allow-as-loop 2
peer as-path-acl (IPv6 MBGP address family view)
Syntax
peer { ipv6-address | ipv6-group-name } as-path-acl as-path-acl-number { export | import }
undo peer { ipv6-address | ipv6-group-name } as-path-acl as-path-acl-number { export | import }
View
IPv6 MBGP address family view
Default Level
2: System level
Parameters
ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of an IPv6 MBGP peer.
as-path-acl-number: AS path ACL number, in the range 1 to 256.
import: Filters incoming IPv6 MBGP routes.
export: Filters outgoing IPv6 MBGP routes.
1-31
Need help?
Do you have a question about the S7906E and is the answer not in the manual?