domain-id

Use this command to specify an OSPF VPN routing and forwarding (VRF) domain ID.

Syntax

domain-id type type value value [secondary]
no domain-id type type value value [secondary]

Parameters

type type Specifies an OSPF VRF domain ID type. Valid values are 0005 | 0105 | 0205 | 8005.
value value Specifies an OSPF VRF domain ID value. Valid values are six octets in hex format (up to 12 hex characters). Default value is 0.
secondary (Optional) Specifies an OSPF secondary domain ID

Defaults

  • The OSPF VRF domain ID type defaults to 0005
  • The OSPF VRF domain ID default value is 0.

Mode

VRF configuration, OSPFv3 router configuration.

Usage

If the OSPF instances of an OSPF domain are given one or more domain IDs, OSPF can determine whether an OSPF-originated VPN-IPv6 route belongs to the same domain as a given OSPF instance and whether the route should be redistributed to that OSPF instance as an inter-area route or as an OSPF AS-external route.

If two OSPF instances with a domain ID configured are in the same OSPF domain, the PE-CE protocol requires that the primary domain ID of each instance must be one its own domain IDs (either primary or secondary). If two OSPF instances with a domain ID configured are not in the same OSPF domain, the primary domain ID of each instance must not be configured as a domain ID of the other OSPF instance.

The PE-CE protocol (RFC 6565) must be enabled using enable-pe-ce to set the OSPF VRF domain ID.

The “no” form of this command restores the default domain ID type to 0005 and value to 0.

Example

This example shows how to set the OSPF VRF primary domain ID type to 0105 and value to 100 for VRF doc:

System(su)->router doc
System(su-doc)->configure
System(su-doc-config)->router ospf 10
System(su-doc-config-ospf-10)->enable-pe-ce
System(su-doc-config-ospf-10)->domain-id type 0105 100