H3C S6800 & S6860 & S6861 Switches Configuration Examples-Release 27xx-6W100

HomeSupportConfigure & DeployConfiguration ExamplesH3C S6800 & S6860 & S6861 Switches Configuration Examples-Release 27xx-6W100
Table of Contents
Related Documents
55-SPBM Configuration Examples
Title Size Download
55-SPBM Configuration Examples 185.63 KB

 

H3C S6800 & S6860 & S6861 Switches

SPBM Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2019 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.

 



Introduction

This document provides examples for configuring SPBM.

Prerequisites

The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

This document assumes that you have basic knowledge of SPBM.

General restrictions and guidelines

When you use SPBM in conjunction with other features, follow the restrictions and guidelines in Table 1.

Table 1 SPBM and other features compatibility

Feature

Restrictions and guidelines

IRF

You must execute the irf mac-address persistent always command to prevent the IRF bridge MAC address from changing after the address owner leaves the IRF fabric.

Spanning tree

The spanning tree mode must be set to MSTP (the default).

For SPBM neighbors to establish adjacencies, you must map all B-VLANs to MSTI 4092 and make sure their in-between links have connectivity. To forward traffic on an SPBM network, you must assign all SPBM nodes to one MST region. For more information about MST region configuration, see Layer 2—LAN Switching Configuration Guide.

Static MAC

If a B-MAC is the same as a static MAC in the MAC address table, remove the static MAC. The device can forward SPBM packets to the B-MAC only after the conflict is removed.

VLAN

ISIS-SPB protocol frames are transmitted untagged on links. To prevent SPBM-enabled interfaces from dropping these frames, assign each SPBM-enabled interface to the port VLAN (PVID) as an untagged member.

You must configure the provider network ports on BEBs and BCBs as trunk or hybrid ports, and assign the ports to all B-VLANs as tagged VLAN members.

 

Example: Configuring SPBM with tandem replication

Network configuration

As shown in Figure 1, deploy an SPBM network to meet the following requirements:

·          Use I-SID 3001 to extend VLAN 100 across customer sites 1, 2, 3, and 4.

·          Assign B-VLAN 3001 to I-SID 3001.

·          Use tandem replication for multicast in the SPBM network.

Figure 1 Network diagram

 

 

NOTE:

BCB 2 uses the same port numbering scheme as BCB 1. BEB 2, BEB 3, and BEB 4 use the same port numbering scheme as BEB 1.

 

Restrictions and guidelines

When you configure SPBM, follow these restrictions and guidelines:

·          The following MST region parameters must be the same across all SPBM nodes:

¡  Region name.

¡  Revision level.

¡  All B-VLANs mapped to MSTI 4092.

·          Multicast replication mode must be the same across all BEBs.

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6800 switch series

S6860 switch series

Release 2702

S6861 switch series

Not supported

 

Procedures

Configuring BEB 1

# Create C-VLAN 100 and B-VLAN 3001.

<BEB1> system-view

[BEB1] vlan 100

[BEB1-vlan100] quit

[BEB1] vlan 3001

[BEB1-vlan3001] quit

# Configure MST region parameters. This example uses the default (0) for the revision level.

[BEB1] stp region-configuration

[BEB1-mst-region] region-name spb

[BEB1-mst-region] instance 4092 vlan 3001

[BEB1-mst-region] active region-configuration

[BEB1-mst-region] quit

# Enable SPBM both globally and on provider network ports. Assign the provider network ports to B-VLAN 3001.

[BEB1] spbm

[BEB1-spbm] quit

[BEB1] interface range Ten-GigabitEthernet 1/0/2 to Ten-GigabitEthernet 1/0/3

[BEB1-if-range] port link-type trunk

[BEB1-if-range] port trunk permit vlan 3001

[BEB1-if-range] spbm enable

[BEB1-if-range] quit

# Enable L2VPN.

[BEB1] l2vpn enable

# Configure an SPB VSI (I-SID 3001).

[BEB1] vsi test

[BEB1-vsi-test] spb i-sid 3001

# Assign B-VLAN 3001 to the SPB VSI.

[BEB1-vsi-test-3001] b-vlan 3001

# Enable tandem multicast replication for the SPB VSI.

[BEB1-vsi-test-3001] multicast replicate-mode tandem

[BEB1-vsi-test-3001] quit

[BEB1-vsi-test] quit

# Assign the customer network port Ten-GigabitEthernet 1/0/1 to C-VLAN 100.

[BEB1] interface Ten-GigabitEthernet1/0/1

[BEB1-Ten-GigabitEthernet1/0/1] port link-type trunk

[BEB1-Ten-GigabitEthernet1/0/1] port trunk permit vlan 100

# Configure Ethernet service instance 1 to match C-VLAN 100, and map the service instance to the SPB VSI.

[BEB1-Ten-GigabitEthernet1/0/1] service-instance 1

[BEB1-Ten-GigabitEthernet1/0/1-srv1] encapsulation s-vid 100

[BEB1-Ten-GigabitEthernet1/0/1-srv1] xconnect vsi test

[BEB1-Ten-GigabitEthernet1/0/1-srv1] quit

[BEB1-Ten-GigabitEthernet1/0/1] quit

Configuring BEB 2, BEB 3, and BEB 4

# Configure the BEBs in the same way you configure BEB 1. (Details not shown.)

Configuring BCB 1

# Create B-VLAN 3001.

<BCB1> system-view

[BCB1] vlan 3001

[BCB1-vlan3001] quit

# Configure MST region parameters. This example uses the default (0) for the revision level.

[BCB1] stp region-configuration

[BCB1-mst-region] region-name spb

[BCB1-mst-region] instance 4092 vlan 3001

[BCB1-mst-region] active region-configuration

[BCB1-mst-region] quit

# Enable SPBM both globally and on provider network ports. Assign the provider network ports to B-VLAN 3001.

[BCB1] spbm

[BCB1-spbm] quit

[BCB1] interface range Ten-GigabitEthernet 1/0/1 to Ten-GigabitEthernet 1/0/4

[BCB1-if-range] port link-type trunk

[BCB1-if-range] port trunk permit vlan 3001

[BCB1-if-range] spbm enable

[BCB1-if-range] quit

Configuring BCB 2

# Configure BCB 2 in the same way you configure BCB 1. (Details not shown.)

Verifying the configuration

Verify the configuration on BEBs (for example, BEB 1):

# Verify that the BEB has ISIS-SPB adjacency with its neighbors.

[BEB1] display spbm peer

                           Peer information for SPBM

                           -------------------------

 System ID         Port                        Circuit ID    State    Holdtime

 0011.2200.1501    XGE1/0/2                    2             Up       29s

 0011.2200.1601    XGE1/0/3                    3             Up       29s

# Verify that the BEB has established tunnels to other BEBs.

[BEB1] display l2vpn vsi name test verbose

VSI Name: test

  VSI Index               : 0

  VSI State               : Up

  MTU                     : 1500

  Bandwidth               : -

  Broadcast Restrain      : 4294967295 kbps

  Multicast Restrain      : 4294967295 kbps

  Unknown Unicast Restrain: 4294967295 kbps

  MAC Learning            : Enabled

  MAC Table Limit         : -

  Drop Unknown            : -

  SPB I-SID               : 3001

  Flooding                : Enabled

  Statistics              : Disabled

  VXLAN ID                : -

  SPB Connections:

    BMAC            BVLAN            Link ID    Type

    0011-2200-1201  3001             64         Unicast

    0011-2200-1301  3001             65         Unicast

    0011-2200-1401  3001             66         Unicast

    6380-ff00-0bb9  3001             -          Multicast

  ACs:

    AC                               Link ID    State    Type

    XGE1/0/1 srv1                    0          Up       Manual

Configuration files

·          BEB 1, BEB 2, BEB 3, and BEB 4:

vlan 100

#

vlan 3001

#

stp region-configuration

 region-name spb

 instance 4092 vlan 3001

 active region-configuration

#

spbm

#

l2vpn enable

#

vsi test

 spb i-sid 3001

  b-vlan 3001

  multicast replicate-mode tandem

#

interface Ten-GigabitEthernet1/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 100

 service-instance 1

  encapsulation s-vid 100

  xconnect vsi test

#

interface Ten-GigabitEthernet1/0/2

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

interface Ten-GigabitEthernet1/0/3

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

·          BCB 1 and BCB 2:

vlan 3001

#

stp region-configuration

 region-name spb

 instance 4092 vlan 3001

 active region-configuration

#

spbm

#

interface Ten-GigabitEthernet1/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

interface Ten-GigabitEthernet1/0/2

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

interface Ten-GigabitEthernet1/0/3

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

interface Ten-GigabitEthernet1/0/4

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

Example: Configuring SPBM with head-end replication

Network configuration

As shown in Figure 2, deploy an SPBM network to meet the following requirements:

·          Use I-SID 3001 to extend VLAN 100 across customer sites 1, 2, and 3.

·          Assign B-VLAN 3001 to I-SID 3001.

·          Use head-end replication for multicast in the SPBM network.

Figure 2 Network diagram

 

Restrictions and guidelines

When you configure SPBM, follow these restrictions and guidelines:

·          The following MST region parameters must be the same across all SPBM nodes:

¡  Region name.

¡  Revision level.

¡  All B-VLANs mapped to MSTI 4092.

·          Multicast replication mode must be the same across all BEBs.

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6800 switch series

S6860 switch series

Release 2702

S6861 switch series

Not supported

 

Procedures

Configuring BEB 1

# Create C-VLAN 100 and B-VLAN 3001.

<BEB1> system-view

[BEB1] vlan 100

[BEB1-vlan100] quit

[BEB1] vlan 3001

[BEB1-vlan3001] quit

# Configure MST region parameters. This example uses the default (0) for the revision level.

[BEB1] stp region-configuration

[BEB1-mst-region] region-name spb

[BEB1-mst-region] instance 4092 vlan 3001

[BEB1-mst-region] active region-configuration

[BEB1-mst-region] quit

# Enable SPBM both globally and on the provider network port Ten-GigabitEthernet 1/0/2. Assign the provider network port to B-VLAN 3001.

[BEB1] spbm

[BEB1-spbm] quit

[BEB1] interface Ten-GigabitEthernet1/0/2

[BEB1-Ten-GigabitEthernet1/0/2] port link-type trunk

[BEB1-Ten-GigabitEthernet1/0/2] port trunk permit vlan 3001

[BEB1-Ten-GigabitEthernet1/0/2] spbm enable

[BEB1-Ten-GigabitEthernet1/0/2] quit

# Enable L2VPN.

[BEB1] l2vpn enable

# Configure an SPB VSI (I-SID 3001).

[BEB1] vsi test

[BEB1-vsi-test] spb i-sid 3001

# Assign B-VLAN 3001 to the SPB VSI.

[BEB1-vsi-test-3001] b-vlan 3001

[BEB1-vsi-test-3001] quit

[BEB1-vsi-test] quit

# Assign the customer network port Ten-GigabitEthernet 1/0/1 to C-VLAN 100.

[BEB1] interface Ten-GigabitEthernet1/0/1

[BEB1-Ten-GigabitEthernet1/0/1] port link-type trunk

[BEB1-Ten-GigabitEthernet1/0/1] port trunk permit vlan 100

# Configure Ethernet service instance 1 to match C-VLAN 100, and map the service instance to the SPB VSI.

[BEB1-Ten-GigabitEthernet1/0/1] service-instance 1

[BEB1-Ten-GigabitEthernet1/0/1-srv1] encapsulation s-vid 100

[BEB1-Ten-GigabitEthernet1/0/1-srv1] xconnect vsi test

[BEB1-Ten-GigabitEthernet1/0/1-srv1] quit

[BEB1-Ten-GigabitEthernet1/0/1] quit

Configuring BEB 2 and BEB 3

# Configure the BEBs in the same way you configure BEB 1. (Details not shown.)

Configuring the BCB

# Create B-VLAN 3001.

<BCB> system-view

[BCB] vlan 3001

[BCB-vlan3001] quit

# Configure MST region parameters. This example uses the default (0) for the revision level.

[BCB] stp region-configuration

[BCB-mst-region] region-name spb

[BCB-mst-region] instance 4092 vlan 3001

[BCB-mst-region] active region-configuration

[BCB-mst-region] quit

# Enable SPBM both globally and on provider network ports. Assign the provider network ports to B-VLAN 3001.

[BCB] spbm

[BCB-spbm] quit

[BCB] interface range Ten-GigabitEthernet 1/0/1 to Ten-GigabitEthernet 1/0/3

[BCB-if-range] port link-type trunk

[BCB-if-range] port trunk permit vlan 3001

[BCB-if-range] spbm enable

[BCB-if-range] quit

Verifying the configuration

Verify the configuration on BEBs (for example, BEB 1):

# Verify that the BEB has ISIS-SPB adjacency with its neighbor.

[BEB1] display spbm peer

                           Peer information for SPBM

                           -------------------------

 System ID         Port                        Circuit ID    State    Holdtime

 0000.eeee.0101    XGE1/0/2                    2             Up       29s

# Verify that the BEB has established tunnels to other BEBs.

[BEB1] display l2vpn vsi name test verbose

VSI Name: test

  VSI Index               : 0

  VSI State               : Up

  MTU                     : 1500

  Bandwidth               : -

  Broadcast Restrain      : 4294967295 kbps

  Multicast Restrain      : 4294967295 kbps

  Unknown Unicast Restrain: 4294967295 kbps

  MAC Learning            : Enabled

  MAC Table Limit         : -

  Drop Unknown            : -

  SPB I-SID               : 3001

  Flooding                : Enabled

  Statistics              : Disabled

  VXLAN ID                : -

  SPB Connections:

    BMAC            BVLAN            Link ID    Type

    0000-eeee-0141  3001             64         Unicast

    0000-9999-0141  3001             65         Unicast

  ACs:

    AC                               Link ID    State    Type

    XGE1/0/1 srv1                    0          Up       Manual

Configuration files

·          BEB 1, BEB 2, and BEB 3:

vlan 100

#

vlan 3001

#

stp region-configuration

 region-name spb

 instance 4092 vlan 3001

 active region-configuration

#

spbm

#

l2vpn enable

#

vsi test

 spb i-sid 3001

  b-vlan 3001

#

interface Ten-GigabitEthernet1/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 100

 service-instance 1

  encapsulation s-vid 100

  xconnect vsi test

#

interface Ten-GigabitEthernet1/0/2

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

·          BCB:

vlan 3001

#

stp region-configuration

 region-name spb

 instance 4092 vlan 3001

 active region-configuration

#

spbm

#

interface Ten-GigabitEthernet1/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

interface Ten-GigabitEthernet1/0/2

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

interface Ten-GigabitEthernet1/0/3

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001

 spbm enable

#

Example: Performing SPBM ECT migration by changing the B-VLAN

Network configuration

As shown in Figure 3, perform ECT migration for the SPBM network (I-SID 3001) in "Example: Configuring SPBM with tandem replication."

Move I-SID 3001 from the original ECT algorithm to ECT algorithm 9. Change the B-VLAN from 3001 to 3003 for I-SID 3001.

Figure 3 Network diagram

 

Analysis

To perform the ECT migration, you must perform the following tasks:

·          Create B-VLAN 3003, and map B-VLAN 3003 to MSTI 4092 on all SPBM nodes.

·          Map B-VLAN 3003 to ECT algorithm 9 on all SPBM nodes.

·          Change the B-VLAN from 3001 to 3003 for I-SID 3001 on BEBs.

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6800 switch series

S6860 switch series

Release 2702

S6861 switch series

Not supported

 

Procedures

Adding B-VLAN 3003

Configuring BEB 1

# Create B-VLAN 3003.

<BEB1> system-view

[BEB1] vlan 3003

[BEB1-vlan3003] quit

# Configure MST region parameters. This example uses the default (0) for the revision level.

[BEB1] stp region-configuration

[BEB1-mst-region] instance 4092 vlan 3003

[BEB1-mst-region] active region-configuration

[BEB1-mst-region] quit

# Assign provider network ports to B-VLAN 3003.

[BEB1] interface range Ten-GigabitEthernet 1/0/2 to Ten-GigabitEthernet 1/0/3

[BEB1-if-range] port trunk permit vlan 3003

[BEB1-if-range] quit

# Map B-VLAN 3003 to ECT algorithm 9.

[BEB1] spbm

[BEB1-spbm] ect 9 b-vlan 3003

[BEB1-spbm] quit

Configuring BEB 2, BEB 3, and BEB 4

# Configure the BEBs in the same way you configure BEB 1. (Details not shown.)

Configuring BCB 1

# Create B-VLAN 3003.

<BCB1> system-view

[BCB1] vlan 3003

[BCB1-vlan3003] quit

# Configure MST region parameters. Map B-VLAN 3003 to MSTI 4092.

[BCB1] stp region-configuration

[BCB1-mst-region] instance 4092 vlan 3003

[BCB1-mst-region] active region-configuration

[BCB1-mst-region] quit

# Assign provider network ports to B-VLAN 3003.

[BCB1] interface range Ten-GigabitEthernet 1/0/1 to Ten-GigabitEthernet 1/0/4

[BCB1-if-range] port trunk permit vlan 3003

[BCB1-if-range] quit

# Map B-VLAN 3003 to ECT algorithm 9.

[BCB1] spbm

[BCB1-spbm] ect 9 b-vlan 3003

[BCB1-spbm] quit

Configuring BCB 2

# Configure BCB 2 in the same way you configure BCB 1. (Details not shown.)

Performing ECT migration

Configuring BEB 1

# Change the B-VLAN to 3003 for the SPB VSI test.

[BEB1] vsi test

[BEB1-vsi-test] spb i-sid 3001

[BEB1-vsi-test-3001] b-vlan 3003

Configuring BEB 2, BEB 3, and BEB 4

# Configure the BEBs in the same way you configure BEB 1. (Details not shown.)

Verifying the configuration

Before ECT migration

# Before the ECT migration, verify that I-SID 3001 uses B-VLAN 3001 to transmit customer traffic on BEBs (for example BEB 1).

[BEB1] display spbm ect-migration i-sid 3001

ECT            B-VLAN    T    R

00-80-c2-01    3001      1    1

After ECT migration

# Approximately 2 minutes later after the ECT migration, verify that I-SID 3001 uses B-VLAN 3003 to transmit customer traffic on BEBs (for example BEB 1).

[BEB1-spbm] display spbm ect-migration i-sid 3001

ECT            B-VLAN    T    R

00-80-c2-09    3003      1    1

Configuration files (before ECT migration)

·          BEB 1, BEB 2, BEB 3, and BEB 4:

vlan 100

#

vlan 3001

#

vlan 3003

#

stp region-configuration

 region-name spb

 instance 4092 vlan 3001 3003

 active region-configuration

#

spbm

ect 9 b-vlan 3003

#

l2vpn enable

#

vsi test

 spb i-sid 3001

  b-vlan 3001

  multicast replicate-mode tandem

#

interface Ten-GigabitEthernet1/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 100

 service-instance 1

  encapsulation s-vid 100

  xconnect vsi test

#

interface Ten-GigabitEthernet1/0/2

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001 3003

 spbm enable

#

interface Ten-GigabitEthernet1/0/3

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001 3003

 spbm enable

#

·          BCB 1 and BCB 2:

vlan 3001

#

vlan 3003

#

stp region-configuration

 region-name spb

 instance 4092 vlan 3001 3003

 active region-configuration

#

spbm

ect 9 b-vlan 3003

#

interface Ten-GigabitEthernet1/0/1

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001 3003

 spbm enable

#

interface Ten-GigabitEthernet1/0/2

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001 3003

 spbm enable

#

interface Ten-GigabitEthernet1/0/3

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001 3003

 spbm enable

#

interface Ten-GigabitEthernet1/0/4

 port link-mode bridge

 port link-type trunk

 port trunk permit vlan 1 3001 3003

 spbm enable

#

Related documentation

·          H3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series Layer 2—LAN Switching Command Reference

·          H3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series Layer 2—LAN Switching Configuration Guide

·          H3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series MPLS Command Reference

·          H3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series MPLS Configuration Guide

·          H3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series SPB Command Reference

·          H3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series SPB Configuration Guide

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网