longest-match (IPv6 MRIB view)

Use longest-match to specify the longest prefix match principle for RPF route selection.

Use undo longest-match to restore the default.

Syntax

longest-match

undo longest-match

Default

Route preference is used for RPF route selection. The route with the highest route preference is used as the RPF route.

Views

IPv6 MRIB view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

This command enables the device to use the matching route with the longest prefix as the RPF route.

Examples

# Specify the longest prefix match principle for RPF route selection on the public network.

<Sysname> system-view
[Sysname] ipv6 multicast routing
[Sysname-mrib6] longest-match