Configure SPBM Inter-VSN Routing

Inter-VSN allows you to route between IP networks on Layer 2 VLANs with different I-SIDs. Inter-VSN routing is typically used only when you have to extend a VLAN as a Layer 2 Virtual Services Network (VSN) for applications such as vMotion. As a best practice, use IP Shortcuts or Layer 3 VSNs to route traffic. You must configure both the Backbone Edge Bridges (BEBs) and the Backbone Core Bridge (BCB).

Note

Note

To enable inter-VSN routing, you must configure IP interface where the routing instance exists.

Before you begin

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

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Follow the procedures below on the Backbone Edge Bridges (BEBs) containing the VSNs you want to route traffic between.
    1. Create a customer VLAN (C-VLAN) by port:

      vlan create <2-4059> type port-mstprstp <0–63>

    2. Add ports in the C-VLAN:

      vlan members add <1-4059> {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    3. Map a customer VLAN (C-VLAN) to a Service Instance Identifier (I-SID):

      vlan i-sid <1-4059> <0–16777215> [force]

      Important

      Important

      When a protocol VLAN is created, all ports are added to the VLAN including SPBM ports. To configure a protocol-based VLAN as a C-VLAN, you must first remove the SPBM-enabled ports from the protocol based VLAN, and then configure the protocol-based VLAN as a C-VLAN.

  3. On the Backbone Core Bridge (BCB), create a VRF and add a VLAN for each VSN:
    1. Create a VRF:

      ip vrf WORD<1–16> vrfid <1–511>

    2. Create a VLAN to associate with each VSN:

      vlan create <2-4059> type port-mstprstp <0–63>

    3. Enter VLAN Interface Configuration mode:

      interface vlan <1-4059>

    4. Add a VLAN to the VRF you created in step a:

      vrf WORD<1–16>

    5. Associate an I-SID with the VLAN:

      vlan i-sid <1-4059> <0–16777215> [force]

      Important

      Important

      When a protocol VLAN is created, all ports are added to the VLAN including SPBM ports. To configure a protocol-based VLAN as a C-VLAN, you must first remove the SPBM-enabled ports from the protocol based VLAN, and then configure the protocol-based VLAN as a C-VLAN.

      The switch reserves I-SID 0x00ffffff. The switch uses this I-SID to advertise the virtual B-MAC in a SMLT dual-homing environment. The platform clears the receive and transmit bit of this I-SID, therefore I-SID 0x00ffffff cannot be used for any other service.

    6. Configure an IP address for the VLAN:

      ip address {A.B.C.D/X}

    7. Repeat steps b to f for every VLAN you want to route traffic between.

Variable Definitions

The following table defines parameters for the vlan create command.

Variable

Value

<2-4059>

Specifies the VLAN ID in the range of 2 to 4059. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. By default, the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998.

type port-mstprstp <0–63> [color <0–32> ]

Creates a VLAN by port:
  • <0–63> is the STP instance ID.

  • color <0–32> is the color of the VLAN.

The following table defines parameters for the vlan members add command.

Variable

Value

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

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

Variable

Value

<1-4059>

Specifies the primary VLAN ID.

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

<0-16777215>

Specifies the service instance identifier (I-SID). You cannot use I-SID 0x00ffffff. The system reserves this I-SID to advertise the virtual BMAC in an SMLT dual-homing environment.

This value is the same for the primary and secondary VLANs.

force

Specifies the software must replace the existing VLAN-to-I-SID mapping, if one exists.

The following table defines parameters for the ip vrf command.

Variable

Value

WORD <1–16>

Create the VRF and specify the name of the VRF instance.

vrfid <1–511>

Specifies the VRF instance by number.

The following table defines parameters for the vrf command.

Variable

Value

WORD <1–16>

Specifies the VRF name. Associates a port to a VRF.

The following table defines parameters for the ip address command.

Variable

Value

{A.B.C.D/X}

Configures an IP address for the VLAN.