因為機房光纖埠燈號有亮,所以這邊沒問題,接著到不通的那一棟機櫃看,裡頭的SMC 8126L2 光纖燈號也是亮著,直接接到switch,設定管理IP,可以直接連到該交換器的ip,但是切換回來,雖然直接接交換器,就是無法得到dhcp所分配的ip,再設固定IP也無法ping上一層。要深入瞭解原因,只能以console進交換器,才能知道,因為telnet進得去,所以就直接用telnet進交換器
首先,測試第24埠光纖埠的資料,看設定是是否有跑掉!
Vty-0#show interfaces switchport ethernet
1/24
Information of Eth 1/24
Broadcast Threshold: Enabled, 500 packets/second
Multicast Threshold: Disabled
Unknown Unicast Threshold: Disabled
LACP
Status: Disabled
Ingress Rate Limit: Disabled, 1000 Mbits per second
Egress Rate Limit: Disabled, 1000 Mbits per second
VLAN
Membership Mode: Trunk
Ingress Rule: Disabled
Acceptable Frame Type: All frames
Native VLAN: 1
Priority for Untagged Traffic: 0
GVRP
Status: Disabled
Allowed VLAN: 1(t), 2(t),
6(t),,4093(t),
Forbidden VLAN:
Private-VLAN Mode: NONE
Private-VLAN host-association: NONE
Private-VLAN Mapping: NONE
802.1Q-tunnel Status: Disable
802.1Q-tunnel Mode: NORMAL
802.1Q-tunnel TPID: 8100(Hex)
再測試是否捉到上層的mac資料:
Vty-0#show mac-address-table
Interface MAC Address VLAN Type
--------- ----------------- ----
-----------------
Eth
1/ 1 B8-6B-23-72-CD-20 11 Learned
Eth
1/24 00-16-E0-0B-D6-81 1 Learned
Eth
1/24 00-1E-C1-F7-E4-81 1 Learned
Eth
1/24 00-1E-C1-F7-E4-9B 1 Learned
結果有吔,第24埠有學習到mac,再清除一遍,再測試一次
Vty-0#clear mac-address-table dynamic
Vty-0#show mac-address-table
Interface MAC Address VLAN Type
--------- ----------------- ----
-----------------
Vty-0#show mac-address-table
Interface MAC Address VLAN Type
--------- ----------------- ----
-----------------
Eth
1/24 00-16-E0-0B-D6-81 1 Learned
Eth
1/24 00-1E-C1-F7-E4-9B 1 Learned
Eth
1/24 70-62-B8-9E-28-08 1 Learned
Eth
1/24 00-15-F2-7D-88-6F 11 Learned
Eth
1/24 00-C0-EE-91-67-6B 11 Learned
Eth
1/24 74-27-EA-B7-54-AA 11 Learned
有捉到資料,代表,24埠可以學習到上層的mac,也就是光纖埠彼此是通的,這就要再測試上面串接的3com 4500交換器,回到機房端再測試。
ping 不到,web進不去,telnet到一半就沒資料了,可能當機,所以重開機。
再ping 一次,回應時好時壞,web還是連不進去,研判應該是交換壞掉,剛好有一台備用的交換器,趕緊換上,結果就通了!
今天學到了如何在交換器中下指令去確認問題。