MLAG + Rapid PVST+
概要
MLAG + RSTPに引き続き、MLAG + Rapid PVST+の動作確認をしてみます。
環境
- Onyxバージョン:3.6.8160
- 物理環境
- VLANは1,100,101
スパニングツリーの設定
Rapid PVST+を有効にします。VLAN毎にプライオリティ値を変更します。
#SN2010-1 SN2010-1 [mlag-domain: master] (config) # spanning-tree mode rpvst SN2010-1 [mlag-domain: master] (config) # spanning-tree vlan 1 priority 8192 SN2010-1 [mlag-domain: master] (config) # spanning-tree vlan 100 priority 4096 SN2010-1 [mlag-domain: master] (config) # spanning-tree vlan 101 priority 0 #SN2010-2 SN2010-2 [mlag-domain: standby] (config) # spanning-tree mode rpvst SN2010-2 [mlag-domain: standby] (config) # spanning-tree vlan 1 priority 8192 SN2010-2 [mlag-domain: standby] (config) # spanning-tree vlan 100 priority 4096 SN2010-2 [mlag-domain: standby] (config) # spanning-tree vlan 101 priority 0 #SN2010-3 SN2010-3 [standalone: master] (config) # spanning-tree mode rpvst SN2010-3 [standalone: master] (config) # spanning-tree vlan 1 priority 0 SN2010-3 [standalone: master] (config) # spanning-tree vlan 100 priority 8192 SN2010-3 [standalone: master] (config) # spanning-tree vlan 101 priority 4096 #SN2010-4 SN2010-4 [standalone: master] (config) # spanning-tree mode rpvst SN2010-4 [standalone: master] (config) # spanning-tree vlan 1 priority 4096 SN2010-4 [standalone: master] (config) # spanning-tree vlan 100 priority 0 SN2010-4 [standalone: master] (config) # spanning-tree vlan 101 priority 8192
VLAN1
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 1000 Port : Mpo1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8193 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Root Forwarding 1000 128 normal Mpo2 Alternate Discarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 1000 Port : Mpo1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8193 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Root Forwarding 1000 128 normal Mpo2 Alternate Discarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4097 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
VLAN100
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 1000 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4196 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Alternate Discarding 1000 128 normal Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 1000 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4196 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Alternate Discarding 1000 128 normal Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8292 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
VLAN101
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 101 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Designated Forwarding 1000 128 normal Mpo2 Designated Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 101 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Designated Forwarding 1000 128 normal Mpo2 Designated Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Cost : 1000 Port : Po1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4197 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Root Forwarding 1000 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Cost : 1000 Port : Po1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8293 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Alternate Discarding 200 128 normal Po1 Root Forwarding 1000 128 normal
動作確認
SN2010-1 1/1(Mpo1)とSN2010-3 1/1間のリンクをDownさせる。
SN2010-1 [mlag-domain: master] # show interfaces status ----------------------------------------------------------------------------------------------------------- Port Operational state Admin Speed Description ----------------------------------------------------------------------------------------------------------- mgmt0 Up Enabled 1000Mb/s (auto)- Po1000 Up Enabled - Mpo1 Down Enabled - Mpo2 Up Enabled - Eth1/1 (Mpo1) Down Enabled 10 Gbps - Eth1/2 (Mpo2) Up Enabled 10 Gbps - Eth1/3 Down Enabled 25 Gbps - Eth1/4 Down Enabled 25 Gbps - Eth1/5 Down Enabled 25 Gbps - Eth1/6 Down Enabled 25 Gbps - Eth1/7 Down Enabled 25 Gbps - Eth1/8 Down Enabled 25 Gbps - Eth1/9 Down Enabled 25 Gbps - Eth1/10 Down Enabled 25 Gbps - Eth1/11 Down Enabled 25 Gbps - Eth1/12 Down Enabled 25 Gbps - Eth1/13 Down Enabled 25 Gbps - Eth1/14 Down Enabled 25 Gbps - Eth1/15 Down Enabled 25 Gbps - Eth1/16 Down Enabled 25 Gbps - Eth1/17 Down Enabled 25 Gbps - Eth1/18 Down Enabled 25 Gbps - Eth1/19 Down Enabled 100 Gbps - Eth1/20 Down Enabled 100 Gbps - Eth1/21 (Po1000) Up Enabled 100 Gbps - Eth1/22 (Po1000) Up Enabled 100 Gbps -
VLAN1
SN2010-3のPo1が片系Downとなりパスコストが1000→2000に変化。
Alternate Portに変化なし。
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 1000 Port : Mpo1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8193 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Root Forwarding 1000 128 normal Mpo2 Alternate Discarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 1000 Port : Mpo1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8193 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Root Forwarding 1000 128 normal Mpo2 Alternate Discarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Designated Forwarding 2000 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4097 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
VLAN100
SN2010-3のPo1が片系Downとなりパスコストが1000→2000に変化。
Alternate Portに変化なし。
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 1000 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4196 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Alternate Discarding 1000 128 normal Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 1000 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4196 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Alternate Discarding 1000 128 normal Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8292 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal Po1 Designated Forwarding 2000 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
VLAN101
SN2010-3のPo1が片系Downとなりパスコストが1000→2000に変化。
それに伴いAlternate PortがSN2010-4 1/22からSN2010-3 Po1へ変更された。
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 101 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Designated Forwarding 1000 128 normal Mpo2 Designated Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 101 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo1 Designated Forwarding 1000 128 normal Mpo2 Designated Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Cost : 1200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4197 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal Po1 Alternate Discarding 2000 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Cost : 1000 Port : Po1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8293 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Root Forwarding 1000 128 normal
SN2010-2 1/1(Mpo1)とSN2010-3 1/2間のリンクをDownさせる。
SN2010-2 [mlag-domain: standby] # show interfaces status ----------------------------------------------------------------------------------------------------------- Port Operational state Admin Speed Description ----------------------------------------------------------------------------------------------------------- mgmt0 Up Enabled 1000Mb/s (auto)- Po1000 Up Enabled - Mpo1 Down Enabled - Mpo2 Up Enabled - Eth1/1 (Mpo1) Down Enabled 10 Gbps - Eth1/2 (Mpo2) Up Enabled 10 Gbps - Eth1/3 Down Enabled 25 Gbps - Eth1/4 Down Enabled 25 Gbps - Eth1/5 Down Enabled 25 Gbps - Eth1/6 Down Enabled 25 Gbps - Eth1/7 Down Enabled 25 Gbps - Eth1/8 Down Enabled 25 Gbps - Eth1/9 Down Enabled 25 Gbps - Eth1/10 Down Enabled 25 Gbps - Eth1/11 Down Enabled 25 Gbps - Eth1/12 Down Enabled 25 Gbps - Eth1/13 Down Enabled 25 Gbps - Eth1/14 Down Enabled 25 Gbps - Eth1/15 Down Enabled 25 Gbps - Eth1/16 Down Enabled 25 Gbps - Eth1/17 Down Enabled 25 Gbps - Eth1/18 Down Enabled 25 Gbps - Eth1/19 Down Enabled 100 Gbps - Eth1/20 Down Enabled 100 Gbps - Eth1/21 (Po1000) Up Enabled 100 Gbps - Eth1/22 (Po1000) Up Enabled 100 Gbps -
VLAN1
期待通り、以下の通り変化した。
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 1200 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8193 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 1200 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8193 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 1 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 1: Root ID: Priority : 1 Address : 50:6b:4b:8e:92:c0 Cost : 200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4097 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
VLAN100
期待通り、以下の通り変化した。
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 1000 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4196 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 1000 Port : Mpo2 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4196 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo2 Root Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Cost : 200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8292 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 100 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 100: Root ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 100 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Designated Forwarding 1000 128 normal
VLAN101
期待通り、以下の通り変化した。
SN2010-1 [mlag-domain: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 101 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo2 Designated Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-2 [mlag-domain: standby] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Bridge root : yes Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 101 Address : 00:00:5e:00:01:5d Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Mpo2 Designated Forwarding 1000 128 normal Po1000 Designated Forwarding 100 128 edge
SN2010-3 [standalone: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Cost : 1200 Port : Eth1/22 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 4197 Address : 50:6b:4b:8e:92:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Root Forwarding 200 128 normal
SN2010-4 [standalone: master] # show spanning-tree vlan 101 Switch : ethernet-default Spanning tree protocol rpvst: enabled Spanning tree force version : 2 Vlan 101: Root ID: Priority : 101 Address : 00:00:5e:00:01:5d Cost : 1000 Port : Po1 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 Bridge ID: Priority : 8293 Address : 50:6b:4b:8e:95:c0 Hello Time (sec) : 2 Max Age (sec) : 20 Forward Delay (sec): 15 L: Loop Inconsistent R: Root Inconsistent G: BPDU Guard Inconsistent -------------------------------------------------------------------------- Interface Role Sts Cost Prio Type -------------------------------------------------------------------------- Eth1/22 Designated Forwarding 200 128 normal Po1 Root Forwarding 1000 128 normal
スイッチの設定
SN2010-1 [mlag-domain: master] # show running-config ## ## Running database "initial" ## Generated at 2018/11/13 15:40:33 +0900 ## Hostname: SN2010-1 ## ## ## Running-config temporary prefix mode setting ## no cli default prefix-modes enable ## ## MLAG protocol ## protocol mlag ## ## Interface Ethernet configuration ## interface mlag-port-channel 1-2 interface port-channel 1000 interface ethernet 1/1-1/2 speed 10000 force interface ethernet 1/1 mlag-channel-group 1 mode active interface ethernet 1/2 mlag-channel-group 2 mode active interface ethernet 1/21-1/22 channel-group 1000 mode active interface mlag-port-channel 1 switchport mode trunk interface mlag-port-channel 2 switchport mode trunk interface mlag-port-channel 1-2 no shutdown ## ## LAG configuration ## lacp port-channel load-balance ethernet source-destination-ip ## ## VLAN configuration ## vlan 100-101 vlan 4000 vlan 4000 name "MLAG" ## ## STP configuration ## spanning-tree mode rpvst spanning-tree vlan 1 priority 8192 spanning-tree vlan 100 priority 4096 spanning-tree vlan 101 priority 0 ## ## L3 configuration ## ip routing vrf default interface vlan 4000 interface vlan 4000 ip address 10.0.0.1/30 primary ## ## DCBX PFC configuration ## dcb priority-flow-control enable force interface port-channel 1000 dcb priority-flow-control mode on force ## ## LLDP configuration ## lldp ## ## MLAG configurations ## mlag-vip mlag-domain ip 192.168.0.100 /24 force no mlag shutdown mlag system-mac 00:00:5E:00:01:5D interface port-channel 1000 ipl 1 interface vlan 4000 ipl 1 peer-address 10.0.0.2 ## ## Network interface configuration ## no interface mgmt0 dhcp interface mgmt0 ip address 192.168.0.101 /24 ## ## Other IP configuration ## hostname SN2010-1 ip route vrf default 0.0.0.0/0 192.168.0.1 ## ## AAA remote server configuration ## # ldap bind-password ******** # radius-server key ******** # tacacs-server key ******** ## ## Network management configuration ## # web proxy auth basic password ******** clock timezone Asia Eastern Japan no ntp server 133.243.238.164 disable ntp server 133.243.238.164 keyID 0 no ntp server 133.243.238.164 trusted-enable ntp server 133.243.238.164 version 4 no ntp server 133.243.238.243 disable ntp server 133.243.238.243 keyID 0 no ntp server 133.243.238.243 trusted-enable ntp server 133.243.238.243 version 4 ## ## X.509 certificates configuration ## # # Certificate name system-self-signed, ID 9f8b989f9aeba5b16f9c8d5b12ab56087440a091 # (public-cert config omitted since private-key config is hidden) ## ## Persistent prefix mode setting ## cli default prefix-modes enable
SN2010-2 [mlag-domain: standby] # show running-config ## ## Running database "initial" ## Generated at 2018/11/13 15:40:38 +0900 ## Hostname: SN2010-2 ## ## ## Running-config temporary prefix mode setting ## no cli default prefix-modes enable ## ## MLAG protocol ## protocol mlag ## ## Interface Ethernet configuration ## interface mlag-port-channel 1-2 interface port-channel 1000 interface ethernet 1/1-1/2 speed 10000 force interface ethernet 1/1 mlag-channel-group 1 mode active interface ethernet 1/2 mlag-channel-group 2 mode active interface ethernet 1/21-1/22 channel-group 1000 mode active interface mlag-port-channel 1 switchport mode trunk interface mlag-port-channel 2 switchport mode trunk interface mlag-port-channel 1-2 no shutdown ## ## LAG configuration ## lacp port-channel load-balance ethernet source-destination-ip ## ## VLAN configuration ## vlan 100-101 vlan 4000 vlan 4000 name "MLAG" ## ## STP configuration ## spanning-tree mode rpvst spanning-tree vlan 1 priority 8192 spanning-tree vlan 100 priority 4096 spanning-tree vlan 101 priority 0 ## ## L3 configuration ## ip routing vrf default interface vlan 4000 interface vlan 4000 ip address 10.0.0.2/30 primary ## ## DCBX PFC configuration ## dcb priority-flow-control enable force interface port-channel 1000 dcb priority-flow-control mode on force ## ## LLDP configuration ## lldp ## ## MLAG configurations ## mlag-vip mlag-domain ip 192.168.0.100 /24 force no mlag shutdown mlag system-mac 00:00:5E:00:01:5D interface port-channel 1000 ipl 1 interface vlan 4000 ipl 1 peer-address 10.0.0.1 ## ## Network interface configuration ## no interface mgmt0 dhcp interface mgmt0 ip address 192.168.0.102 /24 ## ## Other IP configuration ## hostname SN2010-2 ip route vrf default 0.0.0.0/0 192.168.0.1 ## ## AAA remote server configuration ## # ldap bind-password ******** # radius-server key ******** # tacacs-server key ******** ## ## Network management configuration ## # web proxy auth basic password ******** clock timezone Asia Eastern Japan no ntp server 133.243.238.164 disable ntp server 133.243.238.164 keyID 0 no ntp server 133.243.238.164 trusted-enable ntp server 133.243.238.164 version 4 no ntp server 133.243.238.243 disable ntp server 133.243.238.243 keyID 0 no ntp server 133.243.238.243 trusted-enable ntp server 133.243.238.243 version 4 ## ## X.509 certificates configuration ## # # Certificate name system-self-signed, ID f2bb155203e632abc95a5fd004e4a5b7e7c7cb4a # (public-cert config omitted since private-key config is hidden) ## ## Persistent prefix mode setting ## cli default prefix-modes enable
SN2010-3 [standalone: master] # show running-config ## ## Running database "initial" ## Generated at 2018/11/13 15:40:42 +0900 ## Hostname: SN2010-3 ## ## ## Running-config temporary prefix mode setting ## no cli default prefix-modes enable ## ## Interface Ethernet configuration ## interface port-channel 1-2 interface ethernet 1/1-1/2 speed 10000 force interface ethernet 1/1-1/2 channel-group 1 mode active interface ethernet 1/22 switchport mode trunk interface port-channel 1 switchport mode trunk interface port-channel 2 switchport mode trunk ## ## LAG configuration ## lacp port-channel load-balance ethernet source-destination-ip ## ## VLAN configuration ## vlan 100-101 ## ## STP configuration ## spanning-tree mode rpvst spanning-tree vlan 1 priority 0 spanning-tree vlan 100 priority 8192 spanning-tree vlan 101 priority 4096 ## ## L3 configuration ## ip routing vrf default ## ## LLDP configuration ## lldp ## ## Network interface configuration ## no interface mgmt0 dhcp interface mgmt0 ip address 192.168.0.103 /24 ## ## Other IP configuration ## hostname SN2010-3 ip route vrf default 0.0.0.0/0 192.168.0.1 ## ## AAA remote server configuration ## # ldap bind-password ******** # radius-server key ******** # tacacs-server key ******** ## ## Network management configuration ## # web proxy auth basic password ******** clock timezone Asia Eastern Japan no ntp server 133.243.238.164 disable ntp server 133.243.238.164 keyID 0 no ntp server 133.243.238.164 trusted-enable ntp server 133.243.238.164 version 4 no ntp server 133.243.238.243 disable ntp server 133.243.238.243 keyID 0 no ntp server 133.243.238.243 trusted-enable ntp server 133.243.238.243 version 4 ## ## X.509 certificates configuration ## # # Certificate name system-self-signed, ID 29d1e2f20eb02f5b73ccc5f1d4eb618b9c527d64 # (public-cert config omitted since private-key config is hidden) ## ## Persistent prefix mode setting ## cli default prefix-modes enable
SN2010-4 [standalone: master] # show running-config ## ## Running database "initial" ## Generated at 2018/11/13 15:40:45 +0900 ## Hostname: SN2010-4 ## ## ## Running-config temporary prefix mode setting ## no cli default prefix-modes enable ## ## Interface Ethernet configuration ## interface port-channel 1-2 interface ethernet 1/1-1/2 speed 10000 force interface ethernet 1/1-1/2 channel-group 1 mode active interface ethernet 1/22 switchport mode trunk interface port-channel 1 switchport mode trunk interface port-channel 2 switchport mode trunk ## ## LAG configuration ## lacp port-channel load-balance ethernet source-destination-ip ## ## VLAN configuration ## vlan 100-101 ## ## STP configuration ## spanning-tree mode rpvst spanning-tree vlan 1 priority 4096 spanning-tree vlan 100 priority 0 spanning-tree vlan 101 priority 8192 ## ## L3 configuration ## ip routing vrf default ## ## LLDP configuration ## lldp ## ## Network interface configuration ## no interface mgmt0 dhcp interface mgmt0 ip address 192.168.0.104 /24 ## ## Other IP configuration ## hostname SN2010-4 ip route vrf default 0.0.0.0/0 192.168.0.1 ## ## AAA remote server configuration ## # ldap bind-password ******** # radius-server key ******** # tacacs-server key ******** ## ## Network management configuration ## # web proxy auth basic password ******** clock timezone Asia Eastern Japan no ntp server 133.243.238.164 disable ntp server 133.243.238.164 keyID 0 no ntp server 133.243.238.164 trusted-enable ntp server 133.243.238.164 version 4 no ntp server 133.243.238.243 disable ntp server 133.243.238.243 keyID 0 no ntp server 133.243.238.243 trusted-enable ntp server 133.243.238.243 version 4 ## ## X.509 certificates configuration ## # # Certificate name system-self-signed, ID ba85aa6f4a9fd2d7233f8e60608e1fedb271707f # (public-cert config omitted since private-key config is hidden) ## ## Persistent prefix mode setting ## cli default prefix-modes enable