# Static Route

# URL

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

# OPENCONFIG YANG

YANG models

{
    "protocol":[
        { 
            "identifier": "frinx-openconfig-policy-types:STATIC",
            "name": "default",
            "config": {
                "identifier": "frinx-openconfig-policy-types:STATIC",
                "name": "default"
            },
            "static-routes": {
                "static": [
                    {
                        "prefix": "",
                        "config": {
                            "prefix": "",
                            "frinx-local-routing-extension:afi-safi-type": ""
                        },
                        "next-hops": {
                            "next-hop": [
                                {
                                    "index": "",
                                    "config": {
                                        "index": "",
                                        "next-hop": "",
                                        "frinx-local-routing-extension:set-tag": ""
                                    },
                                    "interface-ref": {
                                        "config": {
                                            "interface": "",
                                            "subinterface": ""
                                        }
                                    }
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ]
}

# OS Configuration Commands

# IOS 12

# CLI

router static
 address-family 
   / .  tag 

ipv4 unicast is a conversion of set IPV4_UNICAST
ipv6 unicast is a conversion of set IPV6_UNICAST
is parsed from
is parsed from

# Unit

Link to github : ios-unit

# Cisco IOS XR 6.6.2

# CLI


router static
 address-family 
   / .  tag 

ipv4 unicast is a conversion of set IPV4_UNICAST
ipv6 unicast is a conversion of set IPV6_UNICAST
is parsed from
is parsed from

# Unit

Link to github : xr-unit