Modifying default metric for redistribution

The default metric is a global parameter that specifies the cost applied to all RIP routes by default. The default value is 1. You can assign a cost from 1 to 15.

Syntax:


default-metric value

The value can be from 1 to 15. The default is 1.

Example:

To assign a default metric of 4 to all routes imported into RIP, enter the following commands:

switch(config)# router rip
switch(rip)# default-metric 4