Preference - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Default Level
2: System level
Parameters
protocol: Specifies a routing protocol from which to redistribute routes. Currently, it can be direct or
static.
process-id: Process ID, in the range of 1 to 65535. The default is 1.This argument is available only
when the protocol is ripng.
cost: Routing metric of redistributed routes, in the range of 0 to 16. If cost value is not specified, the
metric is the default metric specified by the default cost command.
route-policy route-policy-name: Specifies a routing policy by its name with 1 to 19 characters.
Description
Use the import-route command to redistribute routes from another routing protocol.
Use the undo import-route command to disable redistributing routes from another routing protocol.
By default, RIPng does not redistribute routes from other routing protocols.
You can configure a routing policy to redistribute only needed routes.
You can specify a cost for redistributed routes using the cost keyword.
Related commands: default cost.
Examples
# Redistribute static routes and specify the metric as 7.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] import-route static cost 7

preference

Syntax
preference [ route-policy route-policy-name ] preference
undo preference [ route-policy ]
View
RIPng view
Default Level
2: System level
Parameters
route-policy-name: Name of a routing policy, in the range of 1 to 19 characters.
preference: RIPng route priority, in the range of 1 to 255.
Description
Use the preference command to specify the RIPng route priority.
5-9

Advertisement

Table of Contents
loading

Table of Contents