R3303-HP 6600/HSR6600 Routers IP Multicast Command Reference
422
Examples
# Set the number of IPv6 address prefixes allowed to receive from the IPv6 MBGP peer 1:2::3:4 to
10000.
<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
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 route-limit 10000
peer route-policy (IPv6 MBGP address family view)
Use peer route-policy to apply a routing policy to routes incoming from or outgoing to an IPv6 MBGP
peer or peer group.
Use undo peer route-policy to remove the configuration.
Syntax
peer { ipv6-group-name | ipv6-address } route-policy route-policy-name { import | export }
undo peer { ipv6-group-name | ipv6-address } route-policy route-policy-name { import | export }
Default
No routing policy is applied to the routes from or to an IPv6 MBGP peer or a 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.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
import: Specifies the inbound direction.
export: Specifies the outbound direction.
Usage guidelines
The if-match interface clause in the routing policy referenced by the peer route-policy command is not
applied.
For more information, see Layer 3—IP Routing Command Reference.
Examples
# Apply the routing policy test-policy to routes received from the IPv6 MBGP peer group test.
<Sysname> system-view
[Sysname] route-policy test-policy permit node 10
[Sysname-route-policy] if-match cost 10










