longest-match (MRIB view)
Use longest-match to specify the longest prefix match principle for RPF route.
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 preference is used as the RPF route.
Views
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] multicast routing [Sysname-mrib] multicast longest-match