《华为技术认证HCNA网络技术实验指南参考配置.doc》由会员分享,可在线阅读,更多相关《华为技术认证HCNA网络技术实验指南参考配置.doc(69页珍藏版)》请在三一办公上搜索。
1、-最终配置参考第一章 eNSP及VRP根底操作1.2 熟悉VRP根本操作最终配置display current-configuration V200R003C00* sysname R1 header shell information Wele to Huawei certification lab header login information hello* clock timezone BJ add 08:00:00 clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23 00:0
2、0 2005 2005 *interface GigabitEthernet0/0/0 ip address 10.1.1.1 255.255.255.0 *Return1.3 熟悉常用的IP相关命令最终配置display current-configuration V200R003C00* sysname R1*interface GigabitEthernet0/0/0 ip address 10.0.1.254 255.255.255.0 *interface GigabitEthernet0/0/1 ip address 10.0.2.254 255.255.255.0 *return
3、1.4 配置通过Telnet登录系统最终配置display current-configuration *sysname R1*interface GigabitEthernet0/0/0*Returndisplay current-configuration *sysname R2*interface Ethernet0/0/0*returndisplay current-configuration *sysname R3*interface Ethernet0/0/0*return1.5 配置通过STelnet登录系统最终配置display current-configuration sy
4、sname R1* set cpu-usage threshold 80 restore 75* public-key-code begin 3047 0240 B910F7D8 EF50B04E CCF8692A 4F1B3FB3 202C3E66 B6D2C7EB FDBF0909 ED160F5E 76B5D916 CBB29432 F9044E04 8434B0AB E8FAB968 1672958B F732F788 0DA94F85 0203 010001 public-key-code end peer-public-key end*interface GigabitEthern
5、et0/0/0 ip address 10.1.1.1 255.255.255.0 * ssh client first-time enable display current-configuration sysname R2*aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher %$%$K8m.Nt84DZe*08bmE3Uw%$%$
6、 local-user admin service-type local-user huawei1 password cipher %$%$cRbBL,5D(!v-QiMgd$:R*E%$%$ local-user huawei1 privilege level 3 local-user huawei1 service-type ssh*interface GigabitEthernet0/0/0 ip address 10.1.1.254 255.255.255.0 *stelnet server enable *user-interface vty 0 4 auth protocol in
7、bound ssh1.6 配置通过FTP进展文件操作最终配置display current-configurationV200R003C00*sysname R1ftp server enable*aaalocal-user ftp password cipher %$%$%/*lTEcUeFU_=WB+iPI_n:M%$%$local-user ftp ftp-directory flash:local-user ftp service-type ftp*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*Return第
8、二章 静态路由2.1 静态路由及默认路由根本配置最终配置display current-configuration*sysname R1*interface Ethernet0/0/0*interface Serial0/0/0 link-protocol ppp*Returndisplay current-configuration*sysname R2*interface Serial0/0/0 link-protocol ppp*interface Serial0/0/1 link-protocol ppp*ip route-static 192.168.10.0 255.255.255
9、.0 Serial0/0/1*Returndisplay current-configuration*sysname R3*interface Ethernet0/0/0*interface Serial0/0/1 link-protocol ppp*ip route-static 0.0.0.0 0.0.0.0 Serial0/0/1*Return2.2 浮动静态路由及负载均衡最终配置display current-configuration*sysname R1*interface GigabitEthernet0/0/0*interface Serial1/0/0 link-protoc
10、ol ppp*interface Serial1/0/1 link-protocol ppp*Returndisplay current-configuration *sysname R2*interface Serial1/0/0 link-protocol ppp*interface Serial1/0/1 link-protocol ppp*Returndisplay current-configuration *sysname R3*interface GigabitEthernet0/0/0*interface Serial1/0/0 link-protocol ppp*interf
11、ace Serial1/0/1 link-protocol ppp*Return第三章 RIP3.1 RIP路由协议根本配置最终配置display current-configuration*sysname R1*interface Ethernet0/0/0*interface LoopBack0*rip 1 version 2*returndisplay current-configuration*sysname R2*interface Ethernet0/0/0*interface LoopBack0*rip 1 version 2*return3.2 配置RIPv2的认证最终配置di
12、splay current-configuration *sysname R1*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1link-protocolppprip authentication-mode md5 nonstandard $GOOD_=eh*)f8B3e&Z5%* 1*rip 1version 2*returndisplay current-configuration *sysname R2*interface GigabitEthernet0/0/0*interface GigabitEthernet
13、0/0/1link-protocolppprip authentication-mode md5 nonstandard &-nhYkNR4BC,%TLlYj-OAF* *rip 1version 2*returndisplay current-configuration *sysname R3*Interface loopback0*Interface loopback1*interface GigabitEthernet0/0/1link-protocolppprip authentication-mode md5 nonstandard $GOOD_=eh*)f8B3e&Z5%* 1*r
14、ip 1version 2*Return3.3 RIP路由协议的汇总最终配置display current-configuration *sysname R1*interface Serial0/0/0 link-protocol ppp*rip 1 version 2*returndisplay current-configuration *sysname R2*interface Serial0/0/0 link-protocol ppp*interface Serial0/0/1 link-protocol ppp*rip 1 version 2*returndisplay curren
15、t-configuration *sysname R3*interface Serial0/0/1 link-protocol ppp*interface LoopBack0*interface LoopBack1*interface LoopBack2*interface LoopBack3*rip 1 undo summary version 2*return3.4 配置RIP的版本兼容、定时器及协议优先级最终配置display current-configuration*sysname R1*interface GigabitEthernet0/0/0*interface Gigabit
16、Ethernet0/0/1*rip 1 version 2preference 90 timers rip 20 120 60*returndisplay current-configuration*sysname R2*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*rip 1 version 2*return3.5 配置RIP抑制接口及单播更新最终配置display current-configuration *sysname R1*interface GigabitEthernet0/0/1*rip 1 sile
17、nt-interface GigabitEthernet0/0/1*Returndisplay current-configuration*sysname R2*interface Ethernet1/0/1*interface Ethernet1/0/0*rip 1 silent-interface Ethernet1/0/0 silent-interface Ethernet1/0/1*Returndisplay current-configuration *sysname R3*interface Ethernet1/0/1 undo rip output*interface Ether
18、net1/0/0*rip 1*return3.6 RIP与不连续子网最终配置display current-configuration *interface Ethernet0/0/0*rip 1 undo summary version 2* display current-configuration*sysname R2*interface Ethernet0/0/0*interface Serial0/0/0 link-protocol ppp*rip 1 undo summary version 2*display current-configuration *sysname R3*i
19、nterface Serial0/0/0 link-protocol ppp*interface Serial0/0/1 link-protocol ppp*rip 1 undo summary version 2*display current-configuration *sysname R4interface Ethernet0/0/0interface Serial0/0/1 link-protocol ppp*rip 1 undo summary version 2display current-configuration *sysname R5*interface Ethernet
20、0/0/0*rip 1 undo summary version 2*3.7 RIP的水平分割及触发更新最终配置display current-configuration *sysname R1*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/2 undo rip split-horizon*rip 1 version 2*Returndisplay current-configuration *sysname R2*interface Ethernet1/0/0*interface GigabitEthernet0/0/
21、1 rip poison-reverse*rip 1 version 2*Returndisplay current-configuration*sysname R3*interface Ethernet1/0/0*interface GigabitEthernet0/0/1*rip 1 version 2*return3.8 配置RIP路由附加度量值最终配置display current-configuration*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1rip metricin 2*interface Gig
22、abitEthernet0/0/2*rip 1undo summaryversion 2*Returndisplay current-configurationsysname r2*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1rip metricout 3*rip 1undo summaryversion 2display current-configuration*sysname r3*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*rip
23、 1undo summaryversion 2*Returndisplay current-configuration*sysname r4*interface GigabitEthernet0/0/0 ip address 30.2.2.4 255.255.255.0 *interface GigabitEthernet0/0/1 ip address 30.1.1.4 255.255.255.0 *interface GigabitEthernet0/0/2 ip address 40.1.1.254 255.255.255.0 *rip 1 undo summary version 2*
24、return3.9 RIP的故障处理最终配置display current-configurationV200R003C00* sysname R1*interface GigabitEthernet0/0/0 ip address 192.168.1.2 255.255.255.0 *interface GigabitEthernet0/0/1 ip address 192.168.2.2 255.255.255.0 *rip 1 version 2*Returndisplay current-configuration V200R003C00* sysname R2*interface E
25、thernet1/0/0 ip address 172.16.1.254 255.255.255.0 *interface GigabitEthernet0/0/0 ip address 192.168.1.1 255.255.255.0 *rip 1 version 2*Returndisplay current-configuration V200R003C00* sysname R3 *interface Ethernet1/0/0 ip address 172.16.2.254 255.255.255.0 *interface GigabitEthernet0/0/1 ip addre
26、ss 192.168.2.1 255.255.255.0 *rip 1 version 2*return3.10 RIP的路由引入最终配置display current-configuration*sysname R1*interface Ethernet0/0/1 ip address 30.1.1.1 255.255.255.0 *interface Ethernet0/0/2 ip address 10.1.1.1 255.255.255.0 *interface Ethernet0/0/3 ip address 10.1.2.1 255.255.255.0 *rip 1 undo su
27、mmary version 2 import-route static*returndisplay current-configuration*sysname R2*interface Ethernet0/0/0 ip address 20.1.1.254 255.255.255.0 *interface Ethernet0/0/2 ip address 10.1.1.2 255.255.255.0 *rip 1 undo summary version 2 import-route direct*returndisplay current-configuration*sysname R3*i
28、nterface Ethernet0/0/0 ip address 20.1.2.254 255.255.255.0 *interface Ethernet0/0/3 ip address 10.1.2.2 255.255.255.0 *rip 1 undo summary version 2*returndisplay current-configuration*sysname R4*interface Ethernet0/0/1 ip address 30.1.1.2 255.255.255.0 *interface Ethernet0/0/2 ip address 40.1.1.254
29、255.255.255.0 *interface Ethernet0/0/3*Return第四章 OSPF4.1 OSPF单区域配置最终配置display current-configuration V200R003C00* sysname R1*interface GigabitEthernet0/0/0 ip address 172.16.10.1 255.255.255.0 *interface GigabitEthernet0/0/1 ip address 172.16.20.1 255.255.255.0 *interface GigabitEthernet0/0/2 ip addr
30、ess 172.16.1.254 255.255.255.0 *interface NULL0*ospf 1 area 0.0.0.0 network 172.16.1.0 0.0.0.255 network 172.16.10.0 0.0.0.255 network 172.16.20.0 0.0.0.255 *Returndisplay current-configuration V200R003C00* sysname R2*interface GigabitEthernet0/0/0 ip address 172.16.10.2 255.255.255.0 *interface Gig
31、abitEthernet0/0/1 ip address 172.16.30.2 255.255.255.0 *interface GigabitEthernet0/0/2 ip address 172.16.2.254 255.255.255.0 *interface NULL0*ospf 1 area 0.0.0.0 network 172.16.2.0 0.0.0.255 network 172.16.10.0 0.0.0.255 network 172.16.30.0 0.0.0.255 *Returndisplay current-configuration V200R003C00*
32、 sysname R3*interface GigabitEthernet0/0/0 ip address 172.16.30.3 255.255.255.0 *interface GigabitEthernet0/0/1 ip address 172.16.20.3 255.255.255.0 *interface GigabitEthernet0/0/2 ip address 172.16.3.254 255.255.255.0 *interface NULL0*ospf 1 area 0.0.0.0 network 172.16.3.0 0.0.0.255 network 172.16.
33、20.0 0.0.0.255 network 172.16.30.0 0.0.0.255 *return4.2 OSPF多区域配置最终配置display current-configuration*sysname R1*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*interface GigabitEthernet0/0/2*ospf 1display current-configuration*sysname R2*interface GigabitEthernet0/0/0*interface GigabitEt
34、hernet0/0/1*interface GigabitEthernet0/0/2*ospf 1display current-configuration*sysname R3*interface Ethernet4/0/0*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*interface GigabitEthernet0/0/2*ospf 1display current-configuration*sysname R4*interface Ethernet4/0/0*interface GigabitEther
35、net0/0/0*interface GigabitEthernet0/0/1*interface GigabitEthernet0/0/2*ospf 1display current-configuration*sysname R5*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*interface GigabitEthernet0/0/2*ospf 1display current-configuration*sysname R6*interface GigabitEthernet0/0/0*interface G
36、igabitEthernet0/0/1*interface GigabitEthernet0/0/2*ospf 14.3 配置OSPF的认证最终配置display current-configurationV200R003C00*sysname R1*interface GigabitEthernet0/0/0*interface LoopBack0*ospf 1authentication-mode simple cipher %$%$uLH,C/Zu9FWr42P;4G*%$%$*returndisplay current-configurationV200R003C00*sysname
37、R2*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1ospf authentication-mode md5 1 cipher %$%$O(rq6i:Z*jOVu7f!;sq%$%$*interface GigabitEthernet0/0/2*interface LoopBack0*ospf 1authentication-mode md5 1 cipher %$%$os*(Y92&u*E;1e_WE;ca69SDF!*8M;8GBGN;8,9%$%$*returndisplay current-configurat
38、ionV200R003C00*sysname R3*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*interface GigabitEthernet0/0/2*interface LoopBack0*ospf 1authentication-mode md5 1 cipher %$%$bg8Gle*Ank|3RnaO;E*h%$%$*Returndisplay current-configurationV200R003C00*sysname R4*interface GigabitEthernet0/0/0ospf
39、authentication-mode md5 1 cipher %$%$82;lU:U:auL-%n4P;&*%$%$*interface LoopBack0*ospf 1authentication-mode simple cipher %$%$iC.E|*N.N;YLjT),;792%$%$*Returndisplay current-configurationV200R003C00*sysname R5*interface GigabitEthernet0/0/0*interface LoopBack0*ospf 1authentication-mode md5 1 cipher %$
40、%$sc&9m)_VHz7EMphV;Fc(%$%$*Returndisplay current-configurationV200R003C00*sysname R6*interface GigabitEthernet0/0/0*interface LoopBack0*ospf 1authentication-mode md5 1 cipher %$%$cMpIQsdGLE(/e,rBSH%;FO%$%$*Return4.4 OSPF被动接口配置最终配置display current-configurationsysname R1*interface GigabitEthernet0/0/0
41、*interface GigabitEthernet0/0/1*ospf 1silent-interface GigabitEthernet0/0/0display current-configuration*sysname R2*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*ospf 1silent-interface GigabitEthernet0/0/1display current-configuration*sysname R3*interface GigabitEthernet0/0/0*interfa
42、ce GigabitEthernet0/0/1*interface GigabitEthernet0/0/2*ospf 1display current-configuration*sysname R4*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*ospf 1silent-interface allundo silent-interface GigabitEthernet0/0/0display current-configuration*sysname R5*interface GigabitEthernet0/0/0*interface GigabitEthernet0/0/1*ospf 1silent-interface Gi