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
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. |