domain-id
Use this command to specify the domain ID for a OSPF bound to VRF.
The routes sent from OSPF to the VPN cloud are sent along with the domain ID. In this way, the domain ID acts as an
identification for the route received from each OSPF domain.
Use the no form of this command to remove a domain ID.
Command Syntax
domain-id ((A.B.C.D (secondary|)) | (type (type-as|type-as4|type-back-comp) value
HEX_DATA (secondary|)))
no domain-id ((A.B.C.D (secondary|)) | (type (type-as|type-as4|type-back-comp)
value HEX_DATA (secondary|)))
Parameters
A.B.C.D
Domain ID in IP address format.
secondary
Domain ID is secondary. If not specified the domain ID is primary.
type
Domain type:
type-as
AS format. Hexadecimal value is 0x0005.
type-as4
AS4 format. Hexadecimal value is 0x0205.
type-back-comp
Used for backward compatibility. Hexadecimal value is 0x8000.
value
Domain ID.
HEX_DATA
Domain ID in hexadecimal.
secondary
Domain ID is secondary. If not specified the domain ID is primary
Default
No domain ID is defined.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following example shows configuring a primary domain ID in IP address format.
#configure terminal
(config)#router ospf 100 vrf
(config-router)#domain-id 12.12.12.12
The following example shows configuring a secondary domain ID in IP address format.
#configure terminal
(config)#router ospf 100 vrf
(config-router)#domain-id 13.13.13.13 secondary
The following example shows configuring a primary domain ID in AS type format.
#configure terminal
(config)#router ospf 100 vrf
(config-router)#domain-id type type-as value 123456abcdef
Last modified date: 10/16/2023