Menu

Region US

Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10
info@grandmetric.com

Region EMEA

GRANDMETRIC Sp. z o.o.
ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43
info@grandmetric.com

UK

Grandmetric LTD
Office 584b
182-184 High Street North
London
E6 2JA
+44 20 3321 5276
info@grandmetric.com

  • en
  • pl
  • Protokół MST (Cisco)

    Projektowanie i konfigurowanie

    Protokół MST (Cisco)

    Technologia: Switching

    Dostawca: Cisco

    Tytuł: Protokół MST – protokół wielu drzew rozpinających (802.1s)

    Oprogramowanie: 12.X, 15.X

    Platforma: Catalyst 2960, 3560, 3750, 3850, 4500, 6500

     

    Protokół MST został opracowany w celu zmniejszenia liczby instancji drzewa opinającego do rozsądnej wartości, redukując w ten sposób cykle procesora potrzebne do obliczenia STP dla każdej sieci VLAN oddzielnie. Większość sieci ma kilka topologii logicznych, które można przypisać do oddzielnego drzewa opinającego. Protokół MST oferuje do 16 instancji, gdzie instancja 0 (IST) służy specjalnemu celowi dla pozostałych 15 instancji (MSTI). Ważne jest, aby skonfigurować wszystkie przełączniki z tą samą konfiguracją MST, aby umożliwić im działanie w jednym regionie. Domyślna konfiguracja MST dotycząca czasu hello (2 s), opóźnienia przesyłania (15 s) i maksymalnego wieku (20 s) jest taka sama jak w protokołach STP/RSTP.

     

    Aby skonfigurować protokół MST w jednym regionie, użyj poniższych poleceń:

    SW2#configure terminal
    SW2(config-mst)# spanning-tree mst configuration
    SW2(config-mst)# instance 1 vlan 1-2000
    SW2(config-mst)# instance 2 vlan 2001-4094
    SW2(config-mst)# name Office1
    SW2(config-mst)# revision 1
    SW2(config-mst)# show


    Pending MST configuration
    Name      [office1]
    Revision  1     Instances configured 3

     

    Instance  Vlans mapped
    --------  -----------------------------------------------------
    0         none
    1         1-2000
    2         2001-4094
    ---------------------------------------------------------------

    SW2(config-mst)# exit
    SW2(config)# spanning-tree mst 0-2 priority 16384 -> SW2 will be the root for MST instances
    SW2(config)# spanning-tree mode mst

    Polecenia weryfikacyjne

    Aby sprawdzić podsumowanie z konfiguracji MST.

    SW2# show spanning-tree mst configuration digest
    % Name      [office1]
    Revision  1     Instances configured 3
    Digest          0xDDD722ACC557C99A947C6285022DEC87
    Pre-std Digest  0x2D13C227F036BFCB1C9728D8F86F64AF

     

    Aby sprawdzić stan MST dla wszystkich instancji w regionie.

    SW2# show spanning-tree mst
    ##### MST0    vlans mapped:   none
    Bridge        address f0b2.e57d.a400  priority      16384 (16384 sysid 0)
    Root          this switch for the CIST
    Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6
    Configured    hello time 2 , forward delay 15, max age 20, max hops    20


    Interface        Role Sts Cost      Prio.Nbr Type
    ---------------- ---- --- --------- -------- --------------------------------
    Gi1/0/1          Desg FWD 200000    128.1    P2p Edge
    Gi1/0/21        Desg FWD 200000    128.21   P2p Bound(PVST) -> different STP protocol
    Gi1/0/22        Desg FWD 200000    128.22   P2p Bound(PVST) -> different STP protocol
    Gi1/0/23        Desg FWD 200000    128.23   P2p
    Gi1/0/24        Desg FWD 200000    128.24   P2p

    ##### MST1    vlans mapped:   1-2000
    Bridge        address f0b2.e57d.a400  priority      16385 (16384 sysid 1)
    Root          this switch for MST1

    Interface        Role Sts Cost      Prio.Nbr Type
    ---------------- ---- --- --------- -------- --------------------------------
    Gi1/0/1          Desg FWD 200000    128.1    P2p Edge
    Gi1/0/21        Desg FWD 200000    128.21   P2p Bound(PVST) -> different STP protocol
    Gi1/0/22        Desg FWD 200000    128.22   P2p Bound(PVST) -> different STP protocol
    Gi1/0/23        Desg FWD 200000    128.23   P2p
    Gi1/0/24         Desg FWD 200000    128.24   P2p

     

    ##### MST2    vlans mapped:  2000-4094
    Bridge        address f0b2.e57d.a400  priority      16385 (16384 sysid 2)
    Root          this switch for MST2

    Interface        Role Sts Cost      Prio.Nbr Type
    ---------------- ---- --- --------- -------- --------------------------------
    Gi1/0/1          Desg FWD 200000    128.1    P2p Edge
    Gi1/0/21        Desg FWD 200000    128.21   P2p Bound(PVST) -> different STP protocol
    Gi1/0/22        Desg FWD 200000    128.22   P2p Bound(PVST) -> different STP protocol
    Gi1/0/23        Desg FWD 200000    128.23   P2p
    Gi1/0/24        Desg FWD 200000    128.24   P2p

     

    SW1# show spanning-tree root
    Root    Hello Max Fwd
    MST Instance           Root ID          Cost    Time  Age Dly  Root Port
    ---------------- -------------------- --------- ----- --- ---  ------------
    MST0             16384 f0b2.e57d.a400         0    2   20  15  Fa0/47
    MST1             16385 f0b2.e57d.a400    200000    2   20  15  Fa0/47
    MST2             16385 f0b2.e57d.a400    200000    2   20  15  Fa0/47

     

    SW1# show spanning-tree mst
    ##### MST0    vlans mapped:   none
    Bridge        address 001c.5895.9100  priority      32768 (32768 sysid 0)
    Root          address f0b2.e57d.a400  priority      16384 (16384 sysid 0)
    port    Fa0/47          path cost     0
    Regional Root address f0b2.e57d.a400  priority      16384 (16384 sysid 0)
    internal cost 200000    rem hops 19
    Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6
    Configured    hello time 2 , forward delay 15, max age 20, max hops    20

    Interface        Role Sts Cost      Prio.Nbr Type
    ---------------- ---- --- --------- -------- --------------------------------
    Fa0/1            Desg FWD 200000     32.3    P2p
    Fa0/47          Root FWD 200000    128.51   P2p -> main forwarding link for MST IST
    Fa0/48          Altn BLK 200000    128.52   P2p -> alternative forwarding link for MST IST

     

    ##### MST1    vlans mapped:   1-2000
    Bridge        address 001c.5895.9100  priority      32769 (32768 sysid 1)
    Root          address f0b2.e57d.a400  priority      16385 (16384 sysid 1)
    port    Fa0/47          cost          200000    rem hops 19

     

    Interface        Role Sts Cost      Prio.Nbr Type
    ---------------- ---- --- --------- -------- --------------------------------
    Fa0/1            Desg FWD 200000     32.3    P2p
    Fa0/47          Root FWD 200000    128.51   P2p -> main forwarding link for MST instance 1
    Fa0/48          Altn BLK 200000    128.52   P2p -> alternative forwarding link for MST instance 1

     

    ##### MST2    vlans mapped:   1-2000
    Bridge        address 001c.5895.9100  priority      32769 (32768 sysid 2)
    Root          address f0b2.e57d.a400  priority      16385 (16384 sysid 2)
    port    Fa0/47          cost          200000    rem hops 19


    Interface        Role Sts Cost      Prio.Nbr Type
    ---------------- ---- --- --------- -------- --------------------------------
    Fa0/1            Desg FWD 200000     32.3    P2p
    Fa0/47          Root FWD 200000    128.51   P2p -> main forwarding link for MST instance 2
    Fa0/48          Altn BLK 200000    128.52   P2p -> alternative forwarding link for MST instance 2

    Autor: Marcin Bialy
     
    Poprzedni Następny
    Grandmetric: Network & Security