《《华为技术认证HCNA网络技术实验指南》参考配置(共141页).docx》由会员分享,可在线阅读,更多相关《《华为技术认证HCNA网络技术实验指南》参考配置(共141页).docx(141页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、精选优质文档-倾情为你奉上最终配置参考第一章 eNSP及VRP基础操作1.2 熟悉VRP基本操作最终配置display current-configuration V200R003C00# sysname R1 header shell information Welcome 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 1
2、2:32 11-23 00:00 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.25
3、5.255.0 #return1.4 配置通过Telnet登录系统最终配置display current-configuration #sysname R1#interface GigabitEthernet0/0/0 ip address 10.1.1.254 255.255.255.0#Returndisplay current-configuration #sysname R2#interface Ethernet0/0/0 ip address 10.1.1.1 255.255.255.0#returndisplay current-configuration #sysname R3#
4、interface Ethernet0/0/0 ip address 10.1.1.2 255.255.255.0#return1.5 配置通过STelnet登录系统最终配置display current-configuration sysname R1# set cpu-usage threshold 80 restore 75# rsa peer-public-key 10.1.1.254 public-key-code begin 3047 0240 B910F7D8 EF50B04E CCF8692A 4F1B3FB3 202C3E66 B6D2C7EB FDBF0909 ED160F
5、5E 76B5D916 CBB29432 F9044E04 8434B0AB E8FAB968 B F732F788 0DA94F85 0203 public-key-code end peer-public-key end#interface GigabitEthernet0/0/0 ip address 10.1.1.1 255.255.255.0 # ssh client 10.1.1.254 assign rsa-key 10.1.1.254 ssh client first-time enable display current-configuration sysname R2#aa
6、a authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher %$%$K8m.Nt84DZe#08bmE3Uw%$%$ local-user admin service-type http local-user huawei1 password cipher %$%$cRbBL,5D(!v-QiMgd$:RxE%$%$ local-user hua
7、wei1 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 inbound ssh1.6 配置通过FTP进行文件操作最终配置display current-configurationV200R003C00#sysname R1ftp server enable#aaalocal-use
8、r ftp password cipher %$%$%/xlTEcUeFU_=WB+iPI_n:M%$%$local-user ftp ftp-directory flash:local-user ftp service-type ftp#interface GigabitEthernet0/0/0ip address 10.0.1.254 255.255.255.0#interface GigabitEthernet0/0/1ip address 10.0.2.254 255.255.255.0#Return第二章 静态路由2.1 静态路由及默认路由基本配置最终配置display curre
9、nt-configuration#sysname R1#interface Ethernet0/0/0 ip address 192.168.10.1 255.255.255.0#interface Serial0/0/0 link-protocol ppp ip address 10.0.12.1 255.255.255.0#ip route-static 0.0.0.0 0.0.0.0 10.0.12.2#Returndisplay current-configuration#sysname R2#interface Serial0/0/0 link-protocol ppp ip add
10、ress 10.0.23.2 255.255.255.0#interface Serial0/0/1 link-protocol ppp ip address 10.0.12.2 255.255.255.0#ip route-static 192.168.10.0 255.255.255.0 Serial0/0/1ip route-static 192.168.20.0 255.255.255.0 10.0.23.3#Returndisplay current-configuration#sysname R3#interface Ethernet0/0/0 ip address 192.168
11、.20.3 255.255.255.0#interface Serial0/0/1 link-protocol ppp ip address 10.0.23.3 255.255.255.0#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 ip address 192.168.10.1 255.255.255.0#interface Serial1/0/0 link
12、-protocol ppp ip address 10.1.12.1 255.255.255.0#interface Serial1/0/1 link-protocol ppp ip address 10.1.13.1 255.255.255.0#ip route-static 192.168.20.0 255.255.255.0 10.1.13.3ip route-static 192.168.20.0 255.255.255.0 10.1.12.2#Returndisplay current-configuration #sysname R2#interface Serial1/0/0 l
13、ink-protocol ppp ip address 10.1.12.2 255.255.255.0#interface Serial1/0/1 link-protocol ppp ip address 10.1.23.2 255.255.255.0#ip route-static 192.168.10.0 255.255.255.0 10.1.12.1ip route-static 192.168.20.0 255.255.255.0 10.1.23.3#Returndisplay current-configuration #sysname R3#interface GigabitEth
14、ernet0/0/0 ip address 192.168.20.1 255.255.255.0#interface Serial1/0/0 link-protocol ppp ip address 10.1.23.3 255.255.255.0#interface Serial1/0/1 link-protocol ppp ip address 10.1.13.3 255.255.255.0#ip route-static 192.168.10.0 255.255.255.0 10.1.13.1ip route-static 192.168.10.0 255.255.255.0 10.1.2
15、3.2#Return第三章 RIP3.1 RIP路由协议基本配置最终配置display current-configuration#sysname R1#interface Ethernet0/0/0 ip address 10.0.12.1 255.255.255.0#interface LoopBack0 ip address 10.0.1.1 255.255.255.0#rip 1 version 2 network 10.0.0.0#returndisplay current-configuration#sysname R2#interface Ethernet0/0/0 ip add
16、ress 10.0.12.2 255.255.255.0#interface LoopBack0 ip address 10.0.2.2 255.255.255.0#rip 1 version 2 network 10.0.0.0#return3.2 配置RIPv2的认证最终配置display current-configuration #sysname R1#interface GigabitEthernet0/0/0ip address 192.168.10.1 255.255.255.0#interface GigabitEthernet0/0/1link-protocolpppip a
17、ddress 10.0.12.1 255.255.255.0rip authentication-mode md5 nonstandard $GOOD_=eh*)f8B3e&Z5%# 1#rip 1version 2network 192.168.10.0network 10.0.0.0#returndisplay current-configuration #sysname R2#interface GigabitEthernet0/0/0ip address 192.168.20.1 255.255.255.0#interface GigabitEthernet0/0/1link-prot
18、ocolpppip address 10.0.12.2 255.255.255.0rip authentication-mode md5 nonstandard &-nhYkNR4BC,%TLlYj-OAF# #rip 1version 2network 192.168.20.0network 10.0.0.0#returndisplay current-configuration #sysname R3#Interface loopback0ip address 192.168.10.10 255.255.255.0#Interface loopback1ip address 192.168
19、.20.20 255.255.255.0#interface GigabitEthernet0/0/1link-protocolpppip address 10.0.12.1 255.255.255.0rip authentication-mode md5 nonstandard $GOOD_=eh*)f8B3e&Z5%# 1#rip 1version 2network 192.168.10.0network 192.168.20.0network 10.0.0.0#Return3.3 RIP路由协议的汇总最终配置display current-configuration #sysname R
20、1#interface Serial0/0/0 link-protocol ppp ip address 192.168.12.1 255.255.255.0#rip 1 version 2 network 192.168.12.0#returndisplay current-configuration #sysname R2#interface Serial0/0/0 link-protocol ppp ip address 192.168.23.2 255.255.255.0#interface Serial0/0/1 link-protocol ppp ip address 192.16
21、8.12.2 255.255.255.0#rip 1 version 2 network 192.168.12.0 network 192.168.23.0#returndisplay current-configuration #sysname R3#interface Serial0/0/1 link-protocol ppp ip address 192.168.23.3 255.255.255.0 rip summary-address 3.3.0.0 255.255.252.0#interface LoopBack0 ip address 3.3.0.3 255.255.255.0#
22、interface LoopBack1 ip address 3.3.1.3 255.255.255.0#interface LoopBack2 ip address 3.3.2.3 255.255.255.0#interface LoopBack3 ip address 3.3.3.3 255.255.255.0#rip 1 undo summary version 2 network 192.168.23.0 network 3.0.0.0#return3.4 配置RIP的版本兼容、定时器及协议优先级最终配置display current-configuration#sysname R1#
23、interface GigabitEthernet0/0/0 ip address 10.0.12.1 255.255.255.0#interface GigabitEthernet0/0/1 ip address 192.168.10.1 255.255.255.0#rip 1 version 2 network 10.0.0.0 network 192.168.10.0preference 90 timers rip 20 120 60#returndisplay current-configuration#sysname R2#interface GigabitEthernet0/0/0
24、 ip address 10.0.12.2 255.255.255.0#interface GigabitEthernet0/0/1 ip address 192.168.20.1 255.255.255.0#rip 1 version 2 network 10.0.0.0 network 192.168.20.0#return3.5 配置RIP抑制接口及单播更新最终配置display current-configuration #sysname R1#interface GigabitEthernet0/0/1 ip address 172.16.1.254 255.255.255.0#ri
25、p 1 peer 172.16.1.100 peer 172.16.1.200 network 172.16.0.0 silent-interface GigabitEthernet0/0/1#Returndisplay current-configuration #sysname R2#interface Ethernet1/0/1 ip address 172.16.1.100 255.255.255.0#interface Ethernet1/0/0 ip address 172.16.2.254 255.255.255.0#rip 1 peer 172.16.1.254 peer 17
26、2.16.1.200 network 172.16.0.0 silent-interface Ethernet1/0/0 silent-interface Ethernet1/0/1#Returndisplay current-configuration #sysname R3#interface Ethernet1/0/1 ip address 172.16.1.200 255.255.255.0 undo rip output#interface Ethernet1/0/0 ip address 192.168.1.254 255.255.255.0#rip 1 peer 172.16.1
27、.254 network 172.16.0.0 network 192.168.1.0#return3.6 RIP与不连续子网最终配置display current-configuration #interface Ethernet0/0/0 ip address 10.0.12.1 255.255.255.0#rip 1 undo summary version 2 network 10.0.0.0# display current-configuration#sysname R2#interface Ethernet0/0/0 ip address 10.0.12.2 255.255.25
28、5.0#interface Serial0/0/0 link-protocol ppp ip address 192.168.23.2 255.255.255.0#rip 1 undo summary version 2 network 10.0.0.0 network 192.168.23.0#display current-configuration #sysname R3#interface Serial0/0/0 link-protocol ppp ip address 192.168.23.3 255.255.255.0#interface Serial0/0/1 link-prot
29、ocol ppp ip address 192.168.34.3 255.255.255.0#rip 1 undo summary version 2 network 192.168.23.0 network 192.168.34.0#display current-configuration #sysname R4interface Ethernet0/0/0 ip address 10.0.45.4 255.255.255.0interface Serial0/0/1 link-protocol ppp ip address 192.168.34.4 255.255.255.0#rip 1
30、 undo summary version 2 network 192.168.34.0 network 10.0.0.0display current-configuration #sysname R5#interface Ethernet0/0/0 ip address 10.0.45.5 255.255.255.0#rip 1 undo summary version 2 network 10.0.0.0#3.7 RIP的水平分割及触发更新最终配置display current-configuration #sysname R1#interface GigabitEthernet0/0/
31、0 ip address 172.16.1.1 255.255.255.0#interface GigabitEthernet0/0/2 ip address 172.16.2.1 255.255.255.0 undo rip split-horizon#rip 1 version 2 network 172.16.0.0#Returndisplay current-configuration #sysname R2#interface Ethernet1/0/0 ip address 192.168.2.254 255.255.255.0#interface GigabitEthernet0
32、/0/1 ip address 172.16.2.2 255.255.255.0 rip poison-reverse#rip 1 version 2 network 192.168.2.0 network 172.16.0.0#Returndisplay current-configuration#sysname R3#interface Ethernet1/0/0 ip address 192.168.1.254 255.255.255.0#interface GigabitEthernet0/0/1 ip address 172.16.1.2 255.255.255.0#rip 1 ve
33、rsion 2 network 172.16.0.0 network 192.168.1.0#return3.8 配置RIP路由附加度量值最终配置display current-configuration#interface GigabitEthernet0/0/0ip address 20.1.1.1 255.255.255.0#interface GigabitEthernet0/0/1ip address 20.2.2.1 255.255.255.0rip metricin 2#interface GigabitEthernet0/0/2ip address 10.1.1.254 255
34、.255.255.0#rip 1undo summaryversion 2network 10.0.0.0network 20.0.0.0#Returndisplay current-configurationsysname r2#interface GigabitEthernet0/0/0ip address 20.1.1.2 255.255.255.0#interface GigabitEthernet0/0/1ip address 30.1.1.2 255.255.255.0rip metricout 3#rip 1undo summaryversion 2network 20.0.0.
35、0network 30.0.0.0display current-configuration#sysname r3#interface GigabitEthernet0/0/0ip address 30.2.2.3 255.255.255.0#interface GigabitEthernet0/0/1ip address 20.2.2.3 255.255.255.0#rip 1undo summaryversion 2network 20.0.0.0network 30.0.0.0#Returndisplay current-configuration#sysname r4#interfac
36、e 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 network 30.0.0.0 network 40.0.0.0#return3.9 RIP的故障处理最终配置display current-configu
37、rationV200R003C00# 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 network 192.168.1.0 network 192.168.2.0#Returndisplay current-configuration V200R003C00# sysname R2#interface Ethern
38、et1/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 network 172.16.0.0 network 192.168.1.0#Returndisplay current-configuration V200R003C00# sysname R3 #interface Ethernet1/0/0 ip address 172.16.2.254 255.255.255.0 #inter
39、face GigabitEthernet0/0/1 ip address 192.168.2.1 255.255.255.0 #rip 1 version 2 network 172.16.0.0 network 192.168.2.0#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
40、#interface Ethernet0/0/3 ip address 10.1.2.1 255.255.255.0 #rip 1 undo summary version 2 network 30.0.0.0 network 10.0.0.0 import-route static#ip route-static 40.1.1.0 255.255.255.0 30.1.1.2#returndisplay current-configuration#sysname R2#interface Ethernet0/0/0 ip address 20.1.1.254 255.255.255.0 #i
41、nterface Ethernet0/0/2 ip address 10.1.1.2 255.255.255.0 #rip 1 undo summary version 2 network 10.0.0.0 import-route direct#returndisplay current-configuration#sysname R3#interface 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 und
42、o summary version 2 network 10.0.0.0 network 20.0.0.0#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 255.255.255.0 #interface Ethernet0/0/3#ip route-static 0.0.0.0 0.0.0.0 30.1.1.1#Return第四章 OSPF
43、4.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 address 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 #Returndi