华为路由器4E1口开局调试案例分析

网络 路由交换
本文主要给大家讲述了一个案例,通过此案例分析了路由器4E1开局调试的方法,同时给大家详细的讲述了操作流程,并且配有具体实现命令。

本文主要给大家介绍了华为路由器4E1口开局调试的案例,说明了该调试技术问题,在此文后面给大家详细的说明了操作流程,相信通过此文会对你有所帮助,并且更加了解华为路由器4E1口调试。

说明:由于没有ip资源,只好用2M线传输数据,所用的设备是M262路由器,上联设备是华为的NE16,M262上各有一个4E1模块,华为路由器上有一个8E1模块,中间通过传输连接。组网图如下:

注意:如果是两台路由器直接通过e1连接,也就是背靠背连接,需要一方工作在DTE模式,一方工作在DCE模式,如果是经过传输,不需要设置双方的工作模式,默认都是工作在DTE模式。

调试中遇到的问题:路由器的Serial口的物理链路是up了,但是协议没有up。

登陆到华为的路由器上,发现上面的所有的口的协议都up了,很奇怪,查看配置没有问题,把我们的一个2m拔掉,华为相应的口也down了,说明我们两方设备互连起来了。后来传输把2m线重新检查后,我们这边的口的协议层也up了。

Virtual-Template的物理链路和协议提示起来了,但是当你通过命令显示是down的。
router# show interface virtual-template 0
Interface virtual-template0 is down, Line protocol is down
Internet address is 61.233.145.54/30 Point-To-Point 0.0.0.0
mtu 1500 <POINTOPOINT,NOARP,MULTICAST>
Encapsulation PPP显示的时候是down的。 

NE16的需模板口显示如下:
SD_TA-NE16A#shinterVirtual-Template2
Virtual-Template2isuplineprotocolisup(spoofing)
Description:HUAWEI,QuidwaySeries,Virtual-Template2Interface
MTUis1500(bytes)
InternetAddressis61.233.145.53/30
EncapsulationisPPP
LCPinitial
Queueingstrategy:FIFO
Outputqueue:(size/max/drops)0/75/0
Slot2Virtual-Template2:0
Queueingstrategy:FIFO
Outputqueue:(size/max/drops)50/75/75183

