IPI-BGP-VRF
Configure rd string
Use this attribute to assign a route distinguisher (RD) for the VRF. The route distinguisher value must be a unique value on the router.This attribute creates routing and forwarding tables and specifies the default RD for a VPN. The RD is added to the customers IPv4 prefixes, changing them into globally unique VPN-IPv4 prefixes.
Attribute Name: rd-string
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">
<bgp-vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp-vrf">
<config>
<rd-string>ASN:nn_or_IP-address:nn</rd-string> <!-- operation="delete"-->
</config>
</bgp-vrf>
</vrf>
</network-instance>
</network-instances>
Command Syntax
rd ASN:nn_or_IP-address:nn
Configure import map
This attribute assigns a route map to the VRF. This map is applied for routing information imported from another PE or VRF. Use this attribute when an application requires finer control over the routes imported into a VRF than provided by the import and export extended communities. You can filter routes that are eligible for import into a VRF through the use of a route map.The route map can deny access to selected routes from a community that is on the import list.
Attribute Name: import-map
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">
<bgp-vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp-vrf">
<config>
<import-map>WORD</import-map> <!-- operation="delete"-->
</config>
</bgp-vrf>
</vrf>
</network-instance>
</network-instances>
Command Syntax
import map WORD
Configure export map
export map name
Attribute Name: export-map
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">
<bgp-vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp-vrf">
<config>
<export-map>WORD</export-map> <!-- operation="delete"-->
</config>
</bgp-vrf>
</vrf>
</network-instance>
</network-instances>
Command Syntax
export map WORD
Configure direction
Use this attribute to add a list of import and export route-target extended communities to the VRF. This attribute creates lists of import and export route-target extended communities for the VRF. It specifies a target VPN extended community. All routes with the specific route-target extended community are imported into all VRFs with the same extended community as an import route-target.
Attribute Name: direction
Attribute Type: bits (import|export|both)
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">
<bgp-vrf xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp-vrf">
<route-target>
<rt-rd-string>BGP_ROUTE_TARGET_TYPE_T</rt-rd-string>
<config>
<rt-rd-string>BGP_ROUTE_TARGET_TYPE_T</rt-rd-string>
</config>
<direction>import</direction>
</route-target>
</bgp-vrf>
</vrf>
</network-instance>
</network-instances>
Command Syntax
route-target (import|export|both) (ASN:nn_or_IP-address:nn|evpn-auto-rt)
Configure service type
Vlan-Based EVPN-Service Type
This command is supported when following feature are enabled MPLS feature enabled,bgp evpn feature enabled
Attribute Name: service-type
Attribute Type: enum (vlan-based|vlan-aware-bundle)
Default Value: vlan-aware-bundle
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">
<evpn-service-type xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp-vrf">
<config>
<service-type>vlan-aware-bundle</service-type> <!-- operation="delete"-->
</config>
</evpn-service-type>
</vrf>
</network-instance>
</network-instances>
Command Syntax
evpn-vlan-service (vlan-based|vlan-aware-bundle)
Last modified date: 08/24/2023