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)# network
192.168.12.0
Switch(config-router)# version 2
Ruijie(config-router)# exit
Ruijie(config)# routerospf1
Ruijie(config-router)# network
172.16.10.0 0.0.0.255
area0
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.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...