Configure SPBM IPv6 Layer 3 VSN using CLI

Before you begin

  • You must enable IPv6 Shortcuts.

  • You must configure the required SPBM IS-IS infrastructure.

  • You must configure a VRF instance on the switch. For more information, see VRF Lite configuration using the CLI.

About this task

After you have configured the SPBM infrastructure, you can enable SPBM Layer 3 VSN to advertise IPv6 routes across the SPBM network using the following procedure.

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 on the VRF:

    ipv6 ipvpn

  3. Configure SPBM Layer 3 VSN:

    i-sid <0–16777215>

  4. Enable IPv6 VPN on the VRF:

    ipv6 ipvpn enable

  5. Display all IPv6 VPNs:

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

  6. Identify routes on the local switch to be announced into the SPBM network:

    ipv6 isis redistribute {bgp | direct | ospf | static}

  7. Enable routes on the local switch to be announced into the SPBM network:

    ipv6 isis redistribute {direct | bgp | ospf | rip | static} enable

  8. Identify the routing protocol to which to redistribute IS-IS routes:

    ipv6 ospf redistribute isis

  9. Enable IS-IS redistribution to OSPF:

    ipv6 ospf redistribute isis enable

  10. Return to Privileged EXEC mode:

    end

  11. Apply the configured redistribution to a specific VRF:

    ipv6 isis apply redistribute {direct | bgp | ospf | rip | static} vrf WORD<1–16>

  12. Apply the OSPF configuration to a specific VRF:

    ipv6 ospf apply redistribute isis vrf WORD<1-16>

  13. Display the redistribution configuration:

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

  14. Verify IPv6 IS-IS routes:

    show ipv6 route vrf WORD<1-16>

Examples

Create the 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     100          ISID-100
------------------------------------------------------------------------------------------
1 out of 1 Total IPv6 L3 VSN, 1 active IPv6 and 0 active IPv4 displayed.
Switch:1(router-vrf)#ipv6 isis redistribute direct enable
Switch:1(router-vrf)#ipv6 ospf redistribute isis enable
Switch:1(router-vrf)#ipv6 ospf apply redistribute isis vrf vrfred
Switch:1(router-vrf)#show ipv6 route vrfred
=========================================================================================================
                                       IPv6 Routing Table Information - VRF vrfred
=========================================================================================================
Destination Address/PrefixLen      NEXT HOP              VID/BID/TID  PROTO   COST  AGE   TYPE     PREF  
---------------------------------------------------------------------------------------------------------
55:0:0:0:0:0:0:0/64                Switch                 V-2         ISIS     10    0      B        7   
---------------------------------------------------------------------------------------------------------
1 out of 1 Total Num of Route Entries displayed.
---------------------------------------------------------------------------------------------------------
TYPE Legend:
A=Alternative Route, B=Best Route, E=Ecmp Route

Variable Definitions

The following table defines parameters for the ipv6 ipvpn command.

Variable

Value

enable

Enables IPv6 IPVPN. The default is disabled.

The following table defines parameters for the show ipv6 ipvpn command.

Variable

Value

vrf WORD<1–16>

Specifies the VRF name.

vrfids WORD<0–512>

Specifies the VRF ID.

The following table defines parameters for the i-sid command.

Variable

Value

<0–16777215>

Assigns an I-SID to the VRF being configured.

The following table defines parameters for the isis redistribute command.

Variable

Value

{bgp | direct | ospf | static}

Specifies the protocol.

enable

Enables the redistribution of the specified protocol into the SPBM network.

The default is disabled.