Create an IPv6 VPN Instance

Before you begin

The VRF must exist.

About this task

Create an IPv6 VPN instance to advertise IPv6 routes from a VRF to Shortest Path Bridging MAC (SPBM) network. For more information about Layer 3 Virtual Services Networks (VSNs) and SPBM, see Layer 3 VSN Configuration.

Procedure

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

    enable

    configure terminal

    router vrf WORD<1-16>

  2. Create an IPv6 VPN instance:

    ipv6 ipvpn

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

    i-sid <0–16777215>

  4. Enable IPv6 VPN:

    ipv6 ipvpn enable

  5. Display all IPv6 VPNs:

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

Example

Create and enable IPv6 VPN instance:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#router vrf vrfred
Switch:1(router-vrf)#ipv6 ipvpn
Switch:1(router-vrf)#i-sid 100
Switch:1(router-vrf)#ipv6 ipvpn enable
Switch:1(router-vrf)#show ipv6 ipvpn
==========================================================================================
                                        IPv6 IPVPN
==========================================================================================
VRF Name            VRF ID   IPv6 IPVPN   IPv4 IPVPN   I-SID        I-SID Name
------------------------------------------------------------------------------------------
vrfred              2        enabled      disabled     5555         ISID-5555
------------------------------------------------------------------------------------------
1 out of 1 Total IPv6 L3 VSN, 1 active IPv6 and 0 active IPv4 displayed.

Variable definitions

Use the data in the following table to configure the ipv6 ipvpn command.

Variable

Value

enable

Enables IPv6 IPVPN. The default is disabled.

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

Variable

Value

<0–16777215>

Assigns an I-SID to the VRF being configured.

Use the data in the following table to configure the show ipv6 ipvpn command.

Variable

Value

vrf WORD<1–16>

Specifies the VRF name.

vrfids WORD<0–512>

Specifies the VRF ID.