Create an IP VPN Instance on a VRF

Create an IP VPN instance to advertise IP routes from one VRF to another across a Shortest Path Bridging MAC (SPBM) network.

Before you begin

  • The VRF must exist.

Procedure

  1. Enter VRF Router Configuration mode for a specific VRF context:

    enable

    configure terminal

    router vrf WORD<1-16>

  2. Create an IP VPN instance on the VRF:

    ipvpn

  3. Assign a service instance identifier (I-SID) to the IP VPN:

    i-sid <0–16777215>

  4. Enable IP VPN on the VRF:

    ipvpn enable

    By default, a new IP VPN instance is disabled.

  5. Display all IP VPNs:

    show ip ipvpn [vrf WORD<1–16>] [vrfids WORD<0–512>]

Example

From Global Configuration mode, log on to Router VRF Configuration mode:

Switch:1(config)# router vrf red

Create the IP VPN instance:

Switch:1(router-vrf)# ipvpn

Enable IP VPN:

Switch:1(router-vrf)# i-sid 100

Enable IP VPN:

Switch:1(router-vrf)#ipvpn enable 
==========================================================================================
                                        IPv4 IPVPN
==========================================================================================
VRF Name            VRF ID   IPv4 IPVPN   IPv6 IPVPN   I-SID        I-SID Name
------------------------------------------------------------------------------------------
red                 1        enabled      disabled     100          ISID-1
------------------------------------------------------------------------------------------
1 out of 1 Total active IPv4 L3 VSN displayed, including 0 active IPv6 L3 VSN.  

Variable definitions

Use the data in the following table to use the show ip ipvpn command.

Variable

Value

vrf WORD<1–16>

Specifies the VRF name.

vrfids WORD<0–512>

Specifies the VRF ID.

Use the data in the following table to use the i-sid command.

Variable

Value

i-sid <0–16777215>

Assigns an I-SID to the VRF to configure. Use the no or default option to remove the I-SID to VRF allocation for this VRF.