华为路由器4E1口之NE16的配置
hostnameSD_TA-NE16A
enablepasswordlevel157NUaPUFS<;Y)(`_\_0/*Z(Q!!
usertacrcservice-typeexecpassword7$TYJ2T!W-5_:C:"-501K]!!!
usertaian_crcservice-typeexecpassword7$TYJ2T!W-5_:C:"-501K]!!!
userxintaiservice-typeppppassword0xintai
usertaiancrcservice-typeppppassword0taiancrc
userxinwenservice-typeppppassword0xinwen
routerid61.233.144.2
access-list1permit10.0.0.00.255.255.255
access-list1permit168.10.0.00.0.255.255
access-list1denyany
access-list2deny10.0.0.00.255.255.255
access-list2deny168.10.0.00.0.255.255
access-list2permitany
access-list101denyicmpanyany
access-list101denytcpanyanyeq69
access-list101denytcpanyanyeq135
access-list101denytcpanyanyeq139
access-list101denytcpanyanyeq445
access-list101denyudpanyanyeqtftp
access-list101permitipanyany
access-list101denytcpanyanyeq4444
firewallenableslot0
firewallenableslot1
firewallenableslot2
firewallenableslot7
enablevlanmodeL3
multilink-userxintaibindVirtual-Template1
multilink-usertaiancrcbindVirtual-Template3
multilink-userxinwenbindVirtual-Template2
controllerE12/1/0
usinge1
controllerE12/1/1
usinge1
controllerE12/1/2
usinge1
controllerE12/1/3
usinge1
controllerE12/1/4
usinge1
controllerE12/1/5
usinge1
controllerE12/1/6
usinge1
controllerE12/1/7
usinge1
interfaceEthernet0/2/0
speed100
duplexfull
descriptionto-ZhongXinJu-MA5100,100MFE
ipaccess-group101in
ipaccess-group101out
interfaceEthernet0/2/0.10
ipaddress10.0.2.254255.255.254.0
ipaccess-group101in
ipaccess-group101out
encapdot1q10
interfaceEthernet0/2/0.20
ipaddress61.233.145.5255.255.255.252
ipaccess-group101in
ipaccess-group101out
encapdot1q20
interfaceEthernet1/0/0
descriptionTo-LeYuan-MA5100,100MFE
interfaceEthernet1/0/0.10
ipaddress61.233.145.1255.255.255.252
ipaccess-group101in
ipaccess-group101out
encapdot1q10
interfaceEthernet1/0/0.30
ipaddress10.0.0.254255.255.254.0
ipaccess-group101in
ipaccess-group101out
encapdot1q30
interfaceEthernet1/1/0
descriptionTo-ShiSiJu-MA5100,100MFE
interfaceEthernet1/1/0.10
ipaddress61.233.145.9255.255.255.252
encapdot1q10
interfaceEthernet1/1/0.20
ipaddress10.0.4.254255.255.254.0
ipaccess-group101in
ipaccess-group101out
encapdot1q20
interfaceEthernet1/2/0
descriptionto3025m
ipaddress10.10.0.1255.255.0.0
interfaceEthernet1/2/0.2
ipaddress10.11.0.1255.255.0.0
ipaccess-group101in
ipaccess-group101out
encapdot1q2
interfaceEthernet1/2/0.3
ipaddress168.10.24.1255.255.252.0
interfaceEthernet1/2/0.4
ipaddress168.10.32.1255.255.255.0
interfaceEthernet1/2/0.5
ipaddress61.232.43.49255.255.255.252
encapdot1q5
interfaceEthernet1/2/0.6
ipaddress168.10.0.1255.255.240.0
encapdot1q6
interfaceEthernet1/2/0.7
encapdot1q7
interfaceEthernet1/2/0.8
encapdot1q8
interfaceEthernet1/2/0.9
ipaccess-group101in
ipaccess-group101out
encapdot1q9
interfaceEthernet2/0/0
descriptiontozhongxinyiyanline
interfaceEthernet2/2/0
duplexfull
descriptiontors3000
ipaddress61.233.145.33255.255.255.240
ipaddress61.233.145.17255.255.255.240secondary
ipaccess-group101in
ipaccess-group101out
interfaceSerial2/1/0:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernametaian-crcpassword0taian-crc
pppmultilink
interfaceSerial2/1/1:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernametaian-crcpassword0taian-crc
pppmultilink
interfaceSerial2/1/2:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernametaian-crcpassword0taian-crc
pppmultilink
interfaceSerial2/1/3:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernametaian-crcpassword0taian-crc
pppmultilink
interfaceSerial2/1/4:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernamexinwenpassword0xinwen
pppmultilink
interfaceSerial2/1/5:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernamexinwenpassword0xinwen
pppmultilink
interfaceSerial2/1/6:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernamexinwenpassword0xinwen
pppmultilink
interfaceSerial2/1/7:0
encapsulationppp
pppauthenticationpap
ppppapsent-usernamexinwenpassword0xinwen
pppmultilink
interfaceVirtual-Template0
pppmultilink
descriptionloopback
ipaddress61.233.144.2255.255.255.252
ipospfnetworkpoint-to-multipoint
interfaceVirtual-Template1
ipaddress10.255.254.1255.255.255.252
interfaceVirtual-Template2
ipaddress61.233.145.53255.255.255.252
interfaceVirtual-Template3
multilinkmax-bind8
ipaddress61.233.145.49255.255.255.252
interfacePos0/0/0
encapsulationppp
ipaddress61.233.144.22255.255.255.252
ipaccess-group101in
ipaccess-group101out
natinsidelist1
ipospfcost65
interfaceNULL0
routerospf
network61.233.144.20.0.0.0area0.0.0.0
network61.233.144.220.0.0.0area0.0.0.0
redistributestatic
redistributeconnectedroute-mapdeny
route-mapdenypermit10
matchipaddress2#p#

华为路由器4E1口之M262-1的配置
access-list1permit192.168.0.0/16
access-list110permiticmpany192.168.0.89/32
access-list110permiticmp192.168.0.89/32any
access-list110denyicmpanyany
access-list110denytcpanyanyeq4444
access-list110denyudpanyanyeq69
access-list110denytcpanyanyeq135
access-list110denyudpanyanyeq135
access-list110denytcpanyanyeq139
access-list110denyudpanyanyeq139
access-list110denytcpanyanyeq445
access-list110denyudpanyanyeq445
access-list110denytcpanyanyeq593
access-list110denyudpanyanyeq593
access-list110denyudpanyanyeq1434
access-list110permitipanyany
ipinspecton
ipinspectnet1
ipinspectper-host-flows1000
aaa-enable
aaaauthenticationpppdefaultlocal
usernametaian-crcprivilege1passwordtaian-crc
multilinkvirtual-template0
controllere11/0
usinge1
controllere11/1
usinge1
controllere11/2
usinge1
controllere11/3
usinge1
interfaceeth0/0
ipaddress192.168.0.1/16
ipnatinside
interfaceserial1/0:0
pppauthenticationpapdefault
ppppapsent-usernametaiancrcpasswordtaiancrc
pppmultilink
interfaceserial1/1:0
pppauthenticationpapdefault
ppppapsent-usernametaiancrcpasswordtaiancrc
pppmultilink
interfaceserial1/2:0
pppauthenticationpapdefault
ppppapsent-usernametaiancrcpasswordtaiancrc
pppmultilink
interfaceserial1/3:0
pppauthenticationpapdefault
ppppapsent-usernametaiancrcpasswordtaiancrc
pppmultilink
interfacevirtual-template0
ipaddress61.233.145.50/30
ipnatoutside
pppmultilink
ipnatpoolzhuanhuan
address61.233.145.5061.233.145.50
iproute0.0.0.0/061.233.145.49
ipnaton
ipnatinsidesourcelist1poolzhuanhuan

华为路由器4E1口之M262-2的配置
access-list1permit192.168.0.0/16
access-list110denyicmpanyany
access-list110denytcpanyanyeq4444
access-list110denyudpanyanyeq69
access-list110denytcpanyanyeq135
access-list110denyudpanyanyeq135
access-list110denytcpanyanyeq139
access-list110denyudpanyanyeq139
access-list110denytcpanyanyeq445
access-list110denyudpanyanyeq445
access-list110denytcpanyanyeq593
access-list110denyudpanyanyeq593
access-list110denyudpanyanyeq1434
access-list110permitipanyany
ipinspecton
ipinspectnet1
ipinspectper-host-flows1000
aaa-enable
aaaauthenticationpppdefaultlocal
usernamexinwenprivilege1passwordxinwen
multilinkvirtual-template0
controllere11/0
usinge1
controllere11/1
usinge1
controllere11/2
usinge1
controllere11/3
usinge1
interfaceeth0/0
ipaddress192.168.0.1/16
ipnatinside
interfaceserial1/0:0
pppauthenticationpapdefault
ppppapsent-usernamexinwenpasswordxinwen
pppmultilink
interfaceserial1/1:0
pppauthenticationpapdefault
ppppapsent-usernamexinwenpasswordxinwen
pppmultilink
interfaceserial1/2:0
pppauthenticationpapdefault
ppppapsent-usernamexinwenpasswordxinwen
pppmultilink
interfaceserial1/3:0
pppauthenticationpapdefault
ppppapsent-usernamexinwenpasswordxinwen
pppmultilink
interfacevirtual-template0
ipaddress61.233.145.54/30
ipnatoutside
pppmultilink
ipnatpoolzhuanhuan
address61.233.145.5461.233.145.54
iproute0.0.0.0/061.233.145.53
ipnaton
ipnatinsidesourcelist1poolzhuanhuan

 

【编辑推荐】

  1. 华为路由器与CISCO路由器在配置上的差别
  2. 华为路由器简单配置详解
  3. 理解华为路由器配置命令中清除列表规则
  4. 应用视点:看华为路由器接入的实际应用
  5. 应用视点:华为路由器网守配合技巧
责任编辑:chenqingxiang 来源: IT实验室
相关推荐

2009-12-11 15:27:26

华为路由器配置

2010-08-12 09:24:14

华为路由器拨号互联

2010-08-09 14:09:32

路由器互联

2019-04-02 15:55:50

WANLAN路由器

2011-08-10 10:39:47

路由器路由器故障

2013-06-03 10:31:53

2009-02-20 16:46:14

路由器宽带线路WAN

2009-11-16 10:36:48

华为路由器

2010-08-09 13:55:59

路由器单臂路由

2013-03-06 10:12:18

2009-12-01 10:45:29

2009-12-16 09:38:36

局域网路由器

2013-09-27 15:56:00

2009-12-16 16:32:40

多WAN口宽带路由器

2010-08-18 11:04:57

双WAN口宽带路由器

2009-11-17 13:37:23

2010-07-30 14:30:36

2010-08-13 11:06:24

2011-08-11 14:36:49

2009-12-03 17:02:37

华为网络路由器
点赞
收藏

51CTO技术栈公众号