C613-50100-01 REV C Command Reference for x930 Series 871
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
RIP COMMANDS
DEFAULT
-METRIC (RIP)
default-metric (RIP)
Overview Use this command to specify the metrics to be assigned to redistributed RIP routes.
Use the no variant of this command to reset the RIP metric back to its default (1).
Syntax
default-metric <metric>
no default-metric [<metric>]
Default By default, the RIP metric value is set to 1.
Mode RIP Router Configuration or RIP Router Address Family Configuration for a VRF
instance.
Usage This command is used with the redistribute (RIP) command to make the routing
protocol use the specified metric value for all redistributed routes, regardless of
the original protocol that the route has been redistributed from.
Examples This example assigns the cost of 10 to the routes that are redistributed into RIP.
awplus# configure terminal
awplus(config)# router rip
awplus(config-router)# default-metric 10
awplus(config-router)# redistribute ospf
awplus(config-router)# redistribute connected
Example (VRF
lite)
This example assigns the cost of 10 to the routes which are redistributed into RIP
for the VRF instance blue.
awplus# configure terminal
awplus(config)# router rip
awplus(config-router)# address family ipv4 vrf blue
awplus(config-router-af)# default-metric 10
awplus(config-router-af)# redistribute ospf
awplus(config-router-af)# redistribute connected
Related
Commands
redistribute (RIP)
Parameter Description
<metric> <1-16> Specifies the value of the default metric.