OcNOS DC : OpenConfig Command Reference : ISIS OpenConfig Translation
ISIS OpenConfig Translation
General Restrictions
Operation create
NETCONF’s operation="create" is only supported at objectlist elements. For example: /network-instances/network-instance/protocols/protocol/isis/interfaces/interface[interface-id]. Payloads with this operation on other elements have undefined behavior.
Deletion of AFI-SAFI
By default AF-IPv4 is always present on IS-IS global configuration and cannot be deleted. Deletion of this entry affects only its children configuration, if any. No error message is expected otherwise.
When deleting /oc-netinst:network-instances/network-instance/protocols/protocol/isis/global/afi-safi or /oc-netinst:network-instances/network-instance/protocols/protocol/isis/global/afi-safi/af, the following occurs:
Operation=”delete” will be placed at the supported attribute’s nodes.
If AF-IPv6 is configured, it will remove the entire element from af object-list.
Create IS-IS instance
This XML configuration snippet is used to configure an IS-IS instance.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure an IS-IS instance.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure an IS-IS instance.
router isis ABC
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure an IS-IS instance.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
</isis-instance>
</isis-instances>
</isis>
Restrictions
An instance without AF-IPv4 support cannot be configured.
AF-IPv4 cannot be deleted.
Only safi-name UNICAST is supported.
operation="create" is not supported on the objectlist isis/global/afi-safi/af.
Configure global parameters
This XML configuration snippet is used to configure the following IS-IS global parameters:
metric
level-capability
maximum-area-addresses
net
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS global parameters.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<metric>10</metric>
</config>
</af>
</afi-safi>
<config>
<level-capability>LEVEL_2</level-capability>
<maximum-area-addresses>5</maximum-area-addresses>
<net>49.0000.0000.0001.00</net>
</config>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI is used to configure IS-IS global parameters.
router isis ABC
distance 10
is-type level-2-only
max-area-address 5
net 49.0000.0000.0001.00
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS global parameters.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<distance>10</distance>
<vrf-name>default</vrf-name>
<level-capability>level-2-only</level-capability>
<maximum-area-addresses>5</maximum-area-addresses>
</config>
<network-entity-title>
<config>
<net>49.0000.0000.0001.00</net>
</config>
</network-entity-title>
</isis-instance>
</isis-instances>
</isis>
Restrictions
None
Configure level traffic-engineering
This XML configuration snippet is used to configure IS-IS level traffic-engineering.
Release
This configuration was introduced in OcNOS version 6.5.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS level traffic-engineering.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<levels >
<level >
<level-number>1</level-number>
<config >
<metric-style>WIDE_METRIC</metric-style>
<level-number>1</level-number>
</config>
<traffic-engineering >
<config>
<ipv4-router-id operation='delete' />
<enabled>true</enabled>
</config>
</traffic-engineering>
</level>
<level >
<level-number>2</level-number>
<config>
<metric-style>WIDE_METRIC</metric-style>
<level-number>2</level-number>
</config>
<traffic-engineering>
<config>
<ipv4-router-id />
<enabled>true</enabled>
</config>
</traffic-engineering>
</level>
</levels>
</isis>
<config>
<identifier xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS level traffic-engineering.
router isis ABC
mpls traffic-eng router-id 10.10.0.23
 
