R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
460
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.
ipv6-prefix-name: Specifies the IPv6 prefix list name, a string of 1 to 19 characters.
import: Applies the filtering policy to routes received from the specified peer or peer group.
export: Applies the filtering policy to routes advertised to the specified peer or peer group.
Examples
# Reference the IPv6 prefix list list1 to filter routes outgoing to peer 1:2::3:4.
<Sysname> system-view
[Sysname] ip ipv6-prefix list1 permit 2002:: 64
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 ipv6-prefix list1 export
peer ipsec-policy (IPv6 address family view)
Use peer ipsec-policy to apply an IPsec policy to an IPv6 BGP peer or peer group.
Use undo peer ipsec-policy to remove the applied IPsec policy.
Syntax
peer { group-name | ipv6-address } ipsec-policy policy-name
undo peer { group-name | ipv6-address } ipsec-policy
Default
No IPsec policy is applied to any peer or peer group.
Views
IPv6 address family view
Default command level
2: System level
Parameters
group-name: Specifies the name of an IPv6 peer group, a string of 1 to 47 characters.
ipv6-address: Specifies the IPv6 address of a peer.
policy-name: Specifies the IPsec policy name, a string of 1 to 15 characters.
Usage guidelines
The IPsec policy to be applied must have been configured. Otherwise, the configuration fails.
You also need to make IPsec policy configuration on the peer or peer group. Otherwise, the local device
will not receive IPv6 BGP packets from the peer or peer group.










