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 R1supe
2、r 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-4
3、se 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-GigabitEthe
4、rnet0/0/0ip address 192.168.1.254 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
5、/0undo shutdown 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 192.168.12.1 24R1-GigabitEthernet0/0/1Mar 5 2017 18:53:23-08:00 R1 %01IFNET/4/LINK_STATE(
6、l)1:The line protocol IP on 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
7、 ip int R1display ip interface 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 in
8、terface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 192.168.1.254/24 up up GigabitEthernet0/0/1 192.168.12.1/24 up up GigabitEthernet0/0/2 unassigned down down NULL0 unassigned up up(s) R1R1R1 Please check whether system data has been changed, and sa
9、ve data in time Configuration console time out, please press any key to log onsyEnter system view, return user view with Ctrl+Z.R1R1R1ip ro R1ip route- R1ip route-static 192.168.23.0 255.255.255.0 192.168.12.2R1R1ip ro R1ip route- R1ip route-static 192.168.2.0 255.255.255.0 192.168.23.2R1R1R1dis R1d
10、isplay ip ro R1display 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 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0127.255.255.2
11、55/32 Direct 0 0 D 127.0.0.1 InLoopBack0 192.168.1.0/24 Direct 0 0 D 192.168.1.254 GigabitEthernet0/0/0 192.168.1.254/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0 192.168.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0 192.168.2.0/24 Static 60 0 RD 192.168.23.2 GigabitEthernet0/0/1 192.168.12
12、.0/24 Direct 0 0 D 192.168.12.1 GigabitEthernet0/0/1 192.168.12.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1 192.168.12.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1 192.168.23.0/24 Static 60 0 RD 192.168.12.2 GigabitEthernet0/0/1255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0R1 Pleas
13、e check whether system data has been changed, and save data in time Configuration console time out, please press any key to log onping 192.168.2.254 PING 192.168.2.254: 56 data bytes, press CTRL_C to break Reply from 192.168.2.254: bytes=56 Sequence=1 ttl=254 time=50 ms Reply from 192.168.2.254: byt
14、es=56 Sequence=2 ttl=254 time=30 ms Reply from 192.168.2.254: bytes=56 Sequence=3 ttl=254 time=50 ms Reply from 192.168.2.254: bytes=56 Sequence=4 ttl=254 time=30 ms Reply from 192.168.2.254: bytes=56 Sequence=5 ttl=254 time=20 ms - 192.168.2.254 ping statistics - 5 packet(s) transmitted 5 packet(s)
15、 received 0.00% packet loss round-trip min/avg/max = 20/36/50 msping 192.168.2.1 PING 192.168.2.1: 56 data bytes, press CTRL_C to break Request time out Reply from 192.168.2.1: bytes=56 Sequence=2 ttl=126 time=40 ms Reply from 192.168.2.1: bytes=56 Sequence=3 ttl=126 time=30 ms Reply from 192.168.2.
16、1: bytes=56 Sequence=4 ttl=126 time=50 ms Reply from 192.168.2.1: bytes=56 Sequence=5 ttl=126 time=40 ms - 192.168.2.1 ping statistics - 5 packet(s) transmitted 4 packet(s) received 20.00% packet loss round-trip min/avg/max = 30/40/50 mssave The current configuration will be written to the device. A
17、re you sure to continue? (y/n)n:y It will take several minutes to save configuration file, please 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 Configur
18、ation console time out, please press any key to log onR2配置如下clo clock d clock datetime 18:56:00 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
19、 R2user-interface vty 0 4R2-ui-vty0-4R2-ui-vty0-4au R2-ui-vty0-4authentication-mode p R2-ui-vty0-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 pa
20、ssword C R2-ui-vty0-4set authentication password cipher 123456R2-ui-vty0-4R2-ui-vty0-4qR2R2int R2interface G R2interface GigabitEthernet 0/0/0R2-GigabitEthernet0/0/0R2-GigabitEthernet0/0/0ip ad R2-GigabitEthernet0/0/0ip address 192.168.12.2 24R2-GigabitEthernet0/0/0un R2-GigabitEthernet0/0/0undo sh
21、R2-GigabitEthernet0/0/0undo shutdown Info: Interface GigabitEthernet0/0/0 is not shutdown.R2-GigabitEthernet0/0/0R2-GigabitEthernet0/0/0qR2R2int R2interface G R2interface GigabitEthernet 0/0/1R2-GigabitEthernet0/0/1R2-GigabitEthernet0/0/1ip addR2-GigabitEthernet0/0/1ip address 192.168.23.1 24R2-Giga
22、bitEthernet0/0/1Mar 5 2017 19:02:40-08:00 R2 %01IFNET/4/LINK_STATE(l)1:The line protocol IP on the interface GigabitEthernet0/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 shutdo
23、wn.R2-GigabitEthernet0/0/1R2-GigabitEthernet0/0/1quitR2R2R2disR2display ip intR2display ip interface B R2display 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 i
24、s 1The number of interface that is UP in Protocol is 3The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 192.168.12.2/24 up up GigabitEthernet0/0/1 192.168.23.1/24 up up GigabitEthernet0/0/2 unassigned down down NULL0 unassigned up u
25、p(s) R2sy system-view Enter system view, return user view with Ctrl+Z.R2R2ip rou R2ip route- R2ip route-static 192.168.1.0 255.255.255.0 192.168.12.1R2R2ip ro R2ip route- R2ip route-static 192.168.2.0 255.255.255.0 192.168.23.2R2R2dis R2display ip ro R2display ip routing-table Route Flags: R - relay
26、, D - download to fib-Routing Tables: Public Destinations : 12 Routes : 12 Destination/Mask Proto Pre Cost Flags NextHop Interface 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0 192.168.1.0/24 Static
27、 60 0 RD 192.168.12.1 GigabitEthernet0/0/0 192.168.2.0/24 Static 60 0 RD 192.168.23.2 GigabitEthernet0/0/1 192.168.12.0/24 Direct 0 0 D 192.168.12.2 GigabitEthernet0/0/0 192.168.12.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0 192.168.12.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0 192.168.
28、23.0/24 Direct 0 0 D 192.168.23.1 GigabitEthernet0/0/1 192.168.23.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1 192.168.23.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0R2 Please check whether system data has been changed, and save data in
29、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 successfully Note: The configuration file will
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1