使用者工具

網站工具


network:linkspanningtreefamilyvlan

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
network:linkspanningtreefamilyvlan [2014/08/16 03:51]
ali88 [設定配置]
network:linkspanningtreefamilyvlan [2014/08/21 02:35] (目前版本)
ali88 [設定配置]
行 30: 行 30:
   - 將SA、SB及SC互連的網路介面設定為trunk<​code>​   - 將SA、SB及SC互連的網路介面設定為trunk<​code>​
 SA(config)#​int fa0/1 SA(config)#​int fa0/1
 +SA(config-if)#​switchport mode trunk
 +SA(config-if)#​int fa0/2
 +SA(config-if)#​switchport mode  trunk
  
 +SB(config)#​int fa0/1
 +SB(config-if)#​switchport mode trunk
 +SB(config-if)#​int fa0/3
 +SB(config-if)#​switchport mode trunk
 +</​code>​
 +  - 將Switch的Spanning Tree模式設成PVST(預設模式就是 PVST)<​code>​
 +SA(config)#​spanning-tree mode pvst 
 +SB(config)#​spanning-tree mode pvst
 +SC(config)#​spanning-tree mode pvst 
 +</​code>​
 +  - 指定SA為Vlan 10的Root Bridge;​SB為Vlan 20的 Root Bridge;​SC為Vlan 1 的Root Vlan<​code>​
 +SA(config)#​spanning-tree vlan 10 root  primary
 +SB(config)#​spanning-tree vlan 20 root primary
 +SC(config)#​spanning-tree vlan 1 root primary ​
 +</​code>​
 +  - 驗證SA結果<​code>​
 +SA#show spanning-tree vlan 10
 +VLAN0010
 +  Spanning tree enabled protocol ieee
 +  Root ID    Priority ​   24586
 +             ​Address ​    ​0060.4746.A954
 +             This bridge is the root
 +             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15
 +             ~略
 +Interface ​       Role Sts Cost      Prio.Nbr Type
 +---------------- ---- --- --------- -------- --------------------------------
 +Fa0/1            Desg FWD 19        128.1    P2p
 +Fa0/2            Desg FWD 19        128.2    P2p             
 +</​code>​
 +  - 驗證SB結果<​code>​
 +SB#show spanning-tree vlan 20
 +Spanning tree enabled protocol ieee
 +  Root ID    Priority ​   24596
 +             ​Address ​    ​00E0.B047.0540
 +             This bridge is the root
 +             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
 +~略~
 +Interface ​       Role Sts Cost      Prio.Nbr Type
 +---------------- ---- --- --------- -------- --------------------------------
 +Fa0/1            Desg FWD 19        128.1    P2p
 +Fa0/3            Desg FWD 19        128.3    P2p
 +</​code>​
 +  - 驗證SC結果<​code>​
 +SC#show spanning-tree vlan 1
 +VLAN0001
 +  Spanning tree enabled protocol ieee
 +  Root ID    Priority ​   24577
 +             ​Address ​    ​0002.4A3C.06DC
 +             This bridge is the root
 +             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
 +~略~
 +Interface ​       Role Sts Cost      Prio.Nbr Type
 +---------------- ---- --- --------- -------- --------------------------------
 +Fa0/2            Desg FWD 19        128.2    P2p
 +Fa0/3            Desg FWD 19        128.3    P2p
 </​code>​ </​code>​
 ======MSTP====== ======MSTP======
行 86: 行 144:
 C0(conf-mstp)#​mti 2  vlan 200 C0(conf-mstp)#​mti 2  vlan 200
 C0(conf-mstp)#​mti 3  vlan 300 C0(conf-mstp)#​mti 3  vlan 300
 +</​code>​
 +  - 設定MSTi優先權,​將msti 1 設定成4096;​msti 2 設定成 8192;msti 3 設定成 12288<​code>​
 +C0(conf-mstp)#​msti 1 bridge-priority 4096
 +C0(conf-mstp)#​msti 2 bridge-priority 8192
 +C0(conf-mstp)#​msti 3 bridge-priority 12288
 </​code>​ </​code>​
   - 啟動MSTP 協定。本範例只演示C0設備,​其他C1及C2按照以下方法做<​code>​C0(conf-mstp)#​no disable</​code>​   - 啟動MSTP 協定。本範例只演示C0設備,​其他C1及C2按照以下方法做<​code>​C0(conf-mstp)#​no disable</​code>​
network/linkspanningtreefamilyvlan.1408161093.txt.gz · 上一次變更: 2014/08/16 03:51 由 ali88