# domain-id

#### Syntax

domain-id domainIdAddress | domainId

no domain-id

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Sets the OSPF domain ID for an OSPF VRF on a PE. The no version restores the default value.

#### Options

- domainIdAddress—OSPF domain ID in IP address format; default value is the IP address of the OSPF router configured in the VRF
- domainId—OSPF domain ID as an integer value in the range 0–4294967295; default value is 0

  When the domainid is zero, MP-BGP does not attach an OSPF domain identifier attribute when it converts an OSPF route to an MP-BGP route to cross the BGP/MPLS VPN.

#### Mode

Router Configuration