上次因为施工,把交换机电源关闭了,通电后这台路由器下的电脑无法上网。通过咨询贵公司技术人员,说是配置参数丢失,我刚才把交换机数据下载下来后,看了一下,好像是正常的,麻烦给看看!
单位总共有10台24口交换机和一个汇聚路由器,带防火墙的。网关不在24口交换机上
(0)
最佳答案
要贴出来具体配置,路由器到外网是否正常?如果是PPOE拨号看拨号是否正常。下面电脑能否正常拿到地址或者手动配置地址能否ping通网关,如果通能否ping通外网。如果不通需要看看路由器dhcp配置是否正常,路由器接交换的vlan是否放行。
(0)
只有这台交换机下的电脑无法上网,其他的都可以上网。在这台交换机下的电脑无法ping通网关。
这台交换机是27号口连的路由器么
应该是,具体的不是很了解。我这有上一任管理员给的原来配置的参数 <HYL-B-01>DIS CU # version 5.20.99, Release 1110 # sysname HYL-B-01 # domain default enable system # ipv6 # telnet server enable # password-recovery enable # vlan 1 # vlan 17 to 18 # domain system access-limit disable state active idle-cut disable self-service-url disable # user-group system group-attribute allow-guest # local-user HYL-B-01 password cipher $c$3$YGiVcw0lDZj1Mg0+nM6ROBC5FFwnSJYWfSQ= authorization-attribute level 3 service-type telnet # stp region-configuration region-name yc instance 1 vlan 1 3 5 7 9 11 13 15 17 19 instance 1 vlan 21 23 25 27 29 31 61 63 65 71 instance 1 vlan 73 75 81 instance 2 vlan 2 4 6 8 10 12 14 16 18 20 instance 2 vlan 22 24 26 28 30 32 40 50 62 64 instance 2 vlan 66 72 74 76 82 120 200 220 active region-configuration # stp timer hello 400 stp timer forward-delay 3000 stp timer max-age 4000 stp bpdu-protection stp enable # interface NULL0 # interface Vlan-interface1 ip address 10.0.1.245 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 18 # interface GigabitEthernet1/0/2 port access vlan 18 # interface GigabitEthernet1/0/3 port access vlan 18 # interface GigabitEthernet1/0/4 port access vlan 18 # interface GigabitEthernet1/0/5 port access vlan 18 # interface GigabitEthernet1/0/6 port access vlan 18 # interface GigabitEthernet1/0/7 port access vlan 18 # interface GigabitEthernet1/0/8 port access vlan 18 # interface GigabitEthernet1/0/9 port access vlan 18 # interface GigabitEthernet1/0/10 port access vlan 18 # interface GigabitEthernet1/0/11 port access vlan 18 # interface GigabitEthernet1/0/12 port access vlan 18 # interface GigabitEthernet1/0/13 port access vlan 18 # interface GigabitEthernet1/0/14 port access vlan 18 # interface GigabitEthernet1/0/15 port access vlan 18 # interface GigabitEthernet1/0/16 # interface GigabitEthernet1/0/17 # interface GigabitEthernet1/0/18 port access vlan 17 # interface GigabitEthernet1/0/19 port access vlan 17 # interface GigabitEthernet1/0/20 port access vlan 17 # interface GigabitEthernet1/0/21 port access vlan 17 # interface GigabitEthernet1/0/22 port access vlan 17 # interface GigabitEthernet1/0/23 port access vlan 17 # interface GigabitEthernet1/0/24 port access vlan 17 # interface GigabitEthernet1/0/25 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/26 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/28 port link-type trunk port trunk permit vlan all # ip route-static 0.0.0.0 0.0.0.0 10.0.1.1 # info-center loghost 10.0.2.4 undo info-center logfile enable # snmp-agent snmp-agent local-engineid 383030303633413236353133314341423334413735384141 snmp-agent community read YJZX snmp-agent community write XXZLS snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 10.0.2.4 params securityname YJZX snmp-agent trap enable default-route snmp-agent trap queue-size 500 snmp-agent trap life 600 # load xml-configuration # user-interface aux 0 user-interface vty 0 3 authentication-mode scheme user privilege level 3 user-interface vty 4 15 # return <HYL-B-01> <HYL-B-01>SA The current configuration will be written to the device. Are you sure? [Y/N]:Y Please input the file name(*.cfg)[flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): Validating file. Please wait........ The current configuration is saved to the active main board successfully. Configuration is saved to device successfully. <HYL-B-01>Y <HYL-N-01> #Apr 27 08:44:59:809 2000 HYL-N-01 SHELL/4/LOGIN: Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console %Apr 27 08:44:59:959 2000 HYL-N-01 SHELL/5/SHELL_LOGIN: Console logged in from aux0. <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01>DIS CU # version 5.20.99, Release 1110 # sysname HYL-N-01 # domain default enable system # ipv6 # telnet server enable # password-recovery enable # vlan 1 # vlan 17 to 18 # domain system access-limit disable state active idle-cut disable self-service-url disable # user-group system group-attribute allow-guest # local-user HYL-N-01 password cipher $c$3$juiRkFM+YgzqJvzwP/BUgPOXxVYepVe9xFE= authorization-attribute level 3 service-type telnet # stp region-configuration region-name yc instance 1 vlan 1 3 5 7 9 11 13 15 17 19 instance 1 vlan 21 23 25 27 29 31 61 63 65 71 instance 1 vlan 73 75 81 instance 2 vlan 2 4 6 8 10 12 14 16 18 20 instance 2 vlan 22 24 26 28 30 32 40 50 62 64 instance 2 vlan 66 72 74 76 82 120 200 220 active region-configuration # stp timer hello 400 stp timer forward-delay 3000 stp timer max-age 4000 stp bpdu-protection stp enable # user-profile privilege # interface NULL0 # interface Vlan-interface1 ip address 10.0.1.246 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 18 # interface GigabitEthernet1/0/2 port access vlan 18 # interface GigabitEthernet1/0/3 port access vlan 18 # interface GigabitEthernet1/0/4 # interface GigabitEthernet1/0/5 # interface GigabitEthernet1/0/6 # interface GigabitEthernet1/0/7 # interface GigabitEthernet1/0/8 # interface GigabitEthernet1/0/9 # interface GigabitEthernet1/0/10 # interface GigabitEthernet1/0/11 # interface GigabitEthernet1/0/12 port access vlan 17 # interface GigabitEthernet1/0/13 port access vlan 17 # interface GigabitEthernet1/0/14 port access vlan 17 # interface GigabitEthernet1/0/15 port access vlan 17 # interface GigabitEthernet1/0/16 port access vlan 17 # interface GigabitEthernet1/0/17 port access vlan 17 # interface GigabitEthernet1/0/18 port access vlan 17 # interface GigabitEthernet1/0/19 port access vlan 17 # interface GigabitEthernet1/0/20 port access vlan 17 # interface GigabitEthernet1/0/21 port access vlan 17 # interface GigabitEthernet1/0/22 port access vlan 17 # interface GigabitEthernet1/0/23 port access vlan 17 # interface GigabitEthernet1/0/24 port access vlan 17 # interface GigabitEthernet1/0/25 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/26 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/28 port link-type trunk port trunk permit vlan all # info-center loghost 10.0.2.4 undo info-center logfile enable # snmp-agent snmp-agent local-engineid 383030303633413236353133314341423334413734453241 snmp-agent community read YJZX snmp-agent community write XXZLS snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 10.0.2.4 params securityname YJZX snmp-agent trap enable default-route snmp-agent trap queue-size 500 snmp-agent trap life 600 # load xml-configuration # user-interface aux 0 user-interface vty 0 3 authentication-mode scheme user privilege level 3 user-interface vty 4 15 # return
你说的27号连接路由器指的是这台交换机跟跟路由器连接的光模块插口吗?
是 把那两个接口的配置贴出来的 尤其是路由器上面的
只有这台交换机下的电脑无法上网,其他的交换机下的电脑是可以上网的。路由器上的配置我这无法看到。
要看路由器接这台交换机接口的配置
主要是想了解啥,看我了解不?
你看看是不是这个,刚才上个管理员给的 <HYL-B-01>DIS CU # version 5.20.99, Release 1110 # sysname HYL-B-01 # domain default enable system # ipv6 # telnet server enable # password-recovery enable # vlan 1 # vlan 17 to 18 # domain system access-limit disable state active idle-cut disable self-service-url disable # user-group system group-attribute allow-guest # local-user HYL-B-01 password cipher $c$3$YGiVcw0lDZj1Mg0+nM6ROBC5FFwnSJYWfSQ= authorization-attribute level 3 service-type telnet # stp region-configuration region-name yc instance 1 vlan 1 3 5 7 9 11 13 15 17 19 instance 1 vlan 21 23 25 27 29 31 61 63 65 71 instance 1 vlan 73 75 81 instance 2 vlan 2 4 6 8 10 12 14 16 18 20 instance 2 vlan 22 24 26 28 30 32 40 50 62 64 instance 2 vlan 66 72 74 76 82 120 200 220 active region-configuration # stp timer hello 400 stp timer forward-delay 3000 stp timer max-age 4000 stp bpdu-protection stp enable # interface NULL0 # interface Vlan-interface1 ip address 10.0.1.245 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 18 # interface GigabitEthernet1/0/2 port access vlan 18 # interface GigabitEthernet1/0/3 port access vlan 18 # interface GigabitEthernet1/0/4 port access vlan 18 # interface GigabitEthernet1/0/5 port access vlan 18 # interface GigabitEthernet1/0/6 port access vlan 18 # interface GigabitEthernet1/0/7 port access vlan 18 # interface GigabitEthernet1/0/8 port access vlan 18 # interface GigabitEthernet1/0/9 port access vlan 18 # interface GigabitEthernet1/0/10 port access vlan 18 # interface GigabitEthernet1/0/11 port access vlan 18 # interface GigabitEthernet1/0/12 port access vlan 18 # interface GigabitEthernet1/0/13 port access vlan 18 # interface GigabitEthernet1/0/14 port access vlan 18 # interface GigabitEthernet1/0/15 port access vlan 18 # interface GigabitEthernet1/0/16 # interface GigabitEthernet1/0/17 # interface GigabitEthernet1/0/18 port access vlan 17 # interface GigabitEthernet1/0/19 port access vlan 17 # interface GigabitEthernet1/0/20 port access vlan 17 # interface GigabitEthernet1/0/21 port access vlan 17 # interface GigabitEthernet1/0/22 port access vlan 17 # interface GigabitEthernet1/0/23 port access vlan 17 # interface GigabitEthernet1/0/24 port access vlan 17 # interface GigabitEthernet1/0/25 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/26 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/28 port link-type trunk port trunk permit vlan all # ip route-static 0.0.0.0 0.0.0.0 10.0.1.1 # info-center loghost 10.0.2.4 undo info-center logfile enable # snmp-agent snmp-agent local-engineid 383030303633413236353133314341423334413735384141 snmp-agent community read YJZX snmp-agent community write XXZLS snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 10.0.2.4 params securityname YJZX snmp-agent trap enable default-route snmp-agent trap queue-size 500 snmp-agent trap life 600 # load xml-configuration # user-interface aux 0 user-interface vty 0 3 authentication-mode scheme user privilege level 3 user-interface vty 4 15 # return <HYL-B-01> <HYL-B-01>SA The current configuration will be written to the device. Are you sure? [Y/N]:Y Please input the file name(*.cfg)[flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): Validating file. Please wait........ The current configuration is saved to the active main board successfully. Configuration is saved to device successfully. <HYL-B-01>Y <HYL-N-01> #Apr 27 08:44:59:809 2000 HYL-N-01 SHELL/4/LOGIN: Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console %Apr 27 08:44:59:959 2000 HYL-N-01 SHELL/5/SHELL_LOGIN: Console logged in from aux0. <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01> <HYL-N-01>DIS CU # version 5.20.99, Release 1110 # sysname HYL-N-01 # domain default enable system # ipv6 # telnet server enable # password-recovery enable # vlan 1 # vlan 17 to 18 # domain system access-limit disable state active idle-cut disable self-service-url disable # user-group system group-attribute allow-guest # local-user HYL-N-01 password cipher $c$3$juiRkFM+YgzqJvzwP/BUgPOXxVYepVe9xFE= authorization-attribute level 3 service-type telnet # stp region-configuration region-name yc instance 1 vlan 1 3 5 7 9 11 13 15 17 19 instance 1 vlan 21 23 25 27 29 31 61 63 65 71 instance 1 vlan 73 75 81 instance 2 vlan 2 4 6 8 10 12 14 16 18 20 instance 2 vlan 22 24 26 28 30 32 40 50 62 64 instance 2 vlan 66 72 74 76 82 120 200 220 active region-configuration # stp timer hello 400 stp timer forward-delay 3000 stp timer max-age 4000 stp bpdu-protection stp enable # user-profile privilege # interface NULL0 # interface Vlan-interface1 ip address 10.0.1.246 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 18 # interface GigabitEthernet1/0/2 port access vlan 18 # interface GigabitEthernet1/0/3 port access vlan 18 # interface GigabitEthernet1/0/4 # interface GigabitEthernet1/0/5 # interface GigabitEthernet1/0/6 # interface GigabitEthernet1/0/7 # interface GigabitEthernet1/0/8 # interface GigabitEthernet1/0/9 # interface GigabitEthernet1/0/10 # interface GigabitEthernet1/0/11 # interface GigabitEthernet1/0/12 port access vlan 17 # interface GigabitEthernet1/0/13 port access vlan 17 # interface GigabitEthernet1/0/14 port access vlan 17 # interface GigabitEthernet1/0/15 port access vlan 17 # interface GigabitEthernet1/0/16 port access vlan 17 # interface GigabitEthernet1/0/17 port access vlan 17 # interface GigabitEthernet1/0/18 port access vlan 17 # interface GigabitEthernet1/0/19 port access vlan 17 # interface GigabitEthernet1/0/20 port access vlan 17 # interface GigabitEthernet1/0/21 port access vlan 17 # interface GigabitEthernet1/0/22 port access vlan 17 # interface GigabitEthernet1/0/23 port access vlan 17 # interface GigabitEthernet1/0/24 port access vlan 17 # interface GigabitEthernet1/0/25 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/26 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/28 port link-type trunk port trunk permit vlan all # info-center loghost 10.0.2.4 undo info-center logfile enable # snmp-agent snmp-agent local-engineid 383030303633413236353133314341423334413734453241 snmp-agent community read YJZX snmp-agent community write XXZLS snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 10.0.2.4 params securityname YJZX snmp-agent trap enable default-route snmp-agent trap queue-size 500 snmp-agent trap life 600 # load xml-configuration # user-interface aux 0 user-interface vty 0 3 authentication-mode scheme user privilege level 3 user-interface vty 4 15 # return
非常感谢。光纤断了,最后更换了光纤,好了!
配置丢了,重行配置吧
(0)
配置好些好着呢
配置好些好着呢
没看到配置文件。
是所有PC都无法上网吗?连接汇聚路由器的是哪个端口?
(0)
连接路由器的端口是28
是的
连接路由器的端口是28
我刚才把交换机上的信息下载下来看了一下好像好着呢,这个是下载的信息。
[HYL-B-01]display current-configuration # version 5.20.99, Release 1110 # sysname HYL-B-01 # domain default enable system # ipv6 # telnet server enable # password-recovery enable # vlan 1 # vlan 17 to 18 # domain system access-limit disable state active idle-cut disable self-service-url disable # user-group system group-attribute allow-guest # local-user HYL-B-01 password cipher $c$3$YGiVcw0lDZj1Mg0+nM6ROBC5FFwnSJYWfSQ= authorization-attribute level 3 service-type telnet # stp region-configuration region-name yc instance 1 vlan 1 3 5 7 9 11 13 15 17 19 instance 1 vlan 21 23 25 27 29 31 61 63 65 71 instance 1 vlan 73 75 81 instance 2 vlan 2 4 6 8 10 12 14 16 18 20 instance 2 vlan 22 24 26 28 30 32 40 50 62 64 instance 2 vlan 66 72 74 76 82 120 200 220 active region-configuration # stp timer hello 400 stp timer forward-delay 3000 stp timer max-age 4000 stp bpdu-protection stp enable # interface NULL0 # interface Vlan-interface1 ip address 10.0.1.245 255.255.255.0 # interface GigabitEthernet1/0/1 port access vlan 18 # interface GigabitEthernet1/0/2 port access vlan 18 # interface GigabitEthernet1/0/3 port access vlan 18 # interface GigabitEthernet1/0/4 port access vlan 18 # interface GigabitEthernet1/0/5 port access vlan 18 # interface GigabitEthernet1/0/6 port access vlan 18 # interface GigabitEthernet1/0/7 port access vlan 18 # interface GigabitEthernet1/0/8 port access vlan 18 # interface GigabitEthernet1/0/9 port access vlan 18 # interface GigabitEthernet1/0/10 port access vlan 18 # interface GigabitEthernet1/0/11 port access vlan 18 # interface GigabitEthernet1/0/12 port access vlan 18 # interface GigabitEthernet1/0/13 port access vlan 18 # interface GigabitEthernet1/0/14 port access vlan 18 # interface GigabitEthernet1/0/15 port access vlan 18 # interface GigabitEthernet1/0/16 # interface GigabitEthernet1/0/17 # interface GigabitEthernet1/0/18 port access vlan 17 # interface GigabitEthernet1/0/19 port access vlan 17 # interface GigabitEthernet1/0/20 port access vlan 17 # interface GigabitEthernet1/0/21 port access vlan 17 # interface GigabitEthernet1/0/22 port access vlan 17 # interface GigabitEthernet1/0/23 port access vlan 17 # interface GigabitEthernet1/0/24 port access vlan 17 # interface GigabitEthernet1/0/25 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/26 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/27 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/28 port link-type trunk port trunk permit vlan all # ip route-static 0.0.0.0 0.0.0.0 10.0.1.1 # info-center loghost 10.0.2.4 undo info-center logfile enable # snmp-agent snmp-agent local-engineid 383030303633413236353133314341423334413735384141 snmp-agent community read YJZX snmp-agent community write XXZLS snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 10.0.2.4 params securityname YJZ X snmp-agent trap enable default-route snmp-agent trap queue-size 500 snmp-agent trap life 600 # load xml-configuration # user-interface aux 0 user-interface vty 0 3 authentication-mode scheme user privilege level 3 user-interface vty 4 15 #
(0)
看你得配置有点乱,看你接电脑得VLAN是17和18,配置中也有17和18,但是显示是不是有问题,上行口应该是25至28中得一个,配置中开启了STP,先关闭STP测试,然后再开启。VLAN所有得VLAN重新配置一下,多余VLAN去掉。
instance 1
vlan 1 3 5 7 9 11 13 15 17 19
instance 1
vlan 21 23 25 27 29 31 61 63 65 71
instance 1
vlan 73 75 81
instance 2
vlan 2 4 6 8 10 12 14 16 18 20
instance 2
vlan 22 24 26 28 30 32 40 50 62 64
instance 2
vlan 66 72 74 76 82 120 200 220
(0)
光模块在28口插着
是这样,我们单位的网段总共分了两个
光模块在28口插着
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
非常感谢。光纤断了,最后更换了光纤,好了!