EasyManua.ls Logo

Ruijie RG-S29 Series

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Reference OSPFv2 Commands
show ip route
Displays the IP route table.
redistribute
Redistributes routes of other routing processes.
Platform
Description
N/A
2.14 default-metric
Use this command to set the default metric of OSPF redistribution route. Use the no form of this
command to restore the default setting.
default-metric metric
no default-metric
Parameter
Description
Parameter
Description
metric
Default metric of the OSPF redistribution route in the range from1 to
16777214
Defaults
The default metric is not configured by default.
Command
Mode
Routing process configuration mode
Usage Guide
The default-metric command must work with the redistribute command in routing process
configuration mode to modify the initial metric of all redistributed routes.
The configuration result of the default-metric command does not take effect for the external routes
injected into the OSPF routing domain with the default-information originate command.
Configuration
Examples
The following example configures the default metric of the OSPF redistribution route as 50.
Switch(config)# router rip
Ruijie(config-router)# network192.168.12.0
Switch(config-router)# version 2
Ruijie(config-router)# exit
Ruijie(config)# routerospf1
Ruijie(config-router)# network172.16.10.0 0.0.0.255area0
Switch(config-router)# default-metric 50
Ruijie(config-router)# redistribute rip subnets
Related
Commands
Command
Description
redistribute
Redistributes the routes of other routing
processes.
show ip ospf
Displays the OSPF global configuration
information.

Table of Contents

Related product manuals