The domain-id command sets an OSPFv3 domain ID.
The undo domain-id command restores the default setting.
By default, the domain ID is null.
domain-id { null | domain-id [ type { 0005 | 0105 | 0205 | 8005 } value value | secondary ] * }
undo domain-id domain-id [ type { 0005 | 0105 | 0205 | 8005 } value value ]
| Parameter | Description | Value |
|---|---|---|
| null | Specifies the OSPFv3 domain ID to null. | - |
| domain-id | Specifies the OSPFv3 domain ID. | It can be expressed by an integer or in dotted decimal notation. If the domain ID is expressed by an integer, its value ranges from 0 to 4294967295; it is converted to the dotted decimal notation and carried 1 with 256 when being displayed. If the domain ID is in dotted decimal notation format, it is displayed as originally entered. |
| type { 0005 | 0105 | 0205 | 8005 } | Specifies the type of the OSPFv3 domain ID. | The default value is 0005. |
| value value | Specifies the value of the OSPFv3 domain ID type. | The value is a hexadecimal number that ranges from 0 to FFFF. The default value is 0. |
| secondary | Indicates the ID of a secondary domain. | - |
Generally, the routes that are imported from a PE are advertised as External-LSAs. The routes that belong to different nodes of the same OSPFv3 domain are advertised as Type-3 LSAs (intra-domain routes). This requires that different nodes in the same OSPFv3 domain have the same domain ID.
Two values, 0 and null, of the domain ID indicate different meanings.
The maximum number of secondary domain IDs on each OSPFv3 process is 10. The maximum number of secondary domain IDs may vary with products.
The parameter secondary can be configured only when the primary domain ID is configured. When the undo domain-id command is run, if no parameter is specified, the primary domain ID is deleted.