R3303-HP HSR6800 Routers IP Multicast Command Reference
417
Examples
# Enable 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
peer filter-policy (IPv6 MBGP address family view)
Use peer filter-policy to configure an IPv6 ACL-based filter policy for an IPv6 MBGP peer or a peer
group.
Use undo peer filter-policy to remove the configuration.
Syntax
peer { ipv6-group-name | ipv6-address } filter-policy acl6-number { import | export }
undo peer { ipv6-group-name | ipv6-address } filter-policy [ acl6-number ] { import | export }
Default
No IPv6 ACL-based filter policy is configured for any IPv6 MBGP peer or 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.
acl6-number: Specifies an IPv6 ACL in the range of 2000 to 3999.
import: Specifies the inbound direction.
export: Specifies the outbound direction.
Examples
# Apply IPv6 ACL 2000 to filter routes advertised to the IPv6 MBGP peer 1:2::3:4.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] rule permit source 2001:1:: 64
[Sysname-acl6-basic-2000] quit
[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