Configuring OSPF
Example
This example shows how to configure IP address 182.127.62.1 0.0.0.31 as OSPF area 0:
Matrix>Router(config)#router ospf 1
Matrix>Router(config-router)#network 182.127.62.1 0.0.0.31 area 0
router id
Use this command to set the OSPF router ID for the device.
Syntax
router id ip-address
no router id
Parameters
ip‐address
Defaults
None.
Mode
Router command, Router configuration: Matrix>Router(config‐router)#
Usage
The OSPF protocol uses the router ID as a tie‐breaker for path selection. If not specified, this will
be set to the lowest IP address of the interfaces configured for IP routing.
The "no" form of this command resets the router ID to the first interface configured for IP routing.
Example
This example shows how to set the OSPF router ID to IP address 182.127.62.1:
Matrix>Router(config-router)#router id 182.127.62.1
ip ospf cost
Use this command to set the cost of sending an OSPF packet on an interface.
Syntax
ip ospf cost cost
no ip ospf cost
Parameters
cost
Defaults
None.
21-24 Routing Protocol Configuration
Specifies the IP address that OSPF will use as the router ID.
Specifies the cost of sending a packet. Valid values range from 1 to
65535.
router id
Need help?
Do you have a question about the Enterasys Matrix DFE-Gold Series and is the answer not in the manual?
Questions and answers