1、R1super p R1super password c R1super password cipher 123456R1us 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-4se R1-ui
2、-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-4qR1int R1interface g R1interface GigabitEthernet 0/0/0 R1-GigabitEthernet0/0/0R1-GigabitEthernet0/0/0ip add R1-GigabitEthernet0/0/0ip address 192.
3、168.1.254 2451: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/0un R1-GigabitEthernet0/0/0undo sh R1-GigabitEthernet0/0/0undo shutdown Info: Interface GigabitEthernet0/0/0 is not shutdown.R1-GigabitEther
4、net0/0/0qR1interface GigabitEthernet 0/0/1R1-GigabitEthernet0/0/1ip ad R1-GigabitEthernet0/0/1ip address 192.168.12.1 24R1-GigabitEthernet0/0/153:23-08:00 R1 %01IFNET/4/LINK_STATE(l)1:on the interface GigabitEthernet0/0/1 has entered the UP state. R1-GigabitEthernet0/0/1un R1-GigabitEthernet0/0/1und
5、o sh R1-GigabitEthernet0/0/1undo shutdown Interface GigabitEthernet0/0/1 is not shutdown.R1-GigabitEthernet0/0/1qR1dis R1display 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 Physi
6、cal 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 Address/Mask Physical Protocol GigabitEthernet0/0/0 192.168.1.254/24 up up GigabitEthernet0/0/1 192.168.12.1/24 up up Giga
7、bitEthernet0/0/2 unassigned down down NULL0 unassigned up up(s) Please check whether system data has been changed, and save data in time Configuration console time out, please press any key to log onsyR1ip ro R1ip route- R1ip route-static 192.168.23.0 255.255.255.0 192.168.12.2R1ip route-static 192.
8、168.2.0 255.255.255.0 192.168.23.2R1display 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
9、 D 127.0.0.1 InLoopBack0127.255.255.255/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 GigabitEthernet 192.168.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 192.168.2.0/24 Static 60 0 RD 192.168.23.2 Giga
10、bitEthernet0/0/1 192.168.12.0/24 Direct 0 0 D 192.168.12.1 GigabitEthernet 192.168.12.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 192.168.12.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 192.168.23.0/24 Static 60 0 RD 192.168.12.2 GigabitEthernet255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0p
11、ing 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 bytes=56 Sequence=2 ttl=254 time=30 ms bytes=56 Sequence=3 ttl=254 time=50 ms bytes=56 Sequence=4 ttl=254 time=30 ms bytes=56 Sequence=5 ttl=254 time=20 ms - 19
12、2.168.2.254 ping statistics - 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 20/36/50 msping 192.168.2.1 PING 192.168.2.1: Request time out Reply from 192.168.2.1: bytes=56 Sequence=2 ttl=126 time=40 ms bytes=56 Sequence=3 ttl=126 time=30 ms bytes=56 Sequence
13、=4 ttl=126 time=50 ms bytes=56 Sequence=5 ttl=126 time=40 ms - 192.168.2.1 ping statistics - 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. Are you sure to continue? (y/n)n:y It will take several minutes to sa
14、ve configuration file, please wait. Configuration file had been saved successfully Note: The configuration file will take effect after being activatedR2配置如下Huawei56:HuaweiHuaweisysname R2R2R2su R2super p R2super password c R2super password cipher 123456R2us R2user-i R2user-interface v R2user-interfa
15、ce vty 0 4R2-ui-vty0-4R2-ui-vty0-4au R2-ui-vty0-4authentication-mode p R2-ui-vty0-4authentication-mode password R2-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-4qR2int R2interf
16、ace 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 R2-GigabitEthernet0/0/0undo shutdown R2-GigabitEthernet0/0/0qR2interface GigabitEthernet 0/0/1R2-Gigabi
17、tEthernet0/0/1R2-GigabitEthernet0/0/1ip addR2-GigabitEthernet0/0/1ip address 192.168.23.1 24Mar 5 2017 19:02:40-08:00 R2 %01IFNET/4/LINK_STATE(l)1:R2-GigabitEthernet0/0/1un R2-GigabitEthernet0/0/1undo sh R2-GigabitEthernet0/0/1undo shutdown R2-GigabitEthernet0/0/1quitR2disR2display ip intR2display i
18、p interface B R2display ip interface brief GigabitEthernet0/0/0 192.168.12.2/24 up up GigabitEthernet0/0/1 192.168.23.1/24 up up R2R2ip rou R2ip route- R2ip route-static 192.168.1.0 255.255.255.0 192.168.12.1R2ip ro R2ip route-static 192.168.2.0 255.255.255.0 192.168.23.2R2dis R2display ip ro R2disp
19、lay ip routing-table 192.168.1.0/24 Static 60 0 RD 192.168.12.1 GigabitEthernet 192.168.12.0/24 Direct 0 0 D 192.168.12.2 GigabitEthernet 192.168.12.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 192.168.23.0/24 Direct 0 0 D 192.168.23.1 GigabitEthernet 192.168.23.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 192.168.23.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet The configuration file will
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1