Configuring Inter-VRF IPv6 Accept Policies on VRFs

Configure IPv6 IS-IS accept policies on a VRF to use inter-VRF accept policies in the SPB cloud. You can use IPv6 IS-IS accept policies to redistribute routes between different VRFs, including the global routing table (GRT). First you apply the filter, and then you match the filter based on the I-SID, which represents the Layer 3 VSN context.

Note

Note

  • The ipv6 isis apply accept [vrf WORD<1-16>] command can disrupt traffic and cause temporary traffic loss. After you apply ipv6 isis apply accept [vrf<1-16>], the command reapplies the accept policies, which deletes all of the IS-IS routes, and adds the IS-IS routes again. You should make all the relevant accept policy changes, and then apply ipv6 isis apply accept [vrf WORD<1-16>] at the end.

  • If you use the ipv6 accept command for inter-VRF routes based on the remote I-SID, the device accepts routes form other local VRFs to the current VRF, therefore if the accepted I-SID is configured on the local BEB, the device accepts its own IPv6 routes advertised under the accepted I-SID.

  • If the route policy changes, you must reapply the IPv6 IS-IS accept policy, unless it was the last sequence in the configuration.

Before you begin

  • Enable IS-IS globally.

  • Configure IPv6 Shortcuts. For more information, see Configure SPBM IPv6 Shortcuts.

  • You must configure IPv6 IPVPN.

  • Ensure that a route policy exists.

  • Ensure that the VRFs exist.

  • You must configure a route-map.

Procedure

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

    enable

    configure terminal

    router vrf WORD<1-16>

  2. Optional: If you want to accept routes from a variety of I-SIDs, create an I-SID list before you create an IPv6 IS-IS accept policy for the I-SID list:

    ip isid-list WORD<1–32> {<0–16777215> | list WORD<1–1024>}

    Note

    Note

    When creating an I-SID list, you can add I-SID entries until the maximum limit for supported Layer 3 I-SIDs is reached. The system truncates any additional I-SID entries. The maximum limit includes the I-SIDs for locally configured Layer 3 VSNs and the I-SIDs specified for IS-IS accept policy filters.

    Use the command show ip isid-list vrf WORD<1-16> to view the list of truncated I-SIDs.

  3. Configure an IPv6 IS-IS accept policy instance with a route policy.

    Use one of the following options:

    1. Configure an IPv6 IS-IS accept policy based on a specific advertising BEB:

      ipv6 isis accept adv-rtr <x.xx.xx> [enable][i-sid <0-16777215>][isid-list WORD<1-32>] [route-map WORD<1–64>]

    2. Configure an IPv6 IS-IS accept policy based on a particular I-SID:

      ipv6 isis accept i-sid <0-16777215> [enable] [route-map WORD<1–64>]

    3. Configure an IPv6 IS-IS accept policy based on a particular I-SID list:

      ipv6 isis accept isid-list WORD<1-32> [enable] [route-map WORD<1–64>]

  4. Enable the configured IPv6 IS-IS accept policies:

    ipv6 isis accept [adv-rtr <x.xx.xx>] [i-sid <0-16777215>] [isid-list WORD<1-32>] enable

  5. Exit to Global Configuration mode:

    exit

  6. Apply the IPv6 IS-IS accept policy changes, which removes and re-adds all routes with updated filters:

    ipv6 isis apply accept [vrf WORD<1–16>]

Example

Configure Inter-VRF accept policies on a VRF:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#router vrf red
Switch:1(router-vrf)#ipv6 isis accept i-sid 100 enable
Switch:1(router-vrf)#exit
Switch:1(config)#ipv6 isis apply accept vrf red

Variable Definitions

The following table defines parameters for the ip isid-list command.

Note

Note

The I-SID lists created can be associated with both IPv4 or IPv6 routes.

Variable

Value

WORD<1-32>

Creates a name for your I-SID list.

<0-16777215>

Specifies an I-SID value.

list WORD<1-1024>

Specifies a list of I-SID values. For example, in the format 1,3,5,8-10.

The following table defines parameters for the ipv6 isis accept command.

Variable

Value

adv-rtr <x.xx.xx>

Specifies the SPBM nickname for each advertising BEB to allow you to apply the IPv6 IS-IS accept policy to routes for a specific advertising BEB. The system first uses the default filter, but if a more specific filter for a specific advertising BEB is present the device applies the specific filter.

Note:

An IPv6 IS-IS accept policy that specifies the adv-rtr without an I-SID or I-SID list will filter routes coming from the I-SID on which the policy is configured and from the specified BEB.

enable

Enables an IPv6 IS-IS accept policy.

i-sid <0-16777215>

Specifies an I-SID number to represent a local or remote Layer 3 VSN to which the IPv6 IS-IS accept policy applies.

Use the parameter to apply a filter for routes from specific I-SIDs that represent the remote VSN. Based on the routing policy the system applies, the system can redistribute the remote VSN to the VSN where you applied the filter.

An I-SID value of 0 represents the global routing table (GRT).

isid-list WORD<1-32>

Specifies the I-SID list name that represents the local or remote Layer 3 VSNs to which the IPv6 IS-IS accept policy applies.

Use the parameter to apply a default filter for all routes from specific I-SIDs, that represent the remote VSN. Based on the routing policy the system applies, the system redistributes the remote VSN to the VSN where you applied the filter.

An I-SID value of 0 represents the global routing table (GRT).

route-map WORD <1-64>

Specifies a route policy.

You must configure a route policy earlier in a separate procedure.

The following table defines parameters for the ipv6 isis apply accept command.

Variable

Value

vrf WORD<1-16>

Specifies a specific VRF instance.