TMS zl Management and Configuration Guide ST.1.1.100430

A-108
Command-Line Reference
Global Configuration Context
router
This command configures all of the routing protocol settings. It leads to three
contexts:
RIP
OSPF
PIM
Using the router command, you can configure a few OSPF and PIM options
before entering their contexts:
For OSPF, you can configure:
The administrative distance
Route redistribution—connected, static, RIP
The default metric
The metric type
The router ID
router ospf
To configure OSPF settings, enter the following command:
Syntax: router ospf <command option>
The available options for the command are shown in Table A-32.
Table A-32. OSPF Command Options
Command Option Purpose
distance <distance> Specifies the administrative distance for OSPF
routes (1–255). The default administrative distance is
110.
metric-type <type 1 | type 2 > Specifies the metric type that is used for routes
redistributed into your OSPF system. (Type 1 includes
the internal and external cost for redistributed
routes, whereas type 2 includes only the external
cost.) The default type is type 2.
router-id <ID> Specifies the IP address that will uniquely identify
the module.
redistribute [connected | static | rip] Specifies the type of routes that the module will
redistribute as OSPF routes. By default, all three
types are redistributed.
default-metric <metric> Specifies the default metric for redistributed routes
(1–65535). The default metric is 10.