IPI-VRF
Configure instance name
Network Instance Name. For VRF and MAC VRF, instance name can be up to 32 chars long. For VPWS and VPLS instances, instance name can be up to 128 chars long. For L2NI (bridge) instance, instance name has to be a number between (1-32). For Cross-Connect, instance name can be up to 30 chars long. For Bridge-domain, instance, instance name has to be a number between (1-2147483647).
Attribute Name: instance-name
Attribute Type: string
Attribute Name: vrf-name
Attribute Type: string
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance> <!-- operation="delete"-->
<instance-type>vrf</instance-type>
<config>
<instance-type>vrf</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<vrf>
<config>
<vrf-name>WORD</vrf-name>
</config>
</vrf>
</network-instance>
</network-instances>
Command Syntax
ip vrf WORD
Configure instance type
Network Instance Name. For VRF and MAC VRF, instance name can be up to 32 chars long. For VPWS and VPLS instances, instance name can be up to 128 chars long. For L2NI (bridge) instance, instance name has to be a number between (1-32). For Cross-Connect, instance name can be up to 30 chars long. For Bridge-domain, instance, instance name has to be a number between (1-2147483647).
Attribute Name: instance-name
Attribute Type: string
Attribute Name: vrf-name
Attribute Type: string
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance> <!-- operation="delete"-->
<instance-type>mac-vrf</instance-type>
<config>
<instance-type>mac-vrf</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<vrf>
<config>
<vrf-name>WORD</vrf-name>
</config>
</vrf>
</network-instance>
</network-instances>
Command Syntax
mac vrf WORD
Configure description
VRF-specific description
Attribute Name: description
Attribute Type: string
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>WORD</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>vrf</instance-type>
<vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrf">
<config>
<description>LINE</description> <!-- operation="delete"-->
</config>
</vrf>
</network-instance>
</network-instances>
Command Syntax
description LINE
Configure router id
VRF Router ID
Attribute Name: router-id
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>WORD</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>vrf</instance-type>
<vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrf">
<config>
<router-id>A.B.C.D</router-id> <!-- operation="delete"-->
</config>
</vrf>
</network-instance>
</network-instances>
Command Syntax
router-id A.B.C.D
Configure evpn layer3 network id
L3 EVPN Identifier
Attribute Name: evpn-layer3-network-id
Attribute Type: uint32
Attribute Range: 1-16777215
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>WORD</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>vrf</instance-type>
<vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrf">
<config>
<evpn-layer3-network-id>1</evpn-layer3-network-id> <!-- operation="delete"-->
</config>
</vrf>
</network-instance>
</network-instances>
Command Syntax
l3vni <1-16777215>
Configure snmp context name
Use this attribute to set the SNMP context for VRF.
This command is supported when following feature are enabled SNMP feature
Attribute Name: snmp-context-name
Attribute Type: string
Attribute Range: 1-32
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>WORD</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>vrf</instance-type>
<vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrf">
<snmp>
<config>
<snmp-context-name>WORD</snmp-context-name> <!-- operation="delete"-->
</config>
</snmp>
</vrf>
</network-instance>
</network-instances>
Command Syntax
snmp context-name WORD
clear router-id
Netconf RPC payload
<clear-default-router-id xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrf"/>
Command Syntax
clear router-id
clear router-id vrf (VRFNAME|)
Attribute Name: vrfName
Attribute Type: string
Netconf RPC payload
<clear-vrf-router-id xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vrf">
<vrfName>VRFNAME</vrfName>
</clear-vrf-router-id>
Command Syntax
clear router-id vrf (VRFNAME|)