3 default-metric, 4 distance, Default – PLANET XGS3-24040 User Manual

Page 435: Metric, Distance

Advertising
background image


32-148

Example:

Switch#config terminal

Switch(config)#router ipv6 rip

Switch(config-router)#default-information originate

32.3 default-metric

Command:

default-metric <value>

no default-metric

Function:

Set the default metric route value of the introduced route; the “no default-metric” restores the

default value.

Parameter:

<value> is the route metric value to be set, ranging between 1~16.

Default:

Default route metric value is 1.

Command Mode:

Router mode

Usage Guide:

default-metric command is used for setting the default route metric value of the routes from other

routing protocols when distributed into the RIPng routes. When using the redistribute commands

for introducing routes from other protocols, the default route metric value specified by

default-metric will be adopted if no specific route metric value is set.

Example:

Set the default route metric value of the routes from other routing protocols when distributed into the

RIPng routes as 3.

Switch(config-router)#default-metric 3

Related Command:

Redistribute

32.4 distance

Command:

distance <number> [<ipv6-address>] [<access-list-name | access-list-number>]

no distance [<ipv6-address>]

Function:

Set the managing distance with this command. The “no distance [<A.B.C.D/M> ]” command

restores the default value to 120.

Parameter:

<number> specifies the distance value, ranging between 1-255.

Advertising