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.
Parameter | Description | Value |
---|---|---|
null |
Sets the OSPFv3 domain ID to null. |
- |
domain-idvalue |
Specifies the ID of an OSPF domain as an integer. |
It is an integer, the value ranges from 0 to 4294967295. The value is converted to dotted decimal notation (with 256 as a carry) when the ID is displayed. |
domain-idvalue_ipv4 |
Specifies the ID of an OSPF domain as an IP address. |
It is in dotted decimal notation, it is displayed as entered. |
type |
Specifies the domain ID type. |
- |
0005 |
Specifies the type 0x0005. |
- |
0105 |
Specifies the type 0x0105. |
- |
0205 |
Specifies the type 0x0205. |
- |
8005 |
Specifies the type 0x8005. |
- |
value domainTypeValue |
Specifies the value of the OSPFv3 domain ID type. |
The value is a hexadecimal number ranging from 0 to FFFF, and the default value is 0. |
secondary |
Indicates the ID of a secondary domain. |
- |
Usage Scenario
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, and the maximum number 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.