R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

458
acl6-number: Specifies the IPv6 ACL number in the range of 2000 to 3999.
import: Applies the filter-policy to routes received from the peer or peer group.
export: Applies the filter-policy to routes advertised to the peer or peer group.
Examples
# Apply the ACL6 2000 to filter routes advertised to the 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 filter-policy 2000 export
peer group (IPv6 address family view)
Use peer group to add a peer to a configured peer group.
Use undo peer group to delete a specific peer from a peer group.
Syntax
peer { ipv4-address | ipv6-address } group group-name [ as-number as-number ]
undo peer ipv6-address group group-name
Default
The peer does not belong to any peer group.
Views
IPv6 address family view
Default command level
2: System level
Parameters
group-name: Specifies the name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: Specifies the IPv4 address of a peer.
ipv6-address: Specifies the IPv6 address of a peer.
as-number: Specifies the AS number of the peer or peer group, in the range of 1 to 4294967295.
Examples
# Create a peer group named test and add the peer 1:2::3:4 to the peer group.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 200
[Sysname-bgp-af-ipv6] peer 1:2::3:4 group test