Configure SPBM Layer 2 VSN

SPBM supports Layer 2 Virtual Service Network (VSN) functionality where customer VLANs (C-VLANs) are bridged over the SPBM core infrastructure.

At the BEBs, customer VLANs (C-VLAN) are mapped to I-SIDs based on the local service provisioning. Outgoing frames are encapsulated in a MAC-in-MAC header, and then forwarded across the core to the far-end BEB, which strips off the encapsulation and forwards the frame to the destination network based on the I-SID-to-C-VLAN provisioning.

Before you begin

  • You must configure the required SPBM and IS-IS infrastructure, which includes the creation of SPBM B-VLANs.

  • You must create the customer VLANs (C-VLANs) and add slots/ports.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

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

    The switch reserves I-SID 0x00ffffff. The switch uses this I-SID to advertise the virtual B-MAC in an 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.

  3. Display C-VLAN information:

    show vlan i-sid

Example

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#vlan i-sid 10 100
Switch:1(config)#show vlan i-sid
Switch:1>show vlan i-sid
===============================================================================
                   Vlan I-SID
===============================================================================
VLAN_ID      I-SID        I-SID NAME        
-------------------------------------------------------------------------------
1                             
10           100          Hospital-Server-10                 
90           1000         ISID-1000        

3 out of 3 Total Num of Vlans displayed

Variable Definitions

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

Note:

The switch reserves I-SID 0x00ffffff. The switch uses this I-SID to advertise the virtual B-MAC in an 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.

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.