preference

Use preference to set the preference for RIPng routes.

Use undo preference to restore the default.

Syntax

preference { preference | route-policy route-policy-name } *

undo preference

Default

The preference of RIPng routes is 100.

Views

RIPng view

Predefined user roles

network-admin

Parameters

preference: Specifies the preference for RIPng routes, in the range of 1 to 255. The smaller the value, the higher the preference.

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

Usage guidelines

You can specify a routing policy to set a preference for the matching RIPng routes.

Examples

# Set the preference for RIPng routes to 120.

<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] preference 120