华为的Rip实验练习.docx
《华为的Rip实验练习.docx》由会员分享,可在线阅读,更多相关《华为的Rip实验练习.docx(32页珍藏版)》请在冰点文库上搜索。
华为的Rip实验练习
要求:
配置以上设备接口IP,并配置Rip,关闭路由汇总,使PC1与PC2实现互通
配置如下:
clo
clockd
clockdatetime10:
32:
002021-03-08
sy
system-view
Entersystemview,returnuserviewwithCtrl+Z.
[Huawei]
[Huawei]sy
[Huawei]sysnameR1
[R1]
[R1]su
[R1]superp
[R1]superpasswordc
[R1]superpasswordcipher123456
[R1]
[R1]us
[R1]user-i
[R1]user-interfacev
[R1]user-interfacevty04
[R1-ui-vty0-4]
[R1-ui-vty0-4]auth
[R1-ui-vty0-4]authentication-modep
[R1-ui-vty0-4]authentication-modepassword
—
Pleaseconfiguretheloginpassword(maximumlength16):
123456[R1-ui-vty0-4]
[R1-ui-vty0-4]se
[R1-ui-vty0-4]setauth
[R1-ui-vty0-4]setauthenticationp
[R1-ui-vty0-4]setauthenticationpasswordc
[R1-ui-vty0-4]setauthenticationpasswordcipher123456
[R1-ui-vty0-4]
[R1-ui-vty0-4]q
[R1]
[R1]us
[R1]user-i
[R1]user-interfacec
[R1]user-interfaceconsole0
[R1-ui-console0]
[R1-ui-console0]auth
[R1-ui-console0]authentication-modep
[R1-ui-console0]authentication-modepassword
Pleaseconfiguretheloginpassword(maximumlength16):
123456[R1-ui-console0]
[R1-ui-console0]se
[R1-ui-console0]setauth
[R1-ui-console0]setauthenticationp
[R1-ui-console0]setauthenticationpasswordc
[R1-ui-console0]setauthenticationpasswordcipher123456
[R1-ui-console0]q
[R1]
[R1]aaa
[R1-aaa]lo
[R1-aaa]local-useradminpa
[R1-aaa]local-useradminpasswordc
[R1-aaa]local-useradminpasswordcipheradmin123
[R1-aaa]
[R1-aaa]lo
[R1-aaa]local-useradminser
[R1-aaa]local-useradminservice-typet
[R1-aaa]local-useradminservice-typetelnet
[R1-aaa]
[R1-aaa]q
[R1]
[R1]intg0/0/0
[R1-GigabitEthernet0/0/0]ipadd192.168.1.25424
[R1-GigabitEthernet0/0/0]
Mar8202110:
45:
41-08:
00R1%%01IFNET/4/LINK_STATE(l)[0]:
ThelineprotocolIP
欢送下载2
—
ontheinterfaceGigabitEthernet0/0/0hasenteredtheUPstate.
[R1-GigabitEthernet0/0/0]
[R1-GigabitEthernet0/0/0]un
[R1-GigabitEthernet0/0/0]undosh
[R1-GigabitEthernet0/0/0]undoshutdown
Info:
InterfaceGigabitEthernet0/0/0isnotshutdown.
[R1-GigabitEthernet0/0/0]q
[R1]
[R1]intg0/0/1
[R1-GigabitEthernet0/0/1]ipadd192.168.12.124
[R1-GigabitEthernet0/0/1]
Mar8202110:
46:
24-08:
00R1%%01IFNET/4/LINK_STATE(l)[1]:
ThelineprotocolIPontheinterfaceGigabitEthernet0/0/1hasenteredtheUPstate.
[R1-GigabitEthernet0/0/1]
[R1-GigabitEthernet0/0/1]un
[R1-GigabitEthernet0/0/1]undosh
[R1-GigabitEthernet0/0/1]undoshutdown
Info:
InterfaceGigabitEthernet0/0/1isnotshutdown.
[R1-GigabitEthernet0/0/1]
[R1-GigabitEthernet0/0/1]q
[R1]
[R1]disipintbr
*down:
administrativelydown
^down:
standby
(l):
loopback
(s):
spoofing
ThenumberofinterfacethatisUPinPhysicalis3
ThenumberofinterfacethatisDOWNinPhysicalis1
ThenumberofinterfacethatisUPinProtocolis3
ThenumberofinterfacethatisDOWNinProtocolis1
Interface
IPAddress/Mask
Physical
Protocol
GigabitEthernet0/0/0
up
up
GigabitEthernet0/0/1
up
up
GigabitEthernet0/0/2
unassigned
down
down
NULL0
unassigned
up
up(s)
[R1]q
save
Thecurrentconfigurationwillbewrittentothedevice.
Areyousuretocontinue?
(y/n)[n]:
y
Itwilltakeseveralminutestosaveconfigurationfile,pleasewait..........
欢送下载3
—
Configurationfilehadbeensavedsuccessfully
Note:
Theconfigurationfilewilltakeeffectafterbeingactivated
Pleasecheckwhethersystemdatahasbeenchanged,andsavedataintime
Configurationconsoletimeout,pleasepressanykeytologon
Password:
sy
system-view
Entersystemview,returnuserviewwithCtrl+Z.
[R1]rip
[R1-rip-1]ver
[R1-rip-1]verify-source
[R1-rip-1]ver
[R1-rip-1]version2
[R1-rip-1]un
[R1-rip-1]undosum
[R1-rip-1]undosummary
[R1-rip-1]
[R1-rip-1]net
[R1-rip-1]
[R1-rip-1]net
[R1-rip-1]
[R1-rip-1]q
[R1]
[R1]q
save
Thecurrentconfigurationwillbewrittentothedevice.
Areyousuretocontinue?
(y/n)[n]:
y
Itwilltakeseveralminutestosaveconfigurationfile,pleasewait.........
Configurationfilehadbeensavedsuccessfully
Note:
Theconfigurationfilewilltakeeffectafterbeingactivated
欢送下载4
—
dis
displayiprout
displayiprouting-table
RouteFlags:
R-relay,D-downloadtofib
------------------------------------------------------------------------------
RoutingTables:
Public
Destinations:
10
Routes:
10
Destination/Mask
Proto
Pre
Cost
FlagsNextHop
Interface
Direct
0
0
D
InLoopBack0
Direct
0
0
D
InLoopBack0
Direct
0
0
D
InLoopBack0
Direct
0
0
D
GigabitEthernet
0/0/0
Direct
0
0
D
GigabitEthernet
0/0/0
Direct
0
0
D
GigabitEthernet
0/0/0
Direct
0
0
D
GigabitEthernet
0/0/1
Direct
0
0
D
GigabitEthernet
0/0/1
Direct
0
0
D
GigabitEthernet
0/0/1
Direct
0
0
D
InLoopBack0
Password:
Password:
Password:
欢送下载5
—
PING192.168.2.254:
56databytes,pressCTRL_Ctobreak
Replyfrom192.168.2.254:
bytes=56Sequence=1ttl=254time=60ms
Replyfrom192.168.2.254:
bytes=56Sequence=2ttl=254time=40ms
Replyfrom192.168.2.254:
bytes=56Sequence=3ttl=254time=40ms
Replyfrom192.168.2.254:
bytes=56Sequence=4ttl=254time=40ms
Replyfrom192.168.2.254:
bytes=56Sequence=5ttl=254time=30ms
---192.168.2.254pingstatistics---
5packet(s)transmitted
5packet(s)received
0.00%packetloss
round-tripmin/avg/max=30/42/60ms
PING192.168.2.1:
56databytes,pressCTRL_CtobreakRequesttimeout
Replyfrom192.168.2.1:
bytes=56Sequence=2ttl=126time=40ms
Replyfrom192.168.2.1:
bytes=56Sequence=3ttl=126time=50ms
Replyfrom192.168.2.1:
bytes=56Sequence=4ttl=126time=30ms
Replyfrom192.168.2.1:
bytes=56Sequence=5ttl=126time=40ms
---192.168.2.1pingstatistics---
5packet(s)transmitted
4packet(s)received
20.00%packetloss
round-tripmin/avg/max=30/40/50ms
clo
clockd
clockdatetime11:
05:
002021-03-08
sy
system-view
Entersystemview,returnuserviewwithCtrl+Z.
[Huawei]
[Huawei]sy
欢送下载6
—
[Huawei]sysnameR2
[R2]su
[R2]superp
[R2]superpasswordc
[R2]superpasswordcipher123456
[R2]
[R2]us
[R2]user-i
[R2]user-interfacev
[R2]user-interfacevty04
[R2-ui-vty0-4]auth
[R2-ui-vty0-4]authentication-modep
[R2-ui-vty0-4]authentication-modepassword
Pleaseconfiguretheloginpassword(maximumlength16):
123456
[R2-ui-vty0-4]se
[R2-ui-vty0-4]setauth
[R2-ui-vty0-4]setauthenticationp
[R2-ui-vty0-4]setauthenticationpasswordc
[R2-ui-vty0-4]setauthenticationpasswordcipher123456
[R2-ui-vty0-4]q
[R2]
[R2]us
[R2]user-i
[R2]user-interfacec
[R2]user-interfaceconsole0
[R2-ui-console0]auth
[R2-ui-console0]authentication-modep
[R2-ui-console0]authentication-modepassword
Pleaseconfiguretheloginpassword(maximumlength16):
123456[R2-ui-console0]se
[R2-ui-console0]setauth
[R2-ui-console0]setauthenticationp
[R2-ui-console0]setauthenticationpasswordc
[R2-ui-console0]setauthenticationpasswordcipher123456
[R2-ui-console0]q
[R2]
[R2]aaa
[R2-aaa]lo
[R2-aaa]local-useradminp
[R2-aaa]local-useradminpasswordc
[R2-aaa]local-useradminpasswordcipheradmin1234
[R2-aaa]
[R2-aaa]lo
[R2-aaa]local-useradminser
欢送下载7
—
[R2-aaa]local-useradminservice-typetel
[R2-aaa]local-useradminservice-typetelnet
[R2-aaa]
[R2-aaa]q
[R2]
[R2]intg
[R2]intGigabitEthernet0/0/0
[R2-GigabitEthernet0/0/0]ipadd192.168.12.224
[R2-GigabitEthernet0/0/0]
Mar
8202111:
14:
56-08:
00R2%%01IFNET/4/LINK_STATE(l)[0]:
ThelineprotocolIP
ontheinterfaceGigabitEthernet0/0/0hasenteredtheUPstate.
[R2-GigabitEthernet0/0/0]un
[R2-GigabitEthernet0/0/0]undosh
[R2-GigabitEthernet0/0/0]undoshutdown
Info:
InterfaceGigabitEthernet0/0/0isnotshutdown.
[R2-GigabitEthernet0/0/0]q
[R2]
[R2]intg0/0/1
[R2-GigabitEthernet0/0/1]ipadd192.168.23.124
[R2-GigabitEthernet0/0/1]
Mar
8202111:
17:
05-08:
00R2%%01IFNET/4/LINK_STATE(l)[1]:
ThelineprotocolIP
ontheinterfaceGigabitEthernet0/0/1hasenteredtheUPstate.
[R2-GigabitEthernet0/0/1]un
[R2-GigabitEthernet0/0/1]undosh
[R2-GigabitEthernet0/0/1]undoshutdown
Info:
InterfaceGigabitEthernet0/0/1isnotshutdown.
[R2-GigabitEthernet0/0/1]q
[R2]
[R2]disipintbr
*down:
administrativelydown
^down:
standby
(l):
loopback
(s):
spoofing
ThenumberofinterfacethatisUPinPhysicalis3
ThenumberofinterfacethatisDOWNinPhysicalis1
ThenumberofinterfacethatisUPinProtocolis3
ThenumberofinterfacethatisDOWNinProtocolis1
Interface
IPAddress/Mask
Physical
Protocol
GigabitEthernet0/0/0
up
up
GigabitEthernet0/0/1
up
up
GigabitEthernet0/0/2
unassigned
down
down
NULL0
unassigned
up
up(s)
欢送下载8
—
[R2]
[R2]
[R2]
[R2]q
save
Thecurrentconfigurationwillbewrittentothedevice.
Areyousuretocontinue?
(y/n)[n]:
y
Itwilltakeseveralminutestosaveconfigurationfile,pleasewait..........
Configurationfilehadbeensavedsuccessfully
Note:
Theconfigurationfilewilltakeeffectafterbeingactivated
Pleasecheckwhethersystemdatahasbeenchanged,andsavedataintim