DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
385
40-9 default-metric
This command is used to set the default metric value of OSPF redistributed routes. Use the no command to restore to
the default value.
default-metric
metric
no default-metric
Parameters
40-10 route-preference ospf
This command is used to set the management route preference of different types of OSPF routes. Use the no
command to restore to the default value.
route-preference ospf {intra-area
value
| inter-area
value
| external-1
value
| external-2 value}
no route-preference ospf
Parameters
Example
This example shows how to enable the default-information originate function and set
the metric to 10.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router ospf
DXS-3600-32S(config-router)#default-information originate metric 10
DXS-3600-32S(config-router)#default-information originate always
DXS-3600-32S(config-router)#
metric
Specifies the default metric value of OSPF redistributed routes. The value range is 1
to 16777214.
Default
The default metric value of OSPF redistributed routes is 20.
Command Mode
Router Configuration Mode.
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
The
default-metric
command is used in conjunction with the
redistribute
command
to cause the OSPF to use the default metric value for the redistributed routes that
have no metric specified.
Precedence of setting to determine the metric are: set metric in route map > metric in
redistributed command > default-metric setting.
Users can verify the settings by entering the
show ip ospf
command.
Example
This example shows how to set the default metric value of OSPF redistributed routes
to 10.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router ospf
DXS-3600-32S(config-router)#default-metric 10
DXS-3600-32S(config-router)#
intra-area
value
(Optional) Specifies the route preference for all routes within an area. The value
range is 1 to 999.
inter-area
value
(Optional) Specifies the route preference for all routes from one area to another
area. The value range is 1 to 999.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...