Change OSPF Attributes (CHGOSPFA)

The Change OSPF Attributes command (CHGOSPFA) allows you to change the OSPF (Open Shortest Path First) global information, such as the router identifier or the comparison type.

Restrictions:

Parameters

Keyword Description Choices Notes
ROUTER Router identifier Character value, *SAME, *DFT Optional, Positional 1
CMPTYPE Comparison type *SAME, *TYPE1, *TYPE2 Optional
BDYRTG Boundary routing *SAME, *NO, *YES Optional
AUTOSTART Autostart server *SAME, *NO, *YES Optional
SUBAGTMON Subagent monitor *SAME, *YES, *NO Optional

Router identifier (ROUTER)

Specifies the unique identifier that an OSPF network will recognize as participating of the routing domain. The router identifier must be represented in dotted-decimal format.

*SAME
The router identifier for the system that was previously set does not change; otherwise, *DFT is used.
character-value
Specifies a dotted-decimal value as router identifier. The router identifier must be specified as an IPv4 internet address in the form nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255.
*DFT
OMPROUTED will take the system name/domain name to obtain the the router identifier.

Comparison type (CMPTYPE)

Specifies how the OMPROUTED server should treat the external metrics or costs.

*SAME
The comparison type value that was previously set does not change; otherwise, *TYPE2 is used.
*TYPE2
The Type 2 external cost is greater than any internal link cost in the Autonomous System. Type 2 external cost avoids the need to convert the external metrics to the internal link cost.
*TYPE1
The Type 1 external metric is similar to the link cost.

Boundary routing (BDYRTG)

Specifies whether or not autonomous system boundary routing capability is enabled. If enabled, this capability allows the OMPROUTED server to import routes learned from other methods, like RIP or statically configured, into the OSPF domain.

*SAME
The boundary routine option value that was previously set does not change; otherwise, *NO is used.
*NO
Boundary routing capability is disable.
*YES
Boundary routing capability is enable.

Autostart server (AUTOSTART)

Specifies whether to start the OMPROUTED server automatically when TCP/IP is started by running the Start TCP/IP (STRTCP) command, or the Start TCP/IP Server (STRTCPSVR) command with SERVER(*AUTOSTART) specified. When OMPROUTED is started by running the STRTCPSVR command with SERVER(*OMPROUTED), this parameter is ignored; the OMPROUTED server is started regardless of the value of this parameter.

*SAME
The autostart value that was previously set does not change; otherwise, *YES is used.
*YES
Automatically start the OMPROUTED server.
*NO
Do not automatically start the OMPROUTED server.

Subagent monitor (SUBAGTMON)

Specifies whether or not to enable the OSPF SNMP (Simple Network Manager Protocol) subagent to collect IPv4 OSPF state and configuration information from the OMPROUTED server.

*SAME
The subagent monitor value that was previously set does not change; otherwise, *YES is used.
*YES
The subagent monitor is enabled.
*NO
The subagent monitor is disable.

Examples

CHGOSPFA ROUTER('1.1.1.1')

This command changes the OSPF router for the system that will be identified in the OSPF routing domain.

Error messages

*ESCAPE Messages

TCP8050
*IOSYSCFG authority required to use &1.
TCP6522
OSPF attributes have not been changed successfully because of reason code &1