R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
815
import: Applies the filtering policy to routes received from the specified peer/peer group.
export: Applies the filtering policy to routes advertised to the specified peer/peer group.
Description
Use peer ipv6-prefix to specify an IPv6 prefix list to filter routes incoming from or outgoing to a peer or
peer group.
Use undo peer ipv6-prefix to remove the configuration.
By default, no IPv6 prefix list is specified for filtering.
Examples
# Reference the IPv6 prefix list list 1 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
Syntax
peer { group-name | ipv6-address } ipsec-policy policy-name
undo peer { group-name | ipv6-address } ipsec-policy
View
IPv6 address family view
Default level
2: System level
Parameters
group-name: Name of an IPv6 peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
policy-name: IPsec policy name, a string of 1 to 15 characters.
Description
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.
By default, no IPsec policy is applied to any peer or peer group.
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.
Examples
# Apply IPsec policy policy001 to IPv6 BGP peer 1212::1111.
<Sysname] system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family