# Intermediate System to Intermediate System (IS-IS)

# URL

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

# OPENCONFIG YANG

YANG models

{
    "protocol": [
        {
            "identifier": "frinx-openconfig-policy-types:ISIS",
            "name": 
            "config": {
                "identifier": "frinx-openconfig-policy-types:ISIS",
                "name": 
            },
            "isis": {
                "interfaces": {
                    "interface": [
                        {
                            "interface-id": "",
                            "config": {
                                "interface-id": "",
                                "circuit-type": "",
                                "frinx-isis-extension:level-capability": ""
                            },
                            "authentication" {
                                "key": {
                                    "config": {
                                        "auth-password": "Encrypted[]"
                                    }
                                }
                            },
                            "afi-safi" {
                                "af": [
                                    {
                                        "afi-name": "",
                                        "safi-name": "",
                                        "config": {
                                            "afi-name": "",
                                            "safi-name": "",
                                            "frinx-isis-extension:metric": 
                                        }
                                    }
                                ]
                            },
                            "timers" {
                                "config": {
                                    "frinx-isis-extension:retransmission-interval": 
                                }
                            }
                        }
                    ]
                },
                "global": {
                    "config": {
                        "frinx-isis-extension:max-link-metric": [
                            
                        ]
                    },
                    "afi-safi" {
                        "af": [
                            {
                                "afi-name": "",
                                "safi-name": "",
                                "config": {
                                    "afi-name": "",
                                    "safi-name": ""
                                },
                                "frinx-isis-extension:redistributions": {
                                    "redistribution": [
                                        {
                                            "protocol": isis,
                                            "instance": ,
                                            "config": {
                                                "protocol": isis,
                                                "instance": ,
                                                "level": ,
                                                "metric": ,
                                                "route-policy": 
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            }
        }
    ]
}

# OS Configuration Commands

# Cisco IOS XR 6.2.3

# CLI

router isis 
 interface 
  circuit-type 
  point-to-point
  hello-password hmac-md5 encrypted 
  retransmit-interval 
  address-family  
   metric 

point-to-point is a conversion of set POINT_TO_POINT

value frinx-openconfig-isis-types:IPV6 is to be converted to ipv6
value frinx-openconfig-isis-types:UNICAST is to be converted to unicast
value LEVEL_1 is to be converted to level-1
value LEVEL_2 is to be converted to level-2
value LEVEL_1_2 is to be converted to level-1-2

# Cisco IOS XR 6.6.1(CLI)

# CLI

router isis 
 max-link-metric [level 1|2]
 address-family  
  redistribute isis   metric  route-policy 

value frinx-isis-extension:NOT_SET is to be converted to max-link-metric
value frinx-isis-extension:LEVEL_1 is to be converted to max-link-metric level 1
value frinx-isis-extension:LEVEL_2 is to be converted to max-link-metric level 2

value frinx-openconfig-isis-types:IPV6 is to be converted to ipv6
value frinx-openconfig-isis-types:UNICAST is to be converted to unicast

is converted from .

  • if is LEVEL_1, then is set as level-1
  • if is LEVEL_2, then is set as level-2
  • if is LEVEL_1_2, then is set as level-1-2