HP VPN Firewall Appliances Network Management Command Reference
920
[Sysname-bgp-af-ipv6] peer test route-policy test-policy import
peer route-policy (IPv6 BGP-VPN instance view)
Use peer route-policy to apply a routing policy to routes incoming from or outgoing to a peer or peer
group.
Use undo peer route-policy to remove the configuration.
Syntax
peer ipv6-address route-policy route-policy-name { export | import }
undo peer ipv6-address [ route-policy route-policy-name { export | import } ]
Default
No routing policy is specified for the peer (group).
Views
IPv6 BGP-VPN instance view
Default command level
2: System level
Parameters
ipv6-address: IPv6 address of a peer.
route-policy-name: Name of a routing policy, a string of 1 to 63 characters.
import: Applies the routing policy to routes from the peer (group).
export: Applies the routing policy to routes sent to the peer (group).
Usage guidelines
The peer route-policy command does not use the if-match interface clause defined in the routing policy.
Examples
# Apply the routing policy test-policy to routes received from the peer 2001::1.
<Sysname> system-view
[Sysname] route-policy test-policy permit node 10
[Sysname-route-policy] if-match cost 10
[Sysname-route-policy] apply cost 65535
[Sysname-route-policy] quit
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpn-instance vpn1
[Sysname-bgp-ipv6-vpn1] peer 2001::1 route-policy test-policy import
peer route-update-interval (IPv6 address family view)
Use peer route-update-interval to specify the interval for sending the same update to a peer/peer
group.
Use undo peer route-update-interval to restore the default.