IPI-RIB
Configure fib retain
Use this attribute to configure retain time for stale routes (forever or specific time in seconds) in FIB after RIB restarts
Attribute Name: fib-retain
Attribute Type: union
Default Value: 60
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<global>
<config>
<fib-retain>60</fib-retain> <!-- operation="delete"-->
</config>
</global>
</routing>
Command Syntax
fib retain (time <1-65535>|forever|)
Configure max ecmp paths
Use this attribute to set the maximum number of paths to install in the FIB (Forwarding Information Base) for the ECMP (Equal-Cost MultiPath) feature.
Attribute Name: max-ecmp-paths
Attribute Type: uint8
Default Value: 8
Attribute Range: 1-64
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<global>
<config>
<max-ecmp-paths>1</max-ecmp-paths> <!-- operation="delete"-->
</config>
</global>
</routing>
Command Syntax
maximum-paths <1-64>
Configure max static routes
Use this attribute to set the maximum number of static routes.
Attribute Name: max-static-routes
Attribute Type: uint32
Default Value: 4294967294
Attribute Range: 1-4294967294
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<global>
<config>
<max-static-routes>1</max-static-routes> <!-- operation="delete"-->
</config>
</global>
</routing>
Command Syntax
max-static-routes <1-4294967294>
Configure max fib routes
Use this attribute to set the maximum number of FIB (Forwarding Information Base) routes excluding kernel, connected, and static routes.
Attribute Name: max-fib-routes
Attribute Type: uint32
Attribute Range: 1-16384
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<global>
<config>
<max-fib-routes>1</max-fib-routes> <!-- operation="delete"-->
</config>
</global>
</routing>
Command Syntax
max-fib-routes <1-16384>
Configure ipv4 enable bfd all interfaces
Use this attribute to enable static BFD on all interfaces.
Attribute Name: ipv4-enable-bfd-all-interfaces
Attribute Type: empty
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<global>
<config>
</ipv4-enable-bfd-all-interfaces><!-- operation="delete"-->
</config>
</global>
</routing>
Command Syntax
ip bfd static all-interfaces
Configure ipv6 enable bfd all interfaces
Use this attribute to enable ipv6 static BFD on all interfaces.
Attribute Name: ipv6-enable-bfd-all-interfaces
Attribute Type: empty
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<global>
<config>
</ipv6-enable-bfd-all-interfaces><!-- operation="delete"-->
</config>
</global>
</routing>
Command Syntax
ipv6 bfd static all-interfaces
Configure rib options
Use this attribute to debug the ribd process.
Attribute Name: rib-options
Attribute Type: bits (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events)
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<debug>
<config>
<rib-options>all</rib-options> <!-- operation="delete"-->
</config>
</debug>
</routing>
Command Syntax
debug rib (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events)
Configure ipv4 routing options
Use this attribute to debug ip route.
Attribute Name: ipv4-routing-options
Attribute Type: bits (routing|routing add-route|routing delete-route|routing mod-route)
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<debug>
<config>
<ipv4-routing-options>routing</ipv4-routing-options> <!-- operation="delete"-->
</config>
</debug>
</routing>
Command Syntax
debug ip (routing|routing add-route|routing delete-route|routing mod-route)
Configure ipv6 routing options
Use this attribute to debug ipv6 route.
Attribute Name: ipv6-routing-options
Attribute Type: bits (routing|routing add-route|routing delete-route|routing mod-route)
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<debug>
<config>
<ipv6-routing-options>routing</ipv6-routing-options> <!-- operation="delete"-->
</config>
</debug>
</routing>
Command Syntax
debug ipv6 (routing|routing add-route|routing delete-route|routing mod-route)
Configure interface name
Use this attribute to create an IPv4 static route where nexthop is interface name.
Attribute Name: interface-name
Attribute Type: string
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv4>
<route-vrfs>
<route-vrf> <!-- operation="delete"-->
<interface-name>IFNAME</interface-name>
<config>
<interface-name>IFNAME</interface-name>
<gateway-address>A.B.C.D</gateway-address>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
</config>
<gateway-address>A.B.C.D</gateway-address>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
</route-vrf>
</route-vrfs>
</ipv4>
</static-routes>
</routing>
Command Syntax
ip route (A.B.C.D/M|A.B.C.D A.B.C.D) A.B.C.D IFNAME
Configure bfd state
Use this attribute to set fall-over detection.
Attribute Name: bfd-state
Attribute Type: enum (disable|enable)
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv4>
<routes>
<route>
<gateway-address>A.B.C.D</gateway-address>
<config>
<gateway-address>A.B.C.D</gateway-address>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
</config>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
<bfd-state>disable</bfd-state> <!-- operation="delete"-->
</route>
</routes>
</ipv4>
</static-routes>
</routing>
Command Syntax
ip static A.B.C.D/M A.B.C.D fall-over-bfd (disable|enable)
Configure description
Use this attribute to set description of the static route.
Attribute Name: description
Attribute Type: string
Attribute Name: distance
Attribute Type: uint32
Default Value: 1
Attribute Range: 1-255
Attribute Name: tag
Attribute Type: uint32
Default Value: 0
Attribute Range: 0-4294967295
Attribute Name: track-id
Attribute Type: uint16
Attribute Range: 1-500
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv4>
<routes>
<route>
<gateway-address>A.B.C.D</gateway-address>
<config>
<gateway-address>A.B.C.D</gateway-address>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
<distance>1</distance> <!-- operation="delete"-->
<tag>0</tag> <!-- operation="delete"-->
<track-id>1</track-id> <!-- operation="delete"-->
</config>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
<description>LINE</description> <!-- operation="delete"-->
</route>
</routes>
</ipv4>
</static-routes>
</routing>
Command Syntax
ip route (A.B.C.D/M|A.B.C.D A.B.C.D) A.B.C.D (<1-255>|) (tag <0-4294967295>|) (track <1-500>|) (description LINE|)
Configure destination prefix
Use this attribute to set description of the static route.
Attribute Name: description
Attribute Type: string
Attribute Name: distance
Attribute Type: uint32
Default Value: 1
Attribute Range: 1-255
Attribute Name: tag
Attribute Type: uint32
Default Value: 0
Attribute Range: 0-4294967295
Attribute Name: track-id
Attribute Type: uint16
Attribute Range: 1-500
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv4>
<interface-routes>
<interface-route>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>IFNAME</interface-name>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
<distance>1</distance> <!-- operation="delete"-->
<tag>0</tag> <!-- operation="delete"-->
<track-id>1</track-id> <!-- operation="delete"-->
</config>
<destination-prefix>A.B.C.D/M|A.B.C.D A.B.C.D</destination-prefix>
<description>LINE</description> <!-- operation="delete"-->
</interface-route>
</interface-routes>
</ipv4>
</static-routes>
</routing>
Command Syntax
ip route (A.B.C.D/M|A.B.C.D A.B.C.D) IFNAME (<1-255>|) (tag <0-4294967295>|) (track <1-500>|) (description LINE|)
Configure distance
Use this attribute to configure administrative distance for mroute.
Attribute Name: distance
Attribute Type: uint32
Attribute Range: 0-255
Attribute Name: gateway-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv4>
<multicast-routes>
<multicast-route>
<protocol-type>default</protocol-type>
<config>
<protocol-type>default</protocol-type>
<source-prefix>A.B.C.D/M</source-prefix>
<gateway-address>A.B.C.D</gateway-address>
</config>
<source-prefix>A.B.C.D/M</source-prefix>
<distance>0</distance>
</multicast-route>
</multicast-routes>
</ipv4>
</static-routes>
</routing>
Command Syntax
ip mroute A.B.C.D/M ((static|rip|ospf|bgp|isis)|) A.B.C.D (<0-255>|)
Configure gateway address
Use this attribute to create an IPv6 static route for a subnet.
This command is supported when following feature are enabled ipv6 feature
Attribute Name: gateway-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv6>
<routes>
<route> <!-- operation="delete"-->
<gateway-address>X:X::X:X</gateway-address>
<config>
<gateway-address>X:X::X:X</gateway-address>
<destination-prefix>X:X::X:X/M</destination-prefix>
</config>
<destination-prefix>X:X::X:X/M</destination-prefix>
</route>
</routes>
</ipv6>
</static-routes>
</routing>
Command Syntax
ipv6 route X:X::X:X/M X:X::X:X
Configure track id
Use this attribute to set description of the static route.
This command is supported when following feature are enabled ipv6 feature
Attribute Name: description
Attribute Type: string
Attribute Name: distance
Attribute Type: uint32
Default Value: 1
Attribute Range: 1-255
Attribute Name: track-id
Attribute Type: uint16
Attribute Range: 1-500
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv6>
<routes>
<route>
<gateway-address>X:X::X:X</gateway-address>
<config>
<gateway-address>X:X::X:X</gateway-address>
<destination-prefix>X:X::X:X/M</destination-prefix>
<distance>1</distance> <!-- operation="delete"-->
<track-id>1</track-id> <!-- operation="delete"-->
</config>
<destination-prefix>X:X::X:X/M</destination-prefix>
<description>LINE</description> <!-- operation="delete"-->
</route>
</routes>
</ipv6>
</static-routes>
</routing>
Command Syntax
ipv6 route X:X::X:X/M X:X::X:X (<1-255>|) (track <1-500>|) (description LINE|)
Configure source prefix
Use this attribute to configure administrative distance for mroute.
This command is supported when following feature are enabled ipv6 feature
Attribute Name: distance
Attribute Type: uint32
Attribute Range: 0-255
Attribute Name: gateway-mroute
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<static-routes>
<ipv6>
<multicast-routes>
<multicast-route>
<protocol-type>default</protocol-type>
<config>
<protocol-type>default</protocol-type>
<source-prefix>X:X::X:X/M</source-prefix>
</config>
<source-prefix>X:X::X:X/M</source-prefix>
<nexthop>
<config>
<gateway-mroute>X:X::X:X</gateway-mroute>
<distance>0</distance>
</config>
</nexthop>
</multicast-route>
</multicast-routes>
</ipv6>
</static-routes>
</routing>
Command Syntax
ipv6 mroute X:X::X:X/M ((static|rip|ospf|bgp|isis)|) X:X::X:X (<0-255>|)
Configure ipv4 enable bfd
Use this attribute to enable or disable Bidirectional Forwarding Detection static routes.
This command is supported when following feature are enabled bfd feature
Attribute Name: ipv4-enable-bfd
Attribute Type: enum (enable|disable)
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<bfd>
<config>
<ipv4-enable-bfd>enable</ipv4-enable-bfd> <!-- operation="delete"-->
</config>
</bfd>
</interface>
</interfaces>
</routing>
Command Syntax
ip static bfd (enable|disable)
Configure ipv6 enable bfd
Use this attribute to enable or disable Bidirectional Forwarding Detection static routes.
This command is supported when following feature are enabled bfd feature
Attribute Name: ipv6-enable-bfd
Attribute Type: enum (enable|disable)
Netconf edit-config payload
<routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<bfd>
<config>
<ipv6-enable-bfd>enable</ipv6-enable-bfd> <!-- operation="delete"-->
</config>
</bfd>
</interface>
</interfaces>
</routing>
Command Syntax
ipv6 static bfd (enable|disable)
snmp restart rib
Netconf RPC payload
<rib-snmp-restart xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib"/>
Command Syntax
snmp restart rib
clear ip route kernel
Netconf RPC payload
<clear-ip-stale-kernel-routes xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib"/>
Command Syntax
clear ip route kernel
clear ip kernel route
Netconf RPC payload
<clear-ip-kernel-route xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib"/>
Command Syntax
clear ip kernel route
clear ipv6 route kernel
Netconf RPC payload
<clear-ipv6-stale-kernel-routes xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib"/>
Command Syntax
clear ipv6 route kernel
clear ip route *
Netconf RPC payload
<clear-ip-route-all xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib"/>
Command Syntax
clear ip route *
clear ip route A.B.C.D/M
Attribute Name: prefix-address
Attribute Type: string
Netconf RPC payload
<clear-ip-route xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<prefix-address>A.B.C.D/M</prefix-address>
</clear-ip-route>
Command Syntax
clear ip route A.B.C.D/M
clear ipv4 route *
Netconf RPC payload
<clear-ipv4-route-all xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib"/>
Command Syntax
clear ipv4 route *
clear ipv4 route A.B.C.D/M
Attribute Name: prefix-address
Attribute Type: string
Netconf RPC payload
<clear-ipv4-route xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<prefix-address>A.B.C.D/M</prefix-address>
</clear-ipv4-route>
Command Syntax
clear ipv4 route A.B.C.D/M
clear ipv6 route *
Netconf RPC payload
<clear-ipv6-route-all xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib"/>
Command Syntax
clear ipv6 route *
clear ipv6 route X:X::X:X/M
Attribute Name: prefix-ipv6-address
Attribute Type: string
Netconf RPC payload
<clear-ipv6-route xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<prefix-ipv6-address>X:X::X:X/M</prefix-ipv6-address>
</clear-ipv6-route>
Command Syntax
clear ipv6 route X:X::X:X/M
debug rib (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events|hal ipc)
Attribute Name: terminal-debug-options
Attribute Type: bits (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events|hal ipc)
Netconf RPC payload
<rib-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<terminal-debug-options>all</terminal-debug-options>
</rib-terminal-debug-on>
Command Syntax
debug rib (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events|hal ipc)
no debug rib (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events|hal ipc)
Attribute Name: terminal-debug-options
Attribute Type: bits (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events|hal ipc)
Netconf RPC payload
<rib-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<terminal-debug-options>all</terminal-debug-options>
</rib-terminal-debug-off>
Command Syntax
no debug rib (all|events|packet|packet send|packet recv|packet detail|packet send detail|packet recv detail|nsm|bfd|monitor|hal events|hal ipc)
debug ip (routing|routing add-route|routing delete-route|routing mod-route)
Attribute Name: terminal-debug-options
Attribute Type: bits (routing|routing add-route|routing delete-route|routing mod-route)
Netconf RPC payload
<rib-terminal-debug-ipv4-routing-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<terminal-debug-options>routing</terminal-debug-options>
</rib-terminal-debug-ipv4-routing-on>
Command Syntax
debug ip (routing|routing add-route|routing delete-route|routing mod-route)
no debug ip (routing|routing add-route|routing delete-route|routing mod-route)
Attribute Name: terminal-debug-options
Attribute Type: bits (routing|routing add-route|routing delete-route|routing mod-route)
Netconf RPC payload
<rib-terminal-debug-ipv4-routing-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<terminal-debug-options>routing</terminal-debug-options>
</rib-terminal-debug-ipv4-routing-off>
Command Syntax
no debug ip (routing|routing add-route|routing delete-route|routing mod-route)
debug ipv6 (routing|routing add-route|routing delete-route|routing mod-route)
Attribute Name: terminal-debug-options
Attribute Type: bits (routing|routing add-route|routing delete-route|routing mod-route)
Netconf RPC payload
<rib-terminal-debug-ipv6-routing-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<terminal-debug-options>routing</terminal-debug-options>
</rib-terminal-debug-ipv6-routing-on>
Command Syntax
debug ipv6 (routing|routing add-route|routing delete-route|routing mod-route)
no debug ipv6 (routing|routing add-route|routing delete-route|routing mod-route)
Attribute Name: terminal-debug-options
Attribute Type: bits (routing|routing add-route|routing delete-route|routing mod-route)
Netconf RPC payload
<rib-terminal-debug-ipv6-routing-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rib">
<terminal-debug-options>routing</terminal-debug-options>
</rib-terminal-debug-ipv6-routing-off>
Command Syntax
no debug ipv6 (routing|routing add-route|routing delete-route|routing mod-route)
Last modified date: 07-14-2023