1、华为静态路由实验练习R1配置情况:clo clock d clock datetime 18:30:00 2017-03-05Huaweisy Huaweisysname R1Mar 5 2017 18:30:19-08:00 Huawei %01IFPDT/4/IF_STATE(l)0:Interface GigabitEthernet0/0/1 has turned into UP state.Huaweisysname R1R1R1R1sy system-view Enter system view, return user view with Ctrl+Z.R1R1su R1super
2、 p R1super password c R1super password cipher 123456R1R1us R1user-i R1user-interface v R1user-interface vty 0 4R1-ui-vty0-4R1-ui-vty0-4au R1-ui-vty0-4authentication-mode p R1-ui-vty0-4authentication-mode password Please configure the login password (maximum length 16):123456R1-ui-vty0-4R1-ui-vty0-4s
3、e R1-ui-vty0-4set au R1-ui-vty0-4set authentication p R1-ui-vty0-4set authentication password c R1-ui-vty0-4set authentication password cipher 123456R1-ui-vty0-4R1-ui-vty0-4qR1R1R1int R1interface g R1interface GigabitEthernet 0/0/0 R1-GigabitEthernet0/0/0R1-GigabitEthernet0/0/0ip add R1-GigabitEther
4、net0/0/0ip address 24R1-GigabitEthernet0/0/0Mar 5 2017 18:51:37-08:00 R1 %01IFNET/4/LINK_STATE(l)0:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state. R1-GigabitEthernet0/0/0R1-GigabitEthernet0/0/0un R1-GigabitEthernet0/0/0undo sh R1-GigabitEthernet0/0/0undo shutdown
5、 Info: Interface GigabitEthernet0/0/0 is not shutdown.R1-GigabitEthernet0/0/0qR1R1int R1interface g R1interface GigabitEthernet 0/0/1R1-GigabitEthernet0/0/1ip ad R1-GigabitEthernet0/0/1ip address 24R1-GigabitEthernet0/0/1Mar 5 2017 18:53:23-08:00 R1 %01IFNET/4/LINK_STATE(l)1:The line protocol IP on
6、the interface GigabitEthernet0/0/1 has entered the UP state. R1-GigabitEthernet0/0/1un R1-GigabitEthernet0/0/1undo sh R1-GigabitEthernet0/0/1undo shutdown Info: Interface GigabitEthernet0/0/1 is not shutdown.R1-GigabitEthernet0/0/1R1-GigabitEthernet0/0/1qR1R1dis R1display ip int R1display ip interfa
7、ce b R1display ip interface brief *down: administratively downdown: standby(l): loopback(s): spoofingThe number of interface that is UP in Physical is 3The number of interface that is DOWN in Physical is 1The number of interface that is UP in Protocol is 3The number of interface that is DOWN in Prot
8、ocol is 1Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 up up GigabitEthernet0/0/1 up up GigabitEthernet0/0/2 unassigned down down NULL0 unassigned up up(s) R1R1R1 Please check whether system data has been changed, and save data in time Configuration console time out, please press
9、any key to log onsyEnter system view, return user view with Ctrl+Z.R1R1R1ip ro R1ip route- R1ip route-static ro R1ip route- R1ip route-static R1display ip ro R1display ip routing-table Route Flags: R - relay, D - download to fib-Routing Tables: Public Destinations : 12 Routes : 12 Destination/Mask P
10、roto Pre Cost Flags NextHop Interface Direct 0 0 D InLoopBack0 Direct 0 0 D InLoopBack0 Direct 0 0 D InLoopBack0 Direct 0 0 D GigabitEthernet0/0/0 Direct 0 0 D GigabitEthernet0/0/0 Direct 0 0 D GigabitEthernet0/0/0 Static 60 0 RD GigabitEthernet0/0/1 Direct 0 0 D GigabitEthernet0/0/1 Direct 0 0 D Gi
11、gabitEthernet0/0/1 Direct 0 0 D GigabitEthernet0/0/1 Static 60 0 RD GigabitEthernet0/0/1 Direct 0 0 D InLoopBack0R1 Please check whether system data has been changed, and save data in time Configuration console time out, please press any key to log onping PING 56 data bytes, press CTRL_C to break Re
12、ply from bytes=56 Sequence=1 ttl=254 time=50 ms Reply from bytes=56 Sequence=2 ttl=254 time=30 ms Reply from bytes=56 Sequence=3 ttl=254 time=50 ms Reply from bytes=56 Sequence=4 ttl=254 time=30 ms Reply from bytes=56 Sequence=5 ttl=254 time=20 ms - ping statistics - 5 packet(s) transmitted 5 packet
13、(s) received % packet loss round-trip min/avg/max = 20/36/50 msping PING 56 data bytes, press CTRL_C to break Request time out Reply from bytes=56 Sequence=2 ttl=126 time=40 ms Reply from bytes=56 Sequence=3 ttl=126 time=30 ms Reply from bytes=56 Sequence=4 ttl=126 time=50 ms Reply from bytes=56 Seq
14、uence=5 ttl=126 time=40 ms - ping statistics - 5 packet(s) transmitted 4 packet(s) received % packet loss round-trip min/avg/max = 30/40/50 mssave The current configuration will be written to the device. Are you sure to continue (y/n)n:y It will take several minutes to save configuration file, pleas
15、e wait. Configuration file had been saved successfully Note: The configuration file will take effect after being activated Please check whether system data has been changed, and save data in time Configuration console time out, please press any key to log onR2配置如下clo clock d clock datetime 18:56:00
16、2017-03-05sy system-view Enter system view, return user view with Ctrl+Z.HuaweiHuaweisy Huaweisysname R2R2R2su R2super p R2super password c R2super password cipher 123456R2R2us R2user-i R2user-interface v R2user-interface vty 0 4R2-ui-vty0-4R2-ui-vty0-4au R2-ui-vty0-4authentication-mode p R2-ui-vty0
17、-4authentication-mode password Please configure the login password (maximum length 16):123456R2-ui-vty0-4R2-ui-vty0-4se R2-ui-vty0-4set auR2-ui-vty0-4set authentication P R2-ui-vty0-4set authentication password C R2-ui-vty0-4set authentication password cipher 123456R2-ui-vty0-4R2-ui-vty0-4qR2R2int R
18、2interface G R2interface GigabitEthernet 0/0/0R2-GigabitEthernet0/0/0R2-GigabitEthernet0/0/0ip ad R2-GigabitEthernet0/0/0ip address 24R2-GigabitEthernet0/0/0un R2-GigabitEthernet0/0/0undo sh R2-GigabitEthernet0/0/0undo shutdown Info: Interface GigabitEthernet0/0/0 is not shutdown.R2-GigabitEthernet0
19、/0/0R2-GigabitEthernet0/0/0qR2R2int R2interface G R2interface GigabitEthernet 0/0/1R2-GigabitEthernet0/0/1R2-GigabitEthernet0/0/1ip addR2-GigabitEthernet0/0/1ip address 24R2-GigabitEthernet0/0/1Mar 5 2017 19:02:40-08:00 R2 %01IFNET/4/LINK_STATE(l)1:The line protocol IP on the interface GigabitEthern
20、et0/0/1 has entered the UP state. R2-GigabitEthernet0/0/1un R2-GigabitEthernet0/0/1undo sh R2-GigabitEthernet0/0/1undo shutdown Info: Interface GigabitEthernet0/0/1 is not shutdown.R2-GigabitEthernet0/0/1R2-GigabitEthernet0/0/1quitR2R2R2disR2display ip intR2display ip interface B R2display ip interf
21、ace brief *down: administratively downdown: standby(l): loopback(s): spoofingThe number of interface that is UP in Physical is 3The number of interface that is DOWN in Physical is 1The number of interface that is UP in Protocol is 3The number of interface that is DOWN in Protocol is 1Interface IP Ad
22、dress/Mask Physical Protocol GigabitEthernet0/0/0 up up GigabitEthernet0/0/1 up up GigabitEthernet0/0/2 unassigned down down NULL0 unassigned up up(s) R2sy system-view Enter system view, return user view with Ctrl+Z.R2R2ip rou R2ip route- R2ip route-static ro R2ip route- R2ip route-static R2display
23、ip ro R2display ip routing-table Route Flags: R - relay, D - download to fib-Routing Tables: Public Destinations : 12 Routes : 12 Destination/Mask Proto Pre Cost Flags NextHop Interface Direct 0 0 D InLoopBack0 Direct 0 0 D InLoopBack0 Direct 0 0 D InLoopBack0 Static 60 0 RD GigabitEthernet0/0/0 Sta
24、tic 60 0 RD GigabitEthernet0/0/1 Direct 0 0 D GigabitEthernet0/0/0 Direct 0 0 D GigabitEthernet0/0/0 Direct 0 0 D GigabitEthernet0/0/0 Direct 0 0 D GigabitEthernet0/0/1 Direct 0 0 D GigabitEthernet0/0/1 Direct 0 0 D GigabitEthernet0/0/1 Direct 0 0 D InLoopBack0R2 Please check whether system data has
25、 been changed, and save data in time Configuration console time out, please press any key to log onsave The current configuration will be written to the device. Are you sure to continue (y/n)n:y It will take several minutes to save configuration file, please wait. Configuration file had been saved s
26、uccessfully Note: The configuration file will take effect after being activated Please check whether system data has been changed, and save data in time Configuration console time out, please press any key to log onR3配置如下clo clock d clock datetime 19:05:00 2017-03-05sysystem-view Enter system view,
27、return user view with Ctrl+Z.HuaweiHuaweisyHuaweisysname R3R3R3su R3super p R3super password c R3super password cipher 123456R3R3user-i R3user-interface v R3user-interface vty 0 4R3-ui-vty0-4au R3-ui-vty0-4authentication-mode p R3-ui-vty0-4authentication-mode password Please configure the login pass
28、word (maximum length 16):123456R3-ui-vty0-4R3-ui-vty0-4se R3-ui-vty0-4set au R3-ui-vty0-4set authentication p R3-ui-vty0-4set authentication password c R3-ui-vty0-4set authentication password cipher 123456R3-ui-vty0-4R3-ui-vty0-4qR3R3int R3interface g R3interface GigabitEthernet 0/0/0R3-GigabitEthernet0/0/0R3-GigabitEthernet0/0/0ip ad R3-GigabitEthernet0/0/0ip address 24R3-GigabitEthernet0/0/0Mar 5 2017 19:08:28-08:00 R3 %01IFNET/4/LINK_STA
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1