최근의 질문에 따라 최근 상호 운용성을 위해 MSTP를 사용하도록 HP (2x 2900) 및 Cisco (1x 3750) 하드웨어를 모두 구성했습니다. 스패닝 트리 루트가 플 래핑을 시작하여 두 HP 스위치간에 성능 문제 (5 % 패킷 손실)가 발생하는 세 번째 장치 (아래 HP 스위치 1)에 변경 사항을 적용 할 때까지이 기능이 작동한다고 생각했습니다. 왜 그런지 잘 모르겠습니다.
Cisco 1/0/1에 연결된 HP Switch 1 A4. Cisco 2/0/1에 연결된 HP Switch 2 B2. HP 스위치 1 A2가 HP 스위치 2 A1에 연결되었습니다. 시스코 스택을 루트로 사용하고 싶습니다.
편집하다:
내가 추가하지 않고 기존의 HP 스위치 2에는 '스패닝 트리 1 경로 비용 500000'이라는 특정 줄이 있습니다. 그것이 내가 묘사하고있는 영향을 미칠 수 있는지 확실하지 않습니다. 나는 네트워킹보다 보안 및 모니터링 사람입니다.
편집 2 :
Cisco의 MST 0 인스턴스 값이 여전히 기본 32768이라는 사실에 문제가 있다고 생각하기 시작했습니다. 다이어그램을 작성했습니다. 이는 STP에서 찾을 수있는 모든 show 명령을 기반으로합니다. 몇 시간 후에이 변경 작업을 수행하고 도움이되는지 확인하겠습니다.
Cisco 3750 구성 :
version 12.2
spanning-tree mode mst
spanning-tree extend system-id
spanning-tree mst configuration
name mstp
revision 1
instance 1 vlan 1, 40, 70, 100, 250
spanning-tree mst 1 priority 0
vlan internal allocation policy ascending
interface TenGigabitEthernet1/1/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface TenGigabitEthernet2/1/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
no ip address
!
interface Vlan100
ip address 192.168.100.253 255.255.255.0
!
Cisco 3750 show spanning tree :
show spanning-tree
MST0
Spanning tree enabled protocol mstp
Root ID Priority 32768
Address 0004.ea84.5f80
Cost 200000
Port 53 (TenGigabitEthernet1/1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32768 (priority 32768 sys-id-ext 0)
Address a44c.11a6.7c80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te1/1/1 Root FWD 2000 128.53 P2p
MST1
Spanning tree enabled protocol mstp
Root ID Priority 1
Address a44c.11a6.7c80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 1 (priority 0 sys-id-ext 1)
Address a44c.11a6.7c80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te1/1/1 Desg FWD 2000 128.53 P2p
Cisco 3750 쇼 로깅 :
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan100, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan100, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
HP 스위치 1 :
; J9049A Configuration Editor; Created on release #T.13.71
vlan 1
name "DEFAULT_VLAN"
untagged 1-8,10,13-16,18-23,A1-A4
ip address 100.100.100.17 255.255.255.0
no untagged 9,11-12,17,24
exit
vlan 100
name "192.168.100"
untagged 9,11-12,17,24
tagged 1-8,10,13-16,18-23,A1-A4
no ip address
exit
vlan 21
name "Users_2"
tagged 1,A1-A4
no ip address
exit
vlan 40
name "Cafe"
tagged 1,4,7,A1-A4
no ip address
exit
vlan 250
name "Firewall"
tagged 1,4,7,A1-A4
no ip address
exit
vlan 70
name "DMZ"
tagged 1,4,7-8,13,A1-A4
no ip address
exit
spanning-tree
spanning-tree config-name "mstp"
spanning-tree config-revision 1
spanning-tree instance 1 vlan 1 40 70 100 250
password manager
password operator
HP 스위치 1 쇼 스패닝 트리 :
show spanning-tree
Multiple Spanning Tree (MST) Information
STP Enabled : Yes
Force Version : MSTP-operation
IST Mapped VLANs : 2-39,41-69,71-99,101-249,251-4094
Switch MAC Address : 0021f7-126580
Switch Priority : 32768
Max Age : 20
Max Hops : 20
Forward Delay : 15
Topology Change Count : 363,490
Time Since Last Change : 14 hours
CST Root MAC Address : 0004ea-845f80
CST Root Priority : 32768
CST Root Path Cost : 200000
CST Root Port : 1
IST Regional Root MAC Address : 0021f7-126580
IST Regional Root Priority : 32768
IST Regional Root Path Cost : 0
IST Remaining Hops : 20
Root Guard Ports :
TCN Guard Ports :
BPDU Protected Ports :
BPDU Filtered Ports :
PVST Protected Ports :
PVST Filtered Ports :
| Prio | Designated Hello
Port Type | Cost rity State | Bridge Time PtP Edge
----- --------- + --------- ---- ---------- + ------------- ---- --- ----
A1 | Auto 128 Disabled |
A2 10GbE-CX4 | 2000 128 Forwarding | 0021f7-126580 2 Yes No
A3 10GbE-CX4 | Auto 128 Disabled |
A4 10GbE-SR | Auto 128 Disabled |
HP 스위치 1 로깅 : 날짜 / 시간 필드가 정확하지 않아 제거했습니다 (NTP가이 스위치에 구성되어 있지 않음)
00839 stp: MSTI 1 Root changed from 0:a44c11-a67c80 to 32768:0021f7-126580
00839 stp: MSTI 1 Root changed from 32768:0021f7-126580 to 0:a44c11-a67c80
00842 stp: MSTI 1 starved for an MSTI Msg Rx on port A4 from 0:a44c11-a67c80
00839 stp: MSTI 1 Root changed from 0:a44c11-a67c80 to 32768:0021f7-126580
00839 stp: MSTI 1 Root changed from 32768:0021f7-126580 to 0:a44c11-a67c80
00839 stp: MSTI 1 Root changed from 0:a44c11-a67c80 to ...
HP 스위치 2 구성 :
; J9146A Configuration Editor; Created on release #W.14.49
vlan 1
name "DEFAULT_VLAN"
untagged 1,3-17,21-24,A1-A2,B2
ip address 100.100.100.36 255.255.255.0
no untagged 2,18-20,B1
exit
vlan 100
name "192.168.100"
untagged 2,18-20
tagged 1,3-17,21-24,A1-A2,B1-B2
no ip address
exit
vlan 21
name "Users_2"
tagged 1,A1-A2,B2
no ip address
exit
vlan 40
name "Cafe"
tagged 1,13-14,16,A1-A2,B2
no ip address
exit
vlan 250
name "Firewall"
tagged 1,13-14,16,A1-A2,B2
no ip address
exit
vlan 70
name "DMZ"
tagged 1,13-14,16,A1-A2,B2
no ip address
exit
logging 192.168.100.18
spanning-tree
spanning-tree 1 path-cost 500000
spanning-tree config-name "mstp"
spanning-tree config-revision 1
spanning-tree instance 1 vlan 1 40 70 100 250
HP 스위치 2 스패닝 트리 :
show spanning-tree
Multiple Spanning Tree (MST) Information
STP Enabled : Yes
Force Version : MSTP-operation
IST Mapped VLANs : 2-39,41-69,71-99,101-249,251-4094
Switch MAC Address : 0024a8-cd6000
Switch Priority : 32768
Max Age : 20
Max Hops : 20
Forward Delay : 15
Topology Change Count : 21,793
Time Since Last Change : 14 hours
CST Root MAC Address : 0004ea-845f80
CST Root Priority : 32768
CST Root Path Cost : 200000
CST Root Port : A1
IST Regional Root MAC Address : 0021f7-126580
IST Regional Root Priority : 32768
IST Regional Root Path Cost : 2000
IST Remaining Hops : 19
Root Guard Ports :
TCN Guard Ports :
BPDU Protected Ports :
BPDU Filtered Ports :
PVST Protected Ports :
PVST Filtered Ports :
| Prio | Designated Hello
Port Type | Cost rity State | Bridge Time PtP Edge
----- --------- + --------- ---- ---------- + ------------- ---- --- ----
A1 10GbE-CX4 | 2000 128 Forwarding | 0021f7-126580 2 Yes No
A2 10GbE-CX4 | Auto 128 Disabled |
B1 SFP+SR | 2000 128 Forwarding | 0024a8-cd6000 2 Yes No
B2 | Auto 128 Disabled |
HP 스위치 2 로깅 : 날짜 / 시간 필드가 정확하지 않아 제거했습니다 (NTP가이 스위치에 구성되어 있지 않음)
00839 stp: CST Root changed from 32768:0021f7-126580 to 32768:0004ea-845f80
00839 stp: IST Root changed from 32768:0021f7-126580 to 32768:0024a8-cd6000
00839 stp: CST Root changed from 32768:0004ea-845f80 to 32768:0024a8-cd6000
00839 stp: CST Root changed from 32768:0024a8-cd6000 to 32768:0004ea-845f80
00839 stp: CST Root changed from 32768:0004ea-845f80 to 32768:0024a8-cd6000
00435 ports: port B1 is Blocked by STP
00839 stp: CST Root changed from 32768:0024a8-cd6000 to 32768:0021f7-126580
00839 stp: IST Root changed from 32768:0024a8-cd6000 to 32768:0021f7-126580
00839 stp: CST Root changed from 32768:0021f7-126580 to 32768:0004ea-845f80