h3c msr 20 10恢复配置后不能用web登录,找不到eth口ip了,也不能ping通
我这里有配置文件,哪位大神帮忙看一下
(0)
最佳答案
您好,请知:
1、通过console口进入设备使用dis int brief和dis ip int brief查看端口是否还有IP,如果没有,还需要重新配置接口IP,举例如下:
int gi 0/1
ip address 192.168.1.1 24
quit
2、配置完IP后,电脑接在路由器配置了IP的接口,并设置电脑的IP跟路由器的在同一个网段下。
3、路由器开启WEB功能,命令如下:
ip http enable
ip https enable
4、创建用户,赋予WEB的权限,举例配置如下:
local-user admin
password simple admin
service-type http https
quit
(0)
我查看了配置文件,web功能关闭了,现在我有配置文件,但是根据配置文件网络不通,pingeth0口ip也ping不通
您好,上述配置过程是举例,使用dis int brief看一下哪个接口有IP,先把PC能路由器PING通
看配置这个接口是外网口
就是外网口啊,interface Ethernet0/0 port link-mode route nat outbound static nat outbound ip address 222.223.7.222 255.255.255.252 ipsec no-nat-process enable ipsec policy 983040 # interface Virtual-Ethernet4 # interface NULL0 # interface Vlan-interface1 ip address 172.22.2.254 255.255.255.0 firewall packet-filter 2006 outbound # interface Vlan-interface2 ip address 172.16.1.254 255.255.255.0 firewall packet-filter 2007 outbound # interface Vlan-interface3 ip address 172.18.1.254 255.255.255.0 firewall packet-filter 2008 outbound # interface Vlan-interface4 ip address 172.99.0.254 255.255.255.0 dhcp server apply ip-pool vlan4 firewall packet-filter 2005 outbound # interface Ethernet0/1 port link-mode bridge # interface Ethernet0/2 port link-mode bridge port access vlan 2 # interface Ethernet0/3 port link-mode bridge port access vlan 3 # interface Ethernet0/4 port link-mode bridge port access vlan 4 # ip route-static 0.0.0.0 0.0.0.0 Ethernet0/0 222.223.7.221 # dhcp enable # nat static net-to-net 172.16.1.1 172.16.1.254 global 128.39.1.0 255.255.255.0 nat static net-to-net 172.22.2.1 172.22.2.254 global 128.39.2.0 255.255.255.0 nat static net-to-net 172.18.1.1 172.18.1.254 global 128.39.0.0 255.255.255.0 # dialer-rule 4 ip permit # nms primary monitor-interface Ethernet0/0帮我分析一下这个呗,我现在外网接eth0,然后pc接eth4,不能上网,现在ping哪个eth口的ip都ping不通
现在WEB能登录上去了吗?
不能,我看配置文件里只有一个 console enable,没有ip http web enable这个命令,我之前是用web下载的这个配置,现在后网也上不去,ip也ping不通了,难道是配置下载的时候有丢失?
意思是原本就可以web登录的哦? 开启web的命令是ip http enable,不是ip http web enable这个命令哦
我是用web登录,把备用的交换机里下载了原来的配置,现在已经不能用web登录了,我也没有console线,改肯定改不了了,现在就是想看看为什么ip都ping不通,按照这个配置的话外网接eth0,pc接eth4应该能上网是吧?但是也上不了网
这份配置之后是否有做大的变动?
没有改动,之前是别人配置的,直接发给我的
用telnet连接交换机吗,我现在找到一个console线,不知道怎么连
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
您好,上述配置过程是举例,使用dis int brief看一下哪个接口有IP,先把PC能路由器PING通