# Open Shortest Path First v3 (OSPFv3)

# URL

frinx-openconfig-network-instance:network-instances/network-instance=default/protocols/protocol=frinx-openconfig-policy-types%3AOSPFv3,

# OPENCONFIG YANG

YANG models

{
   "protocol": [
        {
            "identifier": "frinx-openconfig-policy-types:OSPFv3",
            "name": 
            "config": {
                "identifier": "frinx-openconfig-policy-types:OSPFv3",
                "name": 
            },
            "ospfv3": {
                "global": {
                    "stub-router": {
                        "config": {
                            "set": true,
                            "advertise-lsas-types": "STUB_ROUTER_MAX_METRIC",
                            "always": true
                        }
                    }
                }
            }
        }
    ]
}

# OS Configuration Commands

# Cisco IOS XR 5.3.4

# CLI

router ospfv3 
 stub-router router-lsa max-metric
  always

value STUB_ROUTER_MAX_METRIC is to be converted to max-metric
value STUB_ROUTER_R_BIT is to be converted to r-bit
value STUB_ROUTER_V6_BIT is to be converted to v6-bit

# Unit

Link to github : xr-unit