router isis ABC
mpls traffic-eng ipv6 router-id 10.10.0.23
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS level traffic-engineering.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
<metric>
<style>wide</style>
<level-number>level-1-2</level-number>
<config>
<style>wide</style>
<level-number>level-1-2</level-number>
</config>
</metric>
<traffic-engineering>
<config>
<ipv4-router-id>10.10.0.11</ipv4-router-id>
</config>
</traffic-engineering>
<mpls-traffic-engg>
<config>
<enable-level-1 />
<enable-level-2 />
</config>
</mpls-traffic-engg>
</isis-instance>
</isis-instances>
</isis>
Restrictions
When configuring traffic-engineering on the OcNOS side, the router-id will be set up at both levels (level-1 and level-2) on the OpenConfig side.
The configuration on the OpenConfig side must have the same router-ids for both levels.
Deletion will only work if the router-ids for both levels are deleted.
Configure AF IPv6 support
This XML configuration snippet is used to configure IS-IS instance with IPv6 support.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS instance with IPv6 support.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABCv6</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV6</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV6</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABCv6</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS instance with IPv6 support.
router isis ABCv6
address-family ipv6
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS instance with IPv6 support.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABCv6</instance>
<config>
<instance>ABCv6</instance>
<vrf-name>default</vrf-name>
</config>
<address-family-ipv6>
<config>
<afi-name>ipv6</afi-name>
</config>
</address-family-ipv6>
</isis-instance>
</isis-instances>
</isis>
Restrictions
None
Configure metric parameter on AF IPv6
This XML configuration snippet is used to configure IS-IS global parameter metric on AF IPv6.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS global parameter metric on AF IPv6.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABCv6</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV6</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV6</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<metric>20</metric>
</config>
</af>
</afi-safi>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABCv6</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS global parameter metric on AF IPv6.
router isis ABCv6
address-family ipv6
distance 20
exit-address-family
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS global parameter metric on AF IPv6.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABCv6</instance>
<config>
<instance>ABCv6</instance>
<vrf-name>default</vrf-name>
</config>
<address-family-ipv6>
<config>
<afi-name>ipv6</afi-name>
<administrative-distance>20</administrative-distance>
</config>
</address-family-ipv6>
</isis-instance>
</isis-instances>
</isis>
Restrictions
None
Configure Global Timers parameters
This XML configuration snippet is used to configure the following IS-IS global timers parameters:
lsp-refresh-interval
lsp-lifetime-interval
spf-first-interval
spf-second-interval
lsp-max-wait-interval
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS global timers parameters.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<timers>
<config>
<lsp-refresh-interval>1</lsp-refresh-interval>
<lsp-lifetime-interval>350</lsp-lifetime-interval>
</config>
<spf>
<config>
<spf-first-interval>0</spf-first-interval>
<spf-second-interval>2147483647</spf-second-interval>
</config>
</spf>
<lsp-generation>
<config>
<lsp-max-wait-interval>40</lsp-max-wait-interval>
</config>
</lsp-generation>
</timers>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS global timers parameters.
router isis ABC
lsp-gen-interval 40
lsp-refresh-interval 1
max-lsp-lifetime 350
spf-interval-exp 0 2147483647
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS global timers parameters.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
<timers>
<config>
<lsp-refresh-interval>1</lsp-refresh-interval>
<lsp-lifetime-interval>350</lsp-lifetime-interval>
</config>
</timers>
<spf-levels>
<spf-level>
<level>level-1-2</level>
<spf-delay>
<spf-min-delay>0</spf-min-delay>
<spf-max-delay>2147483647</spf-max-delay>
<config>
<spf-min-delay>0</spf-min-delay>
<spf-max-delay>2147483647</spf-max-delay>
</config>
</spf-delay>
<config>
<level>level-1-2</level>
</config>
</spf-level>
</spf-levels>
<levels>
<level>
<type>level-1-2</type>
<config>
<type>level-1-2</type>
<lsp-max-wait-interval>40</lsp-max-wait-interval>
</config>
</level>
</levels>
</isis-instance>
</isis-instances>
</isis>
Restrictions
The following timer parameters are supported only in OcNOS level-1-2.
spf-interval-exp
max-lsp-lifetime
lsp-max-wait-interval
Configure Global Transport parameter
This XML configuration snippet is used to configure IS-IS global transport parameter lsp-mtu-size.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS global transport parameter lsp-mtu-size.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<transport>
<config>
<lsp-mtu-size>600</lsp-mtu-size>
</config>
</transport>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS global transport parameter lsp-mtu-size.
router isis ABC
lsp-mtu 600
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS global transport parameter lsp-mtu-size.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
<levels>
<level>
<type>level-1-2</type>
<config>
<type>level-1-2</type>
<lsp-mtu-size>600</lsp-mtu-size>
</config>
</level>
</levels>
</isis-instance>
</isis-instances>
</isis>
Restrictions
The parameter lsp-mtu-size is only supported on OcNOS level-1-2.
Configure LSP-BIT parameter
This XML configuration snippet is used to configure IS-IS global parameter LSP-BIT’s set-bit and set-bit-on-boot.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS global parameter LSP-BIT’s set-bit and set-bit-on-boot.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<lsp-bit>
<overload-bit>
<config>
<set-bit>true</set-bit>
<set-bit-on-boot>true</set-bit-on-boot>
</config>
<reset-triggers>
<reset-trigger>
<reset-trigger
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:WAIT_FOR_BGP</reset-trigger>
<config>
<reset-trigger
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:WAIT_FOR_BGP</reset-trigger>
</config>
</reset-trigger>
</reset-triggers>
</overload-bit>
</lsp-bit>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS global parameter LSP-BIT’s set-bit and set-bit-on-boot.
router isis ABC
set-overload-bit on-startup wait-for-bgp
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS global parameter LSP-BIT’s set-bit and set-bit-on-boot.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
<lsp-over-load>
<config>
<enabled/>
<set-bit-on-boot>wait-for-bgp</set-bit-on-boot>
</config>
</lsp-over-load>
</isis-instance>
</isis-instances>
</isis>
Restrictions
When set-bit-on-boot is set, reset-trigger is always oc-isis-types: WAIT_FOR_BGP.
operation="create" is not supported on objectlist lsp-bit/overload-bit/reset-triggers/reset-trigger.
Configure Inter-level Propagation Policies parameter
This XML configuration snippet is used to configure the foloowing IS-IS inter-level propagation policies:
level1-to-level2
level2-to-level1
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS inter-level propagation policies.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<inter-level-propagation-policies>
<level1-to-level2>
<config>
<default-import-policy>ACCEPT_ROUTE</default-import-policy>
</config>
</level1-to-level2>
<level2-to-level1>
<config>
<default-import-policy>ACCEPT_ROUTE</default-import-policy>
</config>
</level2-to-level1>
</inter-level-propagation-policies>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS inter-level propagation policies.
router isis ABC
redistribute isis level-1 into level-2
redistribute isis level-2 into level-1
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS inter-level propagation policies.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
<address-family-ipv4>
<redistribute-level-1-into-2>
<enable/>
<config>
<enable/>
</config>
</redistribute-level-1-into-2>
<redistribute-level-2-into-1>
<enable/>
<config>
<enable/>
</config>
</redistribute-level-2-into-1>
</address-family-ipv4>
</isis-instance>
</isis-instances>
</isis>
Restrictions
None
Configure Graceful Restart parameter
This XML configuration snippet is used to configure IS-IS graceful restart parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS graceful restart parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<graceful-restart>
<config>
<enabled>false</enabled>
</config>
</graceful-restart>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS graceful restart parameter.
router isis ABC
no capability restart graceful
OcNOS NetConf Payload
Here is a sample NetConf Payload to configure IS-IS graceful restart parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
<disable-gr-capability/>
</config>
</isis-instance>
</isis-instances>
</isis>
Restrictions
IS-IS Graceful Restart is enabled by default on OcNOS.
Configure Metric Style parameter
This XML configuration snippet is used to configure IS-IS metric-style parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS metric-style parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<levels>
<level>
<level-number>1</level-number>
<config>
<metric-style>WIDE_METRIC</metric-style>
<level-number>1</level-number>
</config>
</level>
</levels>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</global>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS metric-style parameter.
router isis ABC
metric-style wide level-1
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS metric-style parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<metric>
<style>wide</style>
<level-number>level-1</level-number>
<config>
<style>wide</style>
<level-number>level-1</level-number>
</config>
</metric>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
</isis-instance>
</isis-instances>
</isis>
Restrictions
When configuring metric-style parameter on both levels together, both the values must match.
Configure Authentication parameter
This XML configuration snippet is used to configure IS-IS instance authentication.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS instance authentication.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<global>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</global>
<levels>
<level>
<level-number>1</level-number>
<authentication>
<config>
<auth-password>A-PWD</auth-password>
</config>
</authentication>
<config>
<level-number>1</level-number>
</config>
</level>
<level>
<level-number>2</level-number>
<authentication>
<config>
<auth-password>D-PWD</auth-password>
</config>
</authentication>
<config>
<level-number>2</level-number>
</config>
</level>
</levels>
</isis>
<config>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<enabled>true</enabled>
</config>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS instance authentication.
router isis ABC
area-password A-PWD
domain-password D-PWD
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS instance authentication.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
<area-authentication>
<config>
<area-password>A-PWD</area-password>
</config>
</area-authentication>
<domain-authentication>
<config>
<domain-password>D-PWD</domain-password>
</config>
</domain-authentication>
</isis-instance>
</isis-instances>
</isis>
Restrictions
None
Configure Interface IS-IS Parameter
This XML configuration snippet is used to associate an interface to an IS-IS instance:
interface-id
hello-padding.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to associate an interface to an IS-IS instance.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>STRICT</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to associate an interface to an IS-IS instance.
interface eth2
ip address 22.22.22.10/24
ip router isis ABC
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to associate an interface to an IS-IS instance.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
</config>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
There is a deviation to make oc-netinst:isis/interfaces/interface/afi-safi/af mandatory when oc-netinst:isis/interfaces/interface is being configured.
On OcNOS, IS-IS interface-related configuration can be applied even if the IS-IS instance is not yet created. In this case, edit operations using OpenConfig namespace will not work.
Configure Interface Authentication Parameter
This XML configuration snippet is used to configure IS-IS interface authentication.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS interface authentication.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>STRICT</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<levels>
<level>
<level-number>1</level-number>
<config>
<level-number>1</level-number>
</config>
<hello-authentication>
<config>
<auth-password>ABCDEFGHIJ</auth-password>
</config>
</hello-authentication>
</level>
</levels>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS interface authentication.
interface eth2
ip address 22.22.22.10/24
ip router isis ABC
isis password ABCDEFGHIJ level-1
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS interface authentication.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
</config>
<level-infos>
<level-info>
<level>level-1</level>
<config>
<level>level-1</level>
<password>ABCDEFGHIJ</password>
</config>
</level-info>
</level-infos>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
None
Configure Interface IGP-LDP-SYNC Parameter
This XML configuration snippet is used to configure IS-IS igp-ldp-sync parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS igp-ldp-sync parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>STRICT</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<mpls>
<igp-ldp-sync>
<config>
<enabled>true</enabled>
</config>
</igp-ldp-sync>
</mpls>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS igp-ldp-sync parameter.
interface eth2
mpls ldp-igp sync isis level-1-2
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS igp-ldp-sync parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
</config>
</interface-parameters>
<igp-ldp-sync>
<config>
<level>level-1-2</level>
<hold-timer>70000</hold-timer>
</config>
</igp-ldp-sync>
</interface>
</interfaces>
</isis>
Restrictions
When igp-ldp-sync is configured, OcNOS will use a default hold-timer value of 70000.
This parameter is only supported on OcNOS level-1-2.
Configure Interface Circuit-type Parameter
This XML configuration snippet is used to configure IS-IS interface’s circuit-type parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS interface’s circuit-type parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>STRICT</hello-padding>
<circuit-type>POINT_TO_POINT</circuit-type>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS interface’s circuit-type parameter.
interface eth2
isis network point-to-point
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS interface’s circuit-type parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<network-type>point-to-point</network-type>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
</config>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
None
Configure Primary IP Address
This XML configuration snippet is used to configure IS-IS hello-padding parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS hello-padding parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>DISABLE</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
OcNOS CLI Command
The below CLI command is used to configure IS-IS hello-padding parameter.
interface eth2
no isis hello padding
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS hello-padding parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
<disable-padding/>
</config>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
IS-IS hello-padding is enabled by default on OcNOS.
Only OpenConfig’s DISABLE value is supported.
Configure Interface Passive Parameter
This XML configuration snippet is used to configure IS-IS passive parameter.
Note: On OcNOS, this attribute is configured at the instance mode, whereas on OpenConfig, it’s at interface.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS passive parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<config>
<interface-id>eth2</interface-id>
<passive>true</passive>
<hello-padding>STRICT</hello-padding>
</config>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS passive parameter.
router isis ABC
passive-interface eth2
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS passive parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<isis-instances>
<isis-instance>
<instance>ABC</instance>
<config>
<instance>ABC</instance>
<vrf-name>default</vrf-name>
</config>
<passive-interfaces>
<passive-interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
</passive-interface>
</passive-interfaces>
</isis-instance>
</isis-instances>
</isis>
Restrictions
None
Configure Interface IPv6 AF Parameter
This XML configuration snippet is used to configure IS-IS IPv6 support parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS IPv6 support parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABCv6</name>
<isis>
<interfaces>
<interface>
<interface-id>eth3</interface-id>
<interface-ref>
<config>
<interface>eth3</interface>
</config>
</interface-ref>
<config>
<interface-id>eth3</interface-id>
<hello-padding>STRICT</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV6</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV6</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS IPv6 support parameter.
interface eth3
ipv6 router isis ABCv6
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS IPv6 support parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth3</name>
<config>
<name>eth3</name>
</config>
<interface-parameters>
<config>
<ipv6-instance-tag>ABCv6</ipv6-instance-tag>
</config>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
None
Configure Interface BFD Parameter
This XML configuration snippet is used to configure IS-IS enable-bfd parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS enable-bfd parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>STRICT</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<enable-bfd>
<config>
<enabled>true</enabled>
</config>
</enable-bfd>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS enable-bfd parameter.
interface eth2
isis bfd
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS enable-bfd parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
</config>
<bfd>
<config>
<enable/>
</config>
</bfd>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
None
Configure Interface Priority Parameter
This XML configuration snippet is used to configure IS-IS priority parameter.
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS priority parameter.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>STRICT</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<levels>
<level>
<level-number>1</level-number>
<config>
<level-number>1</level-number>
<priority>50</priority>
</config>
</level>
</levels>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLI command is used to configure IS-IS priority parameter.
interface eth2
isis priority 50 level-1
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS priority parameter.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
</config>
<level-infos>
<level-info>
<level>level-1</level>
<config>
<level>level-1</level>
<priority>50</priority>
</config>
</level-info>
</level-infos>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
The OcNOS level-1-2 value for level-info is not supported by OpenConfig.
/isis/interfaces/interface/interface-parameters/level-infos/level-info
The XPath related to interfaces level-number below can only have values "1" or "2".
1. /oc-netinst:network-instances/network-instance[name]/protocols/protocol[identifier][name]/isis/interfaces/interface[interface-id]/levels/level[level-number]/level-number
2. /oc-netinst:network-instances/network-instance[name]/protocols/protocol[identifier][name]/isis/interfaces/interface[interface-id]/levels/level[level-number]/config/level-number
Configure Interface Timers Parameter
This XML configuration snippet is used to configure the following IS-IS parameters:
hello-interval
hello-multiplier
Release
This configuration was introduced in OcNOS version 6.4.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure IS-IS parameters hello-interval and hello-multiplier.
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>default</name>
<protocols>
<protocol>
<identifier
xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
<name>ABC</name>
<isis>
<interfaces>
<interface>
<interface-id>eth2</interface-id>
<interface-ref>
<config>
<interface>eth2</interface>
</config>
</interface-ref>
<config>
<interface-id>eth2</interface-id>
<hello-padding>STRICT</hello-padding>
</config>
<afi-safi>
<af>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
<config>
<afi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:IPV4</afi-name>
<safi-name
xmlns:oc-isis-types="http://openconfig.net/yang/isis-types">oc-isis-types:UNICAST</safi-name>
</config>
</af>
</afi-safi>
<levels>
<level>
<level-number>1</level-number>
<config>
<level-number>1</level-number>
</config>
<timers>
<config>
<hello-interval>1</hello-interval>
</config>
</timers>
</level>
<level>
<level-number>2</level-number>
<config>
<level-number>2</level-number>
</config>
<timers>
<config>
<hello-multiplier>2</hello-multiplier>
</config>
</timers>
</level>
</levels>
</interface>
</interfaces>
</isis>
</protocol>
</protocols>
</network-instance>
</network-instances>
OcNOS CLI Command
The below CLi command is used to configure IS-IS parameters hello-interval and hello-multiplier.
interface eth2
isis hello-interval 1 level-1
isis hello-multiplier 2 level-2
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure IS-IS parameters hello-interval and hello-multiplier.
<isis xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-isis">
<interfaces>
<interface>
<name>eth2</name>
<config>
<name>eth2</name>
</config>
<interface-parameters>
<config>
<ipv4-instance-tag>ABC</ipv4-instance-tag>
</config>
<level-infos>
<level-info>
<level>level-1</level>
<config>
<level>level-1</level>
<hello-interval>1</hello-interval>
</config>
</level-info>
<level-info>
<level>level-2</level>
<config>
<level>level-2</level>
<hello-multiplier>2</hello-multiplier>
</config>
</level-info>
</level-infos>
</interface-parameters>
</interface>
</interfaces>
</isis>
Restrictions
The OcNOS level-1-2 value for level-info is not supported by OpenConfig.
/isis/interfaces/interface/interface-parameters/level-infos/level-info
The XPath related to interfaces level-number below can only have values "1" or "2".
1. /oc-netinst:network-instances/network-instance[name]/protocols/protocol[identifier][name]/isis/interfaces/interface[interface-id]/levels/level[level-number]/level-number
2. /oc-netinst:network-instances/network-instance[name]/protocols/protocol[identifier][name]/isis/interfaces/interface[interface-id]/levels/level[level-number]/config/level-number