版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
最终配置参考
第一章eNSP及VRP基础操作
1.2熟悉VRP基本操作
最终配置
<Rl>displaycurrent-configuration
[V200R003C00]
#
sysnameRI
headershellinformation"WelcometoHuaweicertificationlab"
headerlogininformation"hello"
#
clocktimezoneBJadd08:00:00
clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-23
00:0020052005
#
interfaceGigabitEthernet0/0/0
ipaddress
#
Return
1.3熟悉常用的IP相关命令
最终配置
<Rl>displaycurrent-configuration
[V200R003C00]
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/l
ipaddress54
#
return
1.4配置通过Telnet登录系统
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernetO/O/O
ipaddress54
#
Return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceEthernet0/0/0
ipaddress
#
return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceEthernet0/0/0
ipaddress
#
return
1.5配置通过STelnet登录系统
最终配置
<Rl>displaycurrent-configuration
sysnameRI
#
setcpu-usagethreshold80restore75
#
rsapeer-public-key54
public-key-codebegin
3047
0240
B910F7D8EF50B04ECCF8692A4F1B3FB3202C3E66B6D2C7EBFDBF0909ED160F5E
76B5D916CBB29432F9044E048434B0ABE8FAB9681672958BF732F7880DA94F85
0203
010001
public-key-codeend
peer-public-keyend
#
interfaceGigabitEthernet0/0/0
ipaddress
#
sshclient54assignrsa-key54
sshclientfirst-timeenable
<R2>displaycurrent-configuration
sysnameR2
#
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<0'8bmE3Uw}%$%$
local-useradminservice-typehttp
local-userhuaweilpasswordcipher%$%$cRb-BLz]5D(!v-QiMgd$:RxE%$%$
local-userhuaweilprivilegelevel3
local-userhuaweilservice-typessh
#
interfaceGigabitEthernet0/0/0
ipaddress54
#
stelnetserverenable
#
user-interfacevty04
auth
protocolinboundssh
1.6配置通过FTP进行文件操作
最终配置
<Rl>displaycurrent-configuration
[V200R003C00]
#
sysnameRI
ftpserverenable
#
aaa
local-userftppasswordcipher%$%$%/xlTEcUeFU__=,,WB+iPI_n
local-userftpftp-directoryflash:
local-userftpservice-typeftp
#
interfaceGigabitEthernet0/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/l
ipaddress54
#
Return
第二章静态路由
2.1静态路由及默认路由基本配置
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceEthernet0/0/0
ipaddress
#
interfaceSerial0/0/0
link-protocolppp
ipaddress
#
iproute-static0.0.0.00.0.0.0
#
Return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceSerial0/0/0
link-protocolppp
ipaddress
#
interfaceSerial0/0/l
link-protocolppp
ipaddress
#
iproute-staticSerial0/0/l
iproute-static
#
Return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceEthernet0/0/0
ipaddress
#
interfaceSerial0/0/l
link-protocolppp
ipaddress
#
iproute-staticSerial0/0/l
#
Return
2.2浮动静态路由及负载均衡
最终配置
<Rl>displaycurrent-configuration
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceSeriall/0/0
link-protocolppp
ipaddress
#
interfaceSeriall/0/1
link-protocolppp
ipaddress
#
iproute-static
iproute-static
#
Return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceSeriall/0/0
link-protocolppp
ipaddress
#
interfaceSeriall/0/1
link-protocolppp
ipaddress
#
iproute-static
iproute-static
#
Return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceSeriall/0/0
link-protocolppp
ipaddress
interfaceSeriall/0/1
link-protocolppp
ipaddress
#
iproute-static
iproute-static
#
Return
第三章RIP
3.1RIP路由协议基本配置
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceEthernet0/0/0
ipaddress
#
interfaceLoopBackO
ipaddress
#
rip1
version2
network
#
return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceEthernet0/0/0
ipaddress
#
interfaceLoopBackO
ipaddress
rip1
version2
network
return
3.2配置RIPv2的认证
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
link-protocolppp
ipaddress
ripauthentication-modemd5nonstandard$GOOD_=eh*)f8\~B3e~&Z5%#1
#
rip1
version2
network
network
#
return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
link-protocolppp
ipaddress
ripauthentication-modemd5nonstandard&-nhYkNR4BC,%TLlYj-OAF@#
#
rip1
version2
network
network
return
<R3>displaycurrent-configuration
#
sysnameR3
#
Interfaceloopback0
ipaddress0
#
Interfaceloopbackl
ipaddress0
#
interfaceGigabitEthernet0/0/1
link-protocolppp
ipaddress
ripauthentication-modemd5nonstandard$GOOD_=eh*)f8\~B3e~&Z53#1
#
rip1
version2
network
network
network
#
Return
3.3RIP路由协议的汇息
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceSerial0/0/0
link-protocolppp
ipaddress
#
rip1
version2
network
#
return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceSerialO/O/O
link-protocolppp
ipaddress
#
interfaceSerialO/O/1
link-protocolppp
ipaddress
#
rip1
version2
network
network
#
return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceSerial0/0/l
link-protocolppp
ipaddress
ripsummary-address
#
interfaceLoopBackO
ipaddress
#
interfaceLoopBackl
ipaddress
#
interfaceLoopBack.2
ipaddress3.3.2.3
#
interfaceLoopBack3
ipaddress
#
rip1
undosummary
version2
network
network
return
3.4配置RIP的版本兼容、定时器及协议优先级
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
rip1
version2
network
network
preference90
timersrip2012060
#
return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
rip1
version2
network
network
#
return
3.5配置RIP抑制接口及单播更新
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernetO/O/1
ipaddress54
#
rip1
peer00
peer00
network
silent-interfaceGigabitEthernet0/0/I
#
Return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceEthernetl/0/1
ipaddress00
#
interfaceEthernetl/0/0
ipaddress54
#
rip1
peer54
peer00
network
silent-interfaceEthernetl/0/0
silent-interfaceEthernetl/0/1
#
Return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceEthernetl/0/1
ipaddress00
undoripoutput
interfaceEthernet1/0/0
ipaddress54
#
rip1
peer54
network
network
#
return
3.6RIP与不连续子网
最终配置
<Rl>displaycurrent-configuration
#
interfaceEthernet0/0/0
ipaddress
#
rip1
undosummary
version2
network
#
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceEthernet0/0/0
ipaddress
#
interfaceSerial0/0/0
link-protocolppp
ipaddress
#
rip1
undosummary
version2
network
network
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceSerialO/O/O
link-protocolppp
ipaddress
#
interfaceSerial0/0/l
link-protocolppp
ipaddress
#
rip1
undosummary
version2
network
network
#
<R4>displaycurrent-configuration
#
sysnameR4
interfaceEthernet0/0/0
ipaddress
interfaceSerial0/0/l
link-protocolppp
ipaddress
#
rip1
undosummary
version2
network
network
<R5>displaycurrent-configuration
#
sysnameR5
#
interfaceEthernet0/0/0
ipaddress
#
rip1
undosummary
version2
network
3.7RIP的水平分割及触发更新
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernetO/O/2
ipaddress
undoripsplit-horizon
#
rip1
version2
network
#
Return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceEthernet1/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/1
ipaddress
rippoison-reverse
#
rip1
version2
network
network
#
Return
<R3>displaycurrent-configuration
#
sysnameR3
interfaceEthernet1/0/0
ipaddress54
interfaceGigabitEthernet0/0/1
ipaddress
#
rip1
version2
network
network
#
return
3.8配置RIP路由附加度量值
最终配置
<rl>displaycurrent-configuration
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/I
ipaddress
ripmetricin2
#
interfaceGigabitEthernet0/0/2
ipaddress54
#
rip1
undosummary
version2
network
network
#
Return
<r2>displaycurrent-configuration
sysnamer2
#
interfaceGigabitEthernetO/0/0
ipaddress
interfaceGigabitEthernet0/0/1
ipaddress
ripmetricout3
rip1
undosummary
version2
network
network
<r3>displaycurrent-configuration
#
sysnamer3
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/I
ipaddress
#
rip1
undosummary
version2
network
network
#
Return
<r4>displaycurrent-configuration
#
sysnamer4
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress54
#
rip1
undosummary
version2
network
network
#
return
3.9RIP的故障处理
最终配置
<Rl>displaycurrent-configuration
[V200R003C00]
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/I
ipaddress
#
rip1
version2
network
network
#
Return
<R2>displaycurrent-configuration
[V200R003C00]
#
sysnameR2
#
interfaceEthernetl/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/0
ipaddress
#
rip1
version2
network
network
#
Return
<R3>displaycurrent-configuration
[V200R003C00]
#
sysnameR3
#
interfaceEthernetl/O/O
ipaddress54
#
interfaceGigabitEthernet0/0/1
ipaddress
#
rip1
version2
network
network
#
return
3.10RIP的路由引入
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceEthernet0/0/l
ipaddress
#
interfaceEthernet0/0/2
ipaddress
#
interfaceEthernet0/0/3
ipaddress
#
rip1
undosummary
version2
network
network
import-routestatic
#
iproute-static
return
<R2>displaycurrent-configuration
sysnameR2
#
interfaceEthernet0/0/0
ipaddress54
#
interfaceEthernet0/0/2
ipaddress
#
rip1
undosummary
version2
network
import-routedirect
#
return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceEthernet0/0/0
ipaddress54
#
interfaceEthernet0/0/3
ipaddress
#
rip1
undosummary
version2
network
network
#
return
<R4>displaycurrent-configuration
#
sysnameR4
#
interfaceEthernet0/0/l
ipaddress
interfaceEthernet0/0/2
ipaddress54
#
interfaceEthernet0/0/3
#
iproute-static
#
Return
第四章OSPF
4.1OSPF单区域配置
最终配置
<Rl>displaycurrent-configuration
(V200R003C00]
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/I
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress54
#
interfaceNULL0
#
ospf1
area0.0.0.0
network55
network55
network55
#
Return
<R2>displaycurrent-configuration
[V200R003C00]
#
sysnameR2
#
interfaceGigabitEthernet0/0/0
ipaddress
interfaceGigabitEthernetO/O/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress54
#
interfaceNULLO
#
ospf1
area0.0.0.0
network55
network55
network55
#
Return
<R3>displaycurrent-configuration
[V200R003C00]
#
sysnameR3
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/l
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress54
#
interfaceNULLO
#
ospf1
area
network55
network55
network55
#
return
4.2OSPF多区域配置
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernetO/O/1
ipaddress
#
interfaceGigabitEthernetO/O/2
ipaddress
#
ospf1
area0.0.0.0
network55
network55
area0.0.0.1
network55
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress
#
ospf1
area0.0.0.0
network55
network55
area0.0.0.2
network55
<R3>displaycurrent-configuration
sysnameR3
interfaceEthernet"。/。
ipaddress54
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress
#
ospf1
area
network55
network55
network55
area0.0.0.1
network55
<R4>displaycurrent-configuration
#
sysnameR4
#
interfaceEthernet4/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress
#
ospf1
area0.0.0.0
network55
network55
network55
area
network55
<R5>displaycurrent-configuration
#
sysnameR5
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernetO/O/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress54
#
ospf1
area0.0.0.1
network55
network55
network55
<R6>displaycurrent-configuration
#
sysnameR6
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress54
#
ospf1
area0.0.0.2
network55
network55
network55
4.3配置OSPF的认证
最终配置
<Rl>displaycurrent-configuration
[V200R003C00]
#
sysnameRI
#
interfaceGigabitEthernetO/O/O
ipaddress
#
interfaceLoopBackO
ipaddress1.1.1.155
#
ospf1
area0.0.0.1
authentication-modesimplecipher%$%$uLH><A,C/Zu9FHWr4'2P;4G*%$%$
network1.1.1.10.0.0.0
network55
#
return
<R2>displaycurrent-configuration
[V200R003C00]
#
sysnameR2
#
interfaceGigabitEthernetO/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
ospfauthentication-modemd51cipher%$%$O(rq6{i0~:ZxjOVu70f!;sq]%$%$
#
interfaceGigabitEthernet0/0/2
ipaddress
#
interfaceLoopBackO
ipaddress55
#
ospf1
area0.0.0.0
authentication-modemd51cipher%$%$o~s#(Y9*'2&uxE;le_WE;<Td%$%$
network2.2.2.20.0.0.0
network55
area0.0.0.1
authentication-modesimplecipher%$%$>c<a<69SDF!#8M;8GBGN;8,9%$%$
network55
network55
#
return
<R3>displaycurrent-configuration
[V200R003C00]
#
sysnameR3
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/l
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress
#
interfaceLoopBackO
ipaddress3.3.3.355
#
ospf1
area0.0.0.0
authentication-modemd51cipher%$%$b>g*8Gle#AnkIA3HRnaO;EXh%$%$
network3.3.3.30.0.0.0
network55
network55
network55
#
Return
<R4>displaycurrent-configuration
[V200R003C00]
#
sysnameR4
#
interfaceGigabitEthernet0/0/0
ipaddress
ospfauthentication-modemd51cipher%$%$82,];1U:U:auL-%{~n4P;
#
interfaceLoopBackO
ipaddress4.4.4.455
#
ospf1
area0.0.0.1
authentication-modesimplecipher%$%$$iC},E|#N.N];YLjTA),;792%$%$
network
network55
#
Return
<R5>displaycurrent-configuration
[V200R003C00]
#
sysnameR5
#
interfaceGigabitEthernet0/0/0
ipaddress
#
#
interfaceLoopBackO
ipaddress5.5.5.555
#
ospf1
area0.0.0.0
authentication-modemd51cipher%$%$}sc&9m-)_VH\z7E\MphV;Fc(%$%$
network
network55
#
Return
<R6>displaycurrent-configuration
[V200R003C00]
#
sysnameR6
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceLoopBackO
ipaddress55
#
ospf1
area0.0.0.0
authentication-modemd51cipher%$%$cMpIQsdGLE([/e,rBSH%;F>0%$%$
network
network55
#
Return
4.4OSPF被动接口配置
最终配置
<Rl>displaycurrent-configuration
sysnameRI
#
interfaceGigabitEthernetO/O/O
ipaddress54
#
interfaceGigabitEthernet0/0/1
ipaddress
#
ospf1
silent-interfaceGigabitEthernet0/0/0
area0.0.0.0
network55
network55
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress54
#
ospf1
silent-interfaceGigabitEthernet0/0/1
area0.0.0.0
network55
network55
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/I
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress
#
ospf1
area0.0.0.0
network55
network55
network55
<R4>displaycurrent-configuration
#
sysnameR4
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress54
#
ospfenable4area
#
ospf1
silent-interfaceall
undosilent-interfaceGigabitEthernet0/0/0
area0.0.0.0
network55
network55
<R5>displaycurrent-configuration
#
sysnameR5
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress54
#
ospf1
silent-interfaceGigabitEthernet0/0/0
silent-interfaceGigabitEthernet0/0/1
area0.0.0.0
network55
network55
4.5理解OSPFRouter-ID
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/l
ipaddress
#
interfaceLoopBackO
ipaddress55
#
ospf1router-id
area
network55
network55
#
Return
<R2>displaycurrent-configuration
(V200R003C00]
#
sysnameR2
#
routerid
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
interfaceGigabitEthernet0/0/2
ipaddress
interfaceLoopBackO
ipaddress2.2.2.2
#
ospf1router-id2.2.2.2
area0.0.0.0
network55
network55
network55
#
Return
<R3>displaycurrent-configuration
[V200R003C00]
#
sysnameR3
#
routerid3.3.3.3
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress54
#
interfaceLoopBackO
ipaddress55
#
ospf1router-id3.3.3.3
area0.0.0.0
network3.3.3.30.0.0.0
network55
#
return
<R4>displaycurrent-configuration
[V200R003C00]
#
sysnameR4
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/I
ipaddress54
#
interfaceLoopBackO
ipaddress55
#
ospf1router-id3.3.3.3
area0.0.0.0
network55
network.55
#
Return
4.6OSPF的DR与BDR
最终配置
<Rl>displaycurrent-configuration
[V200R003C00]
#
sysnameRI
#
routerid1.1.1.1
#
interfaceGigabitEthernet0/0/0
ipaddress
ospfdr-priority100
#
interfaceGigabitEthernet0/0/I
#
interfaceGigabitEthernet0/0/2
#
interfaceNULL0
#
interfaceLoopBackO
ipaddress1.1.1.155
#
ospf1
area0.0.0.0
network.55
#
Return
<R2>displaycurrent-configuration
[V200R003C00]
sysnameR2
#
routerid2.2.2.2
#
interfaceGigabitEthernet0/0/0
ipaddress
ospfdr-priority50
#
interfaceGigabitEthernetO/O/1
#
interfaceGigabitEthernet0/0/2
#
interfaceNULLO
#
ospf1
area0.0.0.0
network55
#
Return
<R3>displaycurrent-configuration
[V200R003C00]
#
sysnameR3
#
routerid3.3.3.3
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernetO/0/1
#
interfaceGigabitEthernet0/0/2
#
interfaceNULLO
#
ospf1
area0.0.0.0
network55
#
Return
<R4>displaycurrent-configuration
[V200R003C00]
sysnameR4
#
routerid
#
interfaceGigabitEthernet0/0/0
ipaddress
ospfdr-priority0
#
interfaceGigabitEthernetO/O/1
#
interfaceGigabitEthernet0/0/2
#
interfaceNULLO
#
ospf1
area
network55
4.7OSPF开销值、协议优先级及计时器的修改
最终配置
<Rl>displaycurrent-configuration
[V200R003C00]
#
sysnameRI
#
interfaceSerial4/0/0
link-protocolppp
ipaddress
#
interfaceGigabitEthernet0/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/l
ipaddress
ospfcost1000
ospftimerhello20
#
ospf1
preference110
area0.0.0.0
network55
network55
network55
<R2>displaycurrent-configuration
#
sysnameR2
#
#
interfaceSerial4/0/0
link-protocolppp
ipaddress
#
interfaceSerial4/0/1
link-protocolppp
ipaddress
#
ospf1
area0.0.0.0
network55
network55
#
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceGigabitEthernet0/0/0
ipaddress
ospftimerhello20
#
interfaceGigabitEthernet0/0/I
ipaddress
#
ospf1
area0.0.0.0
network55
network55
#
<R4>displaycurrent-configuration
#
sysnameR4
interfaceSerial4/0/0
link-protocolppp
ipaddress
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress
#
ospf1
preference110
area
network55
network55
network55
#
<R5>displaycurrent-configuration
#
sysnameR5
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress54
#
ospf1
area
network55
network55
#
4.8连接RIP与OSPF网络
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
interfaceGigabitEthernet0/0/1
ipaddress
ospf1
import-routerip1
area0.0.0.0
network55
#
rip1
undosummary
version2
network
import-routeospf1cost3
#
return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/1
ipaddress54
#
interfaceGigabitEthernet0/0/2
ipaddress
#
rip1
undosummary
version2
network
network
network
#
return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceGigabitEthernet0/0/0
ipaddress54
interfaceGigabitEthernet0/0/1
ipaddress
ospf1
area0.0.0.0
network55
network55
#
return
4.9使用RIP.OSPF发布默认路由
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress
#
interfaceGigabitEthernet0/0/l
ipaddress
#
ospf1
default-route-advertisealways
area
network55
#
rip1
undosummary
default-routeoriginate
version2
network
#
return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceGigabitEthernet0/0/0
ipaddress
interfaceGigabitEthernet0/0/1
ipaddress54
rip1
undosummary
version2
network
#
return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceGigabitEthernet0/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/1
ipaddress
#
ospf1
area
network55
network.55
#
Return
第五章VRRP
5.1VRRP基本配置
最终配置
<Rl>displaycurrent-configuration
#
sysnameRI
#
interfaceGigabitEthernet0/0/0
ipaddress54
#
interfaceGigabitEthernet0/0/1
ipaddress54
#
ospf1
area0.0.0.0
network55
network55
network55
#
return
<R2>displaycurrent-configuration
#
sysnameR2
#
interfaceEthernet0/0/l
ipaddress00
vrrpvrid1virtual-ip54
vrrpvrid1priority120
#
interfaceGigabitEthernet0/0/0
ipaddress00
#
ospf1
area
network55
network.55
network55
#
Return
<R3>displaycurrent-configuration
#
sysnameR3
#
interfaceEthernet0/0/l
ipaddress00
vrrpvrid1virtual-ip54
#
interfaceGigabitEthernet0/0/l
ipaddress00
#
ospf1
area
network55
network.55
network55
return
5.2配置VRRP多备份组
最终配置
<Rl>displaycurrent-configuration
#
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- LY/T 3367-2024中国新花卉作物开发技术规程
- 2024年机械自动采样设备项目调研分析报告
- 2024中考作文题预测
- 2024年铁红项目策划方案报告
- 2024年安全员理论考试题库(达标题)
- 2024公司向个人借款合同
- 急诊突发事件应急处置预案
- 2024安全员保安服务考核题库(模拟题)
- 2024年【安全员(初级)】考试题库附答案(培优a卷)
- 2024年国家安全员资格考试题库加解析答案
- 四川省资阳市中考历史真题试题(含答案)
- 蚂蚁金服报告
- 重庆谭木匠品牌战略规划和营销活动策划
- (面包)食品加工厂车间平面图
- 教师教学能力提升培训课件
- 干部心理健康知识讲座
- 燃气锅炉可行性方案
- GB/T 43566-2023中小学人造草面层足球场地
- 《商是几位数》说课
- 《对比分析古代戏曲与现代话剧的艺术特点》
- 夜班员工的健康检查与保健措施
评论
0/150
提交评论