Default-Metric (Rip) - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands

default-metric (RIP)

To set default metric values for the Routing Information Protocol (RIP), use the default-metric
command in router address-family configuration mode. To return to the default state, use the no form of
this command.
Syntax Description
value
Command Default
value: 1
Command Modes
Router address-family configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
Use the default-metric command with the redistribute command to use the same metric value for all
redistributed routes. A default metric helps to solve the problem of redistributing routes with
incompatible metrics. Whenever external metrics do not convert to RIP metrics, you can use a default
metric to provide a reasonable substitute to the external metric and enable the redistribution to proceed.
This command does not require a license.
Examples
This example shows how to advertise Open Shortest Path First (OSPF) routes using RIP and assign the
OSPF-derived routes with a RIP metric of 10:
switch# configure terminal
switch(config)# router rip Enterprise
switch(config-router)# address-family ipv4 unicast
switch(config-router-af)# default-metric 10
switch(config-router-af)# redistribute ospf 109 route-map FilterOSPF
switch(config-router-af)#
Related Commands
Command
address-family
copy running-config
startup-config
default-information
originate
OL-27852-01
default-metric value
no default-metric [value]
Default metric value. The range is from 1 to 15.
Modification
This command was introduced.
Description
Enters address-family configuration mode.
Saves the configuration to the startup configuration file.
Generates a default route for routes redistributed into RIP.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
default-metric (RIP)
111

Advertisement

Table of Contents
loading

Table of Contents