DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
394
40-22 router ospf
This command is used to enable OSPF and enter the router configuration mode. Use the no form of this command to
disable OSPF.
router ospf [vrf
vrf-name
]
no router ospf [vrf
vrf-name
]
Parameters
Default
By default route redistribution is disabled.
By default
metric-type
is 2.
By default no route map is used.
Command Mode
Router Configuration Mode.
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
External Routes can be redistributed to normal area as type 5 external routes, and
redistributed to NSSA stub area as type 7 external routes by ASBR.
The external route type can be type 1 or type 2. If the redistributed external route is
of type 1, the metric represents the internal metric. If the redistributed external route
is of type 2, the metric represents the external metric. An internal metric will consider
the cost of the route from itself to the redistributing router plus the advertised cost to
reach the destination. An external metric only considers the advertised metric to
reach the destination.
By default, connected and static route will not be re-distributed either.
Use the redistribute or the default-information router configuration commands make
the router becomes an ASBR.
If a metric is not specified, metric will be the value set by default metric command. If
no value specified by default metric, routes redistributed from other protocols will get
20 as the metric value with the following exception. BGP will get 1 as the metric
value.
Note that if the redistricted route is a default route, then the metric is determined by
default-information originate command.
Users can verify the settings by entering the
show ip ospf
command.
Example
This example shows how to enable redistribution of RIP routes into the OSPF
routing domain and set the metric to 5.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router ospf
DXS-3600-32S(config-router)#redistribute rip metric 5 metric-type 1
DXS-3600-32S(config-router)#
vrf
vrf-name
(Optional) Specifies to restart OSPF VRF instance.
Default
By default OSPF is disabled and no OSPF VRF instance is created.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 8. (
EI Mode Only Command
)
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...