昨天学校突然断电 然后整个学校就无法上网了 以下为检修记录
电脑连接DNC交换机
本地连接设置固定
10.11.120.251
255.255.255.0
10.11.120.254
8.8.8.8
打开超级终端
hexin-sw#sho ip int b
Index Interface IP-Address Protocol
11001 Vlan1 unassigned up
11010 Vlan10 10.11.144.2 up
11020 Vlan20 unassigned up
11110 Vlan110 10.11.110.1 up
11111 Vlan111 10.11.111.254 up
192.168.1.1 (secondary)
11112 Vlan112 10.11.112.254 up
11113 Vlan113 10.11.113.254 up
11114 Vlan114 10.11.114.254 up
11115 Vlan115 10.11.115.254 up
11116 Vlan116 10.11.116.254 up
11117 Vlan117 10.11.117.254 up
11118 Vlan118 10.11.118.254 up
11119 Vlan119 10.11.119.254 up
11120 Vlan120 10.11.120.254 up
11200 Vlan200 10.11.200.254 up
11201 Vlan201 10.11.201.254 up
11202 Vlan202 10.11.202.254 up
11300 Vlan300 unassigned up
17500 Loopback 127.0.0.1 up
hexin-sw#sho ip rout
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is 10.11.110.2 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.11.110.2, Vlan110 tag:0
C 10.11.110.0/24 is directly connected, Vlan110 tag:0
C 10.11.111.0/24 is directly connected, Vlan111 tag:0
C 10.11.112.0/24 is directly connected, Vlan112 tag:0
C 10.11.113.0/24 is directly connected, Vlan113 tag:0
C 10.11.114.0/24 is directly connected, Vlan114 tag:0
C 10.11.115.0/24 is directly connected, Vlan115 tag:0
C 10.11.116.0/24 is directly connected, Vlan116 tag:0
C 10.11.117.0/24 is directly connected, Vlan117 tag:0
C 10.11.118.0/24 is directly connected, Vlan118 tag:0
C 10.11.119.0/24 is directly connected, Vlan119 tag:0
C 10.11.120.0/24 is directly connected, Vlan120 tag:0
C 10.11.144.0/21 is directly connected, Vlan10 tag:0
C 10.11.200.0/24 is directly connected, Vlan200 tag:0
hexin-sw#ping 10.11.110.2
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 10.11.110.2, timeout is 2 seconds.
....
Success rate is 0 percent (0/4), round-trip min/avg/max = 0/0/0 ms
hexin-sw#sho ip int b
Index Interface IP-Address Protocol
11001 Vlan1 unassigned up
11010 Vlan10 10.11.144.2 up
11020 Vlan20 unassigned up
11110 Vlan110 10.11.110.1 up
11111 Vlan111 10.11.111.254 up
192.168.1.1 (secondary)
11112 Vlan112 10.11.112.254 up
11113 Vlan113 10.11.113.254 up
11114 Vlan114 10.11.114.254 up
11115 Vlan115 10.11.115.254 up
11116 Vlan116 10.11.116.254 up
11117 Vlan117 10.11.117.254 up
11118 Vlan118 10.11.118.254 up
11119 Vlan119 10.11.119.254 up
11120 Vlan120 10.11.120.254 up
11200 Vlan200 10.11.200.254 up
11201 Vlan201 10.11.201.254 up
11202 Vlan202 10.11.202.254 up
11300 Vlan300 unassigned up
17500 Loopback 127.0.0.1 up
hexin-sw#sho int eth sta
Codes: A-Down - administratively down, a - auto, f - force, G - Gigabit
Interface Link/Protocol Speed Duplex Vlan Type Alias Name
1/1 UP/UP a-10M a-FULL 110 G-Combo:Copper to-firewall
1/2 DOWN/DOWN auto auto 112 G-Combo
1/3 DOWN/DOWN auto auto 114 G-Combo
1/4 DOWN/DOWN auto auto 115 G-Combo
1/5 DOWN/DOWN auto auto 111 G-Combo
1/6 UP/UP a-1G a-FULL trunk G-Combo:Copper to-shitang
1/7 UP/UP a-1G a-FULL 120 G-Combo:Copper
1/8 UP/UP a-1G a-FULL 120 G-Combo:Copper
1/9 DOWN/DOWN auto auto 111 G-Combo
1/10 UP/UP a-100M a-FULL trunk G-Combo:Copper to-5#lou-5750
1/11 UP/UP a-100M a-FULL 300 G-Combo:Copper
1/12 DOWN/DOWN auto auto 120 G-Combo
1/13 DOWN/DOWN auto auto 111 G-Combo
1/14 UP/UP a-1G a-FULL 201 G-Combo:Copper
1/15 UP/UP a-1G a-FULL 201 G-Combo:Copper to-AC
1/16 DOWN/DOWN auto auto 112 G-Combo
1/17 DOWN/DOWN auto auto trunk SFP
1/18 DOWN/DOWN auto auto trunk SFP
1/19 DOWN/DOWN auto auto trunk SFP
1/20 DOWN/DOWN auto auto trunk SFP
hexin-sw#sho ru
!!
switch convert mode stand-alone
!!
!
no service password-encryption
!
hostname hexin-sw
sysLocation China
sysContact 400-810-9119
!
authentication logging enable
!
username admin privilege 15 password 0 admin
!
!
!
!
service dhcp
!
ip dhcp excluded-address 10.11.144.1 10.11.144.10
!
ip dhcp pool ap
network-address 10.11.202.0 255.255.255.0
default-router 10.11.202.254
option 43 hex 01040A0BC901
!
ip dhcp pool vlan-uer
network-address 10.11.144.0 255.255.248.0
lease 0 3 0
default-router 10.11.144.2
dns-server 202.99.166.4
!
!
!
!
!
!
Interface Ethernet0
!
!
!
!
vlan 1;10;20;110-119;201-202
!
vlan 120
name to-server
!
vlan 200
name management-vlan
!
vlan 300
name wuye
!
Interface Ethernet1/1
description to-firewall
switchport access vlan 110
!
Interface Ethernet1/2
switchport access vlan 112
!
Interface Ethernet1/3
switchport access vlan 114
!
Interface Ethernet1/4
switchport access vlan 115
!
Interface Ethernet1/5
switchport access vlan 111
!
Interface Ethernet1/6
description to-shitang
switchport mode trunk
switchport trunk native vlan 202
!
Interface Ethernet1/7
switchport access vlan 120
!
Interface Ethernet1/8
switchport access vlan 120
!
Interface Ethernet1/9
switchport access vlan 111
!
Interface Ethernet1/10
description to-5#lou-5750
switchport mode trunk
!
Interface Ethernet1/11
switchport access vlan 300
!
Interface Ethernet1/12
switchport access vlan 120
!
Interface Ethernet1/13
switchport access vlan 111
!
Interface Ethernet1/14
switchport access vlan 201
!
Interface Ethernet1/15
description to-AC
switchport access vlan 201
!
Interface Ethernet1/16
switchport access vlan 112
!
Interface Ethernet1/17
switchport mode trunk
!
Interface Ethernet1/18
switchport mode trunk
!
Interface Ethernet1/19
switchport mode trunk
!
Interface Ethernet1/20
switchport mode trunk
!
Interface Ethernet1/21
switchport mode trunk
!
Interface Ethernet1/22
description to-4#lou-5750
switchport mode trunk
!
Interface Ethernet1/23
switchport mode trunk
!
Interface Ethernet1/24
description to-1#lou-5750
switchport mode trunk
!
Interface Ethernet2/1
switchport mode trunk
!
Interface Ethernet2/2
switchport access vlan 117
!
Interface Ethernet2/3
switchport access vlan 117
!
Interface Ethernet2/4
switchport access vlan 117
!
Interface Ethernet2/5
switchport access vlan 117
!
Interface Ethernet2/6
switchport access vlan 117
!
Interface Ethernet2/7
switchport access vlan 117
!
Interface Ethernet2/8
switchport access vlan 117
!
Interface Ethernet2/9
switchport access vlan 117
!
Interface Ethernet2/10
switchport access vlan 117
!
Interface Ethernet2/11
switchport access vlan 117
!
Interface Ethernet2/12
switchport access vlan 117
!
Interface Ethernet2/13
switchport mode trunk
!
Interface Ethernet2/14
switchport mode trunk
!
Interface Ethernet2/15
switchport mode trunk
!
Interface Ethernet2/16
switchport mode trunk
!
Interface Ethernet2/17
!
Interface Ethernet2/18
!
Interface Ethernet2/19
!
Interface Ethernet2/20
!
Interface Ethernet2/21
!
Interface Ethernet2/22
!
Interface Ethernet2/23
!
Interface Ethernet2/24
!
interface Vlan1
!
interface Vlan10
description to-ac
ip address 10.11.144.2 255.255.248.0
!
interface Vlan20
!
interface Vlan110
ip address 10.11.110.1 255.255.255.0
!
interface Vlan111
ip address 10.11.111.254 255.255.255.0
ip address 192.168.1.1 255.255.255.0 secondary
!
interface Vlan112
ip address 10.11.112.254 255.255.255.0
!
interface Vlan113
ip address 10.11.113.254 255.255.255.0
!
interface Vlan114
ip address 10.11.114.254 255.255.255.0
!
interface Vlan115
ip address 10.11.115.254 255.255.255.0
!
interface Vlan116
ip address 10.11.116.254 255.255.255.0
!
interface Vlan117
ip address 10.11.117.254 255.255.255.0
!
interface Vlan118
ip address 10.11.118.254 255.255.255.0
!
interface Vlan119
ip address 10.11.119.254 255.255.255.0
!
interface Vlan120
ip address 10.11.120.254 255.255.255.0
!
interface Vlan200
ip address 10.11.200.254 255.255.255.0
!
interface Vlan201
ip address 10.11.201.254 255.255.255.0
!
interface Vlan202
ip address 10.11.202.254 255.255.255.0
!
interface Vlan300
!
ip route 0.0.0.0/0 10.11.110.2
!
!
no login
!
isolate-port group ap switchport interface Ethernet1/24
isolate-port group ap switchport interface Ethernet1/23
isolate-port group ap switchport interface Ethernet1/22
isolate-port group ap switchport interface Ethernet1/21
isolate-port group ap switchport interface Ethernet1/20
isolate-port group ap switchport interface Ethernet1/19
isolate-port group ap switchport interface Ethernet1/18
isolate-port group ap switchport interface Ethernet1/17
end
hexin-sw#
进入cmd窗口
命令 tracert 114.114.114.114
C:\Documents and Settings\Administrator>ipconfig
Windows IP Configuration
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Autoconfiguration IP Address. . . : 169.254.48.59
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter 无线网络连接:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.43.218
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.43.1
C:\Documents and Settings\Administrator>tracert 114.114.114.114
Tracing route to public1.114dns.com [114.114.114.114]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms bogon [10.11.120.254]
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.
Trace complete.
此时电脑的数据只能到核心 核心地址10.11.120.254 到不了防火墙 所以问题应该在防火墙
重启防火墙 然后重新tracert 114.114.114.114
C:\Documents and Settings\Administrator>tracert 114.114.114.114
Tracing route to public1.114dns.com [114.114.114.114]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms bogon [10.11.120.254]
2 <1 ms <1 ms <1 ms 10.11.110.2
3 2 ms 1 ms 1 ms 110.249.143.209
4 2 ms 1 ms 2 ms 221.192.35.249
5 5 ms 3 ms 3 ms 61.182.179.61
6 9 ms 7 ms 7 ms 219.158.10.181
7 42 ms 45 ms 7 ms 60.217.43.22
8 10 ms 10 ms 10 ms 60.217.44.158
9 9 ms 9 ms 9 ms public1.114dns.com [114.114.114.114]
Trace complete.
此时连接正常 有线无线网络已经恢复正常
所以 以后当单位或者部门断电后 除了交换机 光纤猫重启外 将防火墙也可以重启试试