R3303-HP HSR6800 Routers IP Multicast Command Reference

413
Syntax
peer { ipv6-group-name | ipv6-address } allow-as-loop [ number ]
undo peer { ipv6-group-name | ipv6-address } allow-as-loop
Views
IPv6 MBGP address family view
Default command level
2: System level
Parameters
ipv6-group-name: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters.
ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address.
number: Specifies the number of times for which the local AS number can appear in the AS PATH of
routes from the peer or peer group. The value range is 1 to 10, and the default is 1.
Usage guidelines
The local AS number cannot appear in routes from the peer or the 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)
Use peer as-path-acl to specify an AS path ACL to filter routes incoming from or outgoing to an IPv6
MBGP peer or a peer group.
Use undo peer as-path-acl to remove the configuration.
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 }
Default
No AS path ACL is specified for filtering the routes from or to an IPv6 MBGP peer or a peer group.
Views
IPv6 MBGP address family view
Default command level
2: System level