413
14.4.3.5 default-information originate
Command: default-information originate
no default-information originate
Function:
Allow the network 0.0.0.0 to be redistributed into the RIP. The “
no
default-information originate
” disable this function.
Parameter:
None
Default:
Disabled
Command Mode:
router mode
Example:
Switch# config terminal
Switch(config)# router rip
Switch(config-router)# default-information originate
14.4.3.6 default-metric
Command: default-metric
<value>
no default-metric
Function:
Set the default metric value of the introduced route. The “
no default-metric
”
command restores the default value to 1.
Parameter: <value>
is the metric value to be set, ranging between 1~16.
Default:
Default route metric value is 1
Command Mode:
Router mode and address-family 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 RIP routes. When
using the
redistribute
command 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 to 3 for introducing routes from other routing
protocols into the RIP routes.
Switch(config-router)#default-metric 3
14.4.3.7 distance
Command: distance <number> [<A.B.C.D/M> ]
[<access-list-name|access-list-number >]
no distance [<A.B.C.D/M> ]
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.
<A.B.C.D/M>
specifies the network prefix and its length.