R3303-HP HSR6800 Routers IP Multicast Command Reference
425
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
[Sysname-route-policy] apply cost 65535
[Sysname-route-policy] quit
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer test enable
[Sysname-bgp-af-ipv6-mul] peer test route-policy test-policy import
preference (IPv6 MBGP address family view)
Use preference to configure preferences for IPv6 multicast EBGP, IPv6 multicast IBGP, and local IPv6
MBGP routes.
Use undo preference to restore the default.
Syntax
preference { external-preference internal-preference local-preference | route-policy route-policy-name }
undo preference
Default
The default preference values of external, internal and local IPv6 MBGP routes are 255, 255, and 130,
respectively.
Views
IPv6 MBGP address family view
Default command level
2: System level
Parameters
external-preference: Specifies the preference of IPv6 multicast EBGP routes, in the range of 1 to 255. An
IPv6 multicast EBGP route is learned from an IPv6 multicast EBGP peer.
internal-preference: Specifies the preference of IPv6 multicast IBGP routes, in the range of 1 to 255. An
IPv6 multicast IBGP route is learned from an IPv6 multicast IBGP peer.
local-preference: Specifies the preference of local IPv6 MBGP routes, in the range of 1 to 255.