R2511-HP MSR Router Series IP Multicast Command Reference(V5)

445
[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
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.
as-path-acl-number: Specifies an AS path ACL in the range of 1 to 256.
import: Specifies the inbound direction.
export: Specifies the outbound direction.
Examples
# Specify AS path ACL 3 to filter routes outgoing to the IPv6 MBGP peer 1:2::3:4.
<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 as-path-acl 3 export
peer capability-advertise orf (IPv6 MBGP address family view)
Use peer capability-advertise orf to enable the ORF capability for a BGP peer or peer group.