Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0)

PDF

MSTP Sample Configurations

The running-configurations support the topology shown in the following illustration.

The configurations are from Dell Networking OS systems.
Figure 1. MSTP with Three VLANs Mapped to Two Spanning Tree Instances Illustration of MSTP with three VLANs mapped to two spanning tree instances.

Router 1 Running-Configuration

This example uses the following steps:
  1. Enable MSTP globally and set the region name and revision map MSTP instances to the VLANs.
  2. Assign Layer-2 interfaces to the MSTP topology.
  3. Create VLANs mapped to MSTP instances tag interfaces to the VLANs.
(Step 1)
                                 protocol spanning-tree mstp
                                 no disable
                                 name Tahiti
                                 revision 123
                                 MSTI 1 VLAN 100
                                 MSTI 2 VLAN 200,300
                                 !
                                 
                                 (Step 2)
                                 interface GigabitEthernet 1/21
                                 no ip address
                                 switchport
                                 no shutdown
                                 !
                                 interface GigabitEthernet 1/31
                                 no ip address
                                 switchport
                                 no shutdown
                                 !
                                 
                                 (Step 3)
                                 interface Vlan 100
                                 no ip address
                                 tagged GigabitEthernet 1/21,31
                                 no shutdown
                                 !
                                 interface Vlan 200
                                 no ip address
                                 tagged GigabitEthernet 1/21,31
                                 no shutdown
                                 !
                                 interface Vlan 300
                                 no ip address
                                 tagged GigabitEthernet 1/21,31
                                 no shutdown
                              

Router 2 Running-Configuration

This example uses the following steps:
  1. Enable MSTP globally and set the region name and revision map MSTP instances to the VLANs.
  2. Assign Layer-2 interfaces to the MSTP topology.
  3. Create VLANs mapped to MSTP instances tag interfaces to the VLANs.
(Step 1)
                                 protocol spanning-tree mstp
                                 no disable
                                 name Tahiti
                                 revision 123
                                 MSTI 1 VLAN 100
                                 MSTI 2 VLAN 200,300
                                 !
                                 
                                 (Step 2)
                                 interface GigabitEthernet 2/11
                                 no ip address
                                 switchport
                                 no shutdown
                                 !
                                 interface GigabitEthernet 2/31
                                 no ip address
                                 switchport
                                 no shutdown
                                 !
                                 
                                 (Step 3)
                                 interface Vlan 100
                                 no ip address
                                 tagged GigabitEthernet 2/11,31
                                 no shutdown
                                 !
                                 interface Vlan 200
                                 no ip address
                                 tagged GigabitEthernet 2/11,31
                                 no shutdown
                                 !
                                 interface Vlan 300
                                 no ip address
                                 tagged GigabitEthernet 2/11,31
                                 no shutdown
                              

Router 3 Running-Configuration

This example uses the following steps:
  1. Enable MSTP globally and set the region name and revision map MSTP instances to the VLANs.
  2. Assign Layer-2 interfaces to the MSTP topology.
  3. Create VLANs mapped to MSTP instances tag interfaces to the VLANs.
(Step 1)
                                 protocol spanning-tree mstp
                                 no disable
                                 name Tahiti
                                 revision 123
                                 MSTI 1 VLAN 100
                                 MSTI 2 VLAN 200,300
                                 !
                                 
                                 (Step 2)
                                 interface GigabitEthernet 3/11
                                 no ip address
                                 switchport
                                 no shutdown
                                 !
                                 interface GigabitEthernet 3/21
                                 no ip address
                                 switchport
                                 no shutdown
                                 !
                                 
                                 (Step 3)
                                 interface Vlan 100
                                 no ip address
                                 tagged GigabitEthernet 3/11,21
                                 no shutdown
                                 !
                                 interface Vlan 200
                                 no ip address
                                 tagged GigabitEthernet 3/11,21
                                 no shutdown
                                 !
                                 interface Vlan 300
                                 no ip address
                                 tagged GigabitEthernet 3/11,21
                                 no shutdown
                              

SFTOS Example Running-Configuration

This example uses the following steps:
  1. Enable MSTP globally and set the region name and revision map MSTP instances to the VLANs.
  2. Assign Layer-2 interfaces to the MSTP topology.
  3. Create VLANs mapped to MSTP instances tag interfaces to the VLANs.
(Step 1)
                                 spanning-tree
                                 spanning-tree configuration name Tahiti
                                 spanning-tree configuration revision 123
                                 spanning-tree MSTi instance 1
                                 spanning-tree MSTi vlan 1 100
                                 spanning-tree MSTi instance 2
                                 spanning-tree MSTi vlan 2 200
                                 spanning-tree MSTi vlan 2 300
                                 
                                 
                                 (Step 2)
                                 interface 1/0/31
                                 no shutdown
                                 spanning-tree port mode enable
                                 switchport protected 0
                                 exit
                                 
                                 interface 1/0/32
                                 no shutdown
                                 spanning-tree port mode enable
                                 switchport protected 0
                                 exit
                                 
                                 
                                 (Step 3)
                                 interface vlan 100
                                 tagged 1/0/31
                                 tagged 1/0/32
                                 exit
                                 
                                 interface vlan 200
                                 tagged 1/0/31
                                 tagged 1/0/32
                                 exit
                                 
                                 interface vlan 300
                                 tagged 1/0/31
                                 tagged 1/0/32
                                 exit
                              

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\