IPI-RIP-VRF
Configure vrf name
VRF name
Attribute Name: vrf-name
Attribute Type: string
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf> <!-- operation="delete"-->
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
address-family ipv4 vrf NAME
Configure enable cisco metric behavior
Use this attribute to set metric updation behavior as Cisco
Attribute Name: enable-cisco-metric-behavior
Attribute Type: enum (disable|enable)
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<enable-cisco-metric-behavior>disable</enable-cisco-metric-behavior> <!-- operation="delete"-->
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
cisco-metric-behavior (disable|enable)
Configure default metric
Set the default metric
Attribute Name: default-metric
Attribute Type: uint8
Default Value: 1
Attribute Range: 1-15
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<default-metric>1</default-metric> <!-- operation="delete"-->
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
default-metric <1-15>
Configure version
Use this attribute to set version of routing protocol
Attribute Name: version
Attribute Type: uint8
Default Value: 2
Attribute Range: 1-2
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<version>1</version> <!-- operation="delete"-->
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
version <1-2>
Configure distance
Use this attribute to set administrative distance of the RIP for the current RIP instance
Attribute Name: distance
Attribute Type: uint8
Default Value: 120
Attribute Range: 1-255
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<distance>1</distance> <!-- operation="delete"-->
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
distance <1-255>
Configure network interfaces
Use this attribute to enable routing on an interface
Attribute Name: network-interfaces
Attribute Type: string
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<network-interfaces>IFNAME</network-interfaces> <!-- operation="delete"-->
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
network IFNAME
Configure network routes
Use this attribute to enable routing on an IP network
Attribute Name: network-routes
Attribute Type: string
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<network-routes>A.B.C.D/M</network-routes> <!-- operation="delete"-->
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
network A.B.C.D/M
Configure access list name
Use this attribute to set the access list name
Attribute Name: access-list-name
Attribute Type: string
Attribute Name: distance
Attribute Type: uint8
Attribute Range: 1-255
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<distances>
<distance>
<source-prefix>A.B.C.D/M</source-prefix>
<config>
<source-prefix>A.B.C.D/M</source-prefix>
<distance>1</distance>
</config>
<access-list-name>WORD</access-list-name>
</distance>
</distances>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
distance <1-255> A.B.C.D/M (WORD|)
Configure route type
Use this attribute to redistributes only specified route-type routes matching the specified route type into the RIP routing instance
Attribute Name: route-type
Attribute Type: enum (connected|static|ospf|bgp)
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<redistribute-policies>
<redistribute-policy> <!-- operation="delete"-->
<route-type>connected</route-type>
<config>
<route-type>connected</route-type>
</config>
</redistribute-policy>
</redistribute-policies>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
redistribute (connected|static|ospf|bgp)
Configure route map
Use this attribute to set the name of the route-map
Attribute Name: route-map
Attribute Type: string
Attribute Name: metric
Attribute Type: uint8
Attribute Range: 0-16
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<redistribute-policies>
<redistribute-policy>
<route-type>connected</route-type>
<config>
<route-type>connected</route-type>
<metric>0</metric> <!-- operation="delete"-->
</config>
<route-map>WORD</route-map> <!-- operation="delete"-->
</redistribute-policy>
</redistribute-policies>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
redistribute (connected|static|ospf|bgp) metric <0-16> route-map WORD
Configure metric
Use this attribute to set the metric used for the redistributed route
Attribute Name: metric
Attribute Type: uint8
Attribute Range: 0-16
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<redistribute-policies>
<redistribute-policy>
<route-type>connected</route-type>
<config>
<route-type>connected</route-type>
</config>
<metric>0</metric> <!-- operation="delete"-->
</redistribute-policy>
</redistribute-policies>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
redistribute (connected|static|ospf|bgp) metric <0-16>
Configure originate
Use this attribute to apply conditions of the route policy to the default route
Attribute Name: route-map
Attribute Type: string
Attribute Name: originate
Attribute Type: empty
Attribute Name: always-advertise
Attribute Type: empty
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<default-information>
<config>
</originate><!-- operation="delete"-->
</always-advertise><!-- operation="delete"-->
<route-map>WORD</route-map> <!-- operation="delete"-->
</config>
</default-information>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
default-information originate (always|) (route-map WORD|)
Configure direction
Use this attribute to set the metric value of routing protocol
Attribute Name: metric
Attribute Type: uint8
Attribute Range: 0-16
Attribute Name: access-list-name
Attribute Type: string
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<offset-lists>
<offset-list>
<direction>in</direction>
<config>
<direction>in</direction>
<access-list-name>WORD</access-list-name>
</config>
<metric>0</metric>
</offset-list>
</offset-lists>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
offset-list WORD (in|out) <0-16>
Configure name
Use this attribute to set the metric value of routing protocol
Attribute Name: metric
Attribute Type: uint8
Attribute Range: 0-16
Attribute Name: access-list-name
Attribute Type: string
Netconf edit-config payload
<rip xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<instance>
<vrfs>
<vrf>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<interfaces>
<interface>
<name>IFNAME</name>
<config>
<name>IFNAME</name>
</config>
<offset-lists>
<offset-list>
<direction>in</direction>
<config>
<direction>in</direction>
<access-list-name>WORD</access-list-name>
</config>
<metric>0</metric>
</offset-list>
</offset-lists>
</interface>
</interfaces>
</vrf>
</vrfs>
</instance>
</rip>
Command Syntax
offset-list WORD (in|out) <0-16> IFNAME
clear ip rip route vrf NAME A.B.C.D/M
Attribute Name: vrf-name
Attribute Type: string
Attribute Name: prefix
Attribute Type: string
Netconf RPC payload
<ipi-rip-vrf_rip-vrf-clear-route xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<vrf-name>NAME</vrf-name>
<prefix>A.B.C.D/M</prefix>
</ipi-rip-vrf_rip-vrf-clear-route>
Command Syntax
clear ip rip route vrf NAME A.B.C.D/M
clear ip rip route vrf NAME *
Attribute Name: vrf-name
Attribute Type: string
Netconf RPC payload
<ipi-rip-vrf_rip-vrf-clear-route-all xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-rip">
<vrf-name>NAME</vrf-name>
</ipi-rip-vrf_rip-vrf-clear-route-all>
Command Syntax
clear ip rip route vrf NAME *
Last modified date: 07-14-2023