R1配置情况:< Huawei >< Huawei >< Huawei >clo< Huawei >clock d< Huawei >clock datetime 18:30:00 2017-03-05 [Huawei]sy[Huawei]sysname R1Mar 5 2017 18:30:19-08:00Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt hernet0/0/1 has turned into UP state.[Huawei]sysname R1[R1][R1][R1]<R1>sy<R1>system-viewEnter system view, return user view with Ctrl+Z.[R1][R1]su[R1]super p[R1]super password c[R1]super password cipher 123456[R1][R1]us[R1]user-i[R1]user-interface v[R1]user-interface vty 0 4[R1-ui-vty0-4][R1-ui-vty0-4]au[R1-ui-vty0-4]authentication-mode p[R1-ui-vty0-4]authentication-mode passwordPlease configure the login password (maximum length 16):123456 [R1-ui-vty0-4][R1-ui-vty0-4]se[R1-ui-vty0-4]set au[R1-ui-vty0-4]set authentication p[R1-ui-vty0-4]set authentication password c[R1-ui-vty0-4]set authentication password cipher 123456[R1-ui-vty0-4][R1-ui-vty0-4]q[R1][R1][R1]int[R1]interface g[R1]interface GigabitEthernet 0/0/0[R1-GigabitEthernet0/0/0][R1-GigabitEthernet0/0/0]ip add[R1-GigabitEthernet0/0/0]ip address 24[R1-GigabitEthernet0/0/0]Mar 5 2017 18:51:37-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPon the interface GigabitEthernet0/0/0 has entered the UP state. [R1-GigabitEthernet0/0/0][R1-GigabitEthernet0/0/0]un[R1-GigabitEthernet0/0/0]undo sh[R1-GigabitEthernet0/0/0]undo shutdownInfo: Interface GigabitEthernet0/0/0 is not shutdown.[R1-GigabitEthernet0/0/0]q[R1][R1]int[R1]interface g[R1]interface GigabitEthernet 0/0/1[R1-GigabitEthernet0/0/1]ip ad[R1-GigabitEthernet0/0/1]ip address 24[R1-GigabitEthernet0/0/1]Mar 5 2017 18:53:23-08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IPon the interface GigabitEthernet0/0/1 has entered the UP state. [R1-GigabitEthernet0/0/1]un[R1-GigabitEthernet0/0/1]undo sh[R1-GigabitEthernet0/0/1]undo shutdownInfo: Interface GigabitEthernet0/0/1 is not shutdown.[R1-GigabitEthernet0/0/1][R1-GigabitEthernet0/0/1]q[R1][R1]dis[R1]display ip int[R1]display ip interface b[R1]display ip interface brief*down: administratively down^down: 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 Address/Mask Physical ProtocolGigabitEthernet0/0/0 /24 up up GigabitEthernet0/0/1 /24 up up GigabitEthernet0/0/2 unassigned down downNULL0 unassigned up up(s)[R1][R1][R1]Please check whether system data has been changed, and savedata in timeConfiguration console time out, please press any key to log on<R1><R1><R1><R1>syEnter system view, return user view with Ctrl+Z.[R1][R1][R1]ip ro[R1]ip route-[R1]ip route-static[R1][R1]ip ro[R1]ip route-[R1]ip route-static[R1][R1][R1]dis[R1]display ip ro[R1]display ip routing-tableRoute Flags: R - relay, D - download to fib------------------------------------------------------------------------------Routing Tables: PublicDestinations : 12 Routes : 12Destination/Mask Proto Pre Cost Flags NextHop Interface/8 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/24 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/24 Static 60 0 RD GigabitEthernet0/0/1/24 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/24 Static 60 0 RD GigabitEthernet0/0/1/32 Direct 0 0 D InLoopBack0[R1]Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log on<R1>pingPING : 56 data bytes, press CTRL_C to breakReply from : bytes=56 Sequence=1 ttl=254 time=50 msReply from : bytes=56 Sequence=2 ttl=254 time=30 msReply from : bytes=56 Sequence=3 ttl=254 time=50 msReply from : bytes=56 Sequence=4 ttl=254 time=30 msReply from : bytes=56 Sequence=5 ttl=254 time=20 ms--- ping statistics ---5 packet(s) transmitted5 packet(s) received% packet lossround-trip min/avg/max = 20/36/50 ms<R1>pingPING : 56 data bytes, press CTRL_C to breakRequest time outReply from : bytes=56 Sequence=2 ttl=126 time=40 msReply from : bytes=56 Sequence=3 ttl=126 time=30 msReply from : bytes=56 Sequence=4 ttl=126 time=50 msReply from : bytes=56 Sequence=5 ttl=126 time=40 ms--- ping statistics ---5 packet(s) transmitted4 packet(s) received% packet lossround-trip min/avg/max = 30/40/50 ms<R1>saveThe current configuration will be written to the device. Are you sure to continue (y/n)[n]:yIt will take several minutes to save configuration file, please wait.........Configuration file had been saved successfullyNote: The configuration file will take effect after being activated<R1>Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log onR2配置如下<Huawei>clo<Huawei>clock d<Huawei>clock datetime 18:56:00 2017-03-05<Huawei><Huawei>sy<Huawei>system-viewEnter system view, return user view with Ctrl+Z.[Huawei][Huawei]sy[Huawei]sysname R2[R2][R2]su[R2]super p[R2]super password c[R2]super password cipher 123456[R2][R2]us[R2]user-i[R2]user-interface v[R2]user-interface vty 0 4[R2-ui-vty0-4][R2-ui-vty0-4]au[R2-ui-vty0-4]authentication-mode p[R2-ui-vty0-4]authentication-mode passwordPlease configure the login password (maximum length 16):123456 [R2-ui-vty0-4][R2-ui-vty0-4]se[R2-ui-vty0-4]set au[R2-ui-vty0-4]set authentication P[R2-ui-vty0-4]set authentication password C[R2-ui-vty0-4]set authentication password cipher 123456[R2-ui-vty0-4][R2-ui-vty0-4]q[R2][R2]int[R2]interface G[R2]interface GigabitEthernet 0/0/0[R2-GigabitEthernet0/0/0][R2-GigabitEthernet0/0/0]ip ad[R2-GigabitEthernet0/0/0]ip address 24[R2-GigabitEthernet0/0/0]un[R2-GigabitEthernet0/0/0]undo sh[R2-GigabitEthernet0/0/0]undo shutdownInfo: Interface GigabitEthernet0/0/0 is not shutdown. [R2-GigabitEthernet0/0/0][R2-GigabitEthernet0/0/0]q[R2][R2]int[R2]interface G[R2]interface GigabitEthernet 0/0/1[R2-GigabitEthernet0/0/1][R2-GigabitEthernet0/0/1]ip add[R2-GigabitEthernet0/0/1]ip address 24[R2-GigabitEthernet0/0/1]Mar 5 2017 19:02:40-08:00 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IPon the interface GigabitEthernet0/0/1 has entered the UP state. [R2-GigabitEthernet0/0/1]un[R2-GigabitEthernet0/0/1]undo sh[R2-GigabitEthernet0/0/1]undo shutdownInfo: Interface GigabitEthernet0/0/1 is not shutdown.[R2-GigabitEthernet0/0/1][R2-GigabitEthernet0/0/1]quit[R2][R2][R2]dis[R2]display ip int[R2]display ip interface B[R2]display ip interface brief*down: administratively down^down: 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 Address/Mask Physical ProtocolGigabitEthernet0/0/0 /24 up up GigabitEthernet0/0/1 /24 up up GigabitEthernet0/0/2 unassigned down downNULL0 unassigned up up(s)[R2]<R2><R2>sy<R2>system-viewEnter system view, return user view with Ctrl+Z.[R2][R2]ip rou[R2]ip route-[R2]ip route-static[R2][R2]ip ro[R2]ip route-[R2]ip route-static[R2][R2]dis[R2]display ip ro[R2]display ip routing-tableRoute Flags: R - relay, D - download to fib------------------------------------------------------------------------------Routing Tables: PublicDestinations : 12 Routes : 12Destination/Mask Proto Pre Cost Flags NextHop Interface/8 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/24 Static 60 0 RD GigabitEthernet0/0/0/24 Static 60 0 RD GigabitEthernet0/0/1/24 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet0/0/0/24 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D InLoopBack0[R2]Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log on<R2><R2><R2><R2>saveThe current configuration will be written to the device.Are you sure to continue (y/n)[n]:yIt will take several minutes to save configuration file, please wait.........Configuration file had been saved successfullyNote: The configuration file will take effect after being activated<R2>Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log onR3配置如下<Huawei>clo<Huawei>clock d<Huawei>clock datetime 19:05:00 2017-03-05<Huawei><Huawei>sy<Huawei>system-viewEnter system view, return user view with Ctrl+Z.[Huawei][Huawei]sy[Huawei]sysname R3[R3][R3]su[R3]super p[R3]super password c[R3]super password cipher 123456[R3][R3]user-i[R3]user-interface v[R3]user-interface vty 0 4[R3-ui-vty0-4]au[R3-ui-vty0-4]authentication-mode p[R3-ui-vty0-4]authentication-mode passwordPlease configure the login password (maximum length 16):123456 [R3-ui-vty0-4][R3-ui-vty0-4]se[R3-ui-vty0-4]set au[R3-ui-vty0-4]set authentication p[R3-ui-vty0-4]set authentication password c[R3-ui-vty0-4]set authentication password cipher 123456[R3-ui-vty0-4][R3-ui-vty0-4]q[R3][R3]int[R3]interface g[R3]interface GigabitEthernet 0/0/0[R3-GigabitEthernet0/0/0][R3-GigabitEthernet0/0/0]ip ad[R3-GigabitEthernet0/0/0]ip address 24[R3-GigabitEthernet0/0/0]Mar 5 2017 19:08:28-08:00 R3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPon the interface GigabitEthernet0/0/0 has entered the UP state. [R3-GigabitEthernet0/0/0][R3-GigabitEthernet0/0/0]un[R3-GigabitEthernet0/0/0]undo sh[R3-GigabitEthernet0/0/0]undo shutdownInfo: Interface GigabitEthernet0/0/0 is not shutdown.[R3-GigabitEthernet0/0/0][R3-GigabitEthernet0/0/0]q[R3][R3]int[R3]interface g[R3]interface GigabitEthernet 0/0/1[R3-GigabitEthernet0/0/1][R3-GigabitEthernet0/0/1]ip ad[R3-GigabitEthernet0/0/1]ip address 24[R3-GigabitEthernet0/0/1]Mar 5 2017 19:09:54-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IPon the interface GigabitEthernet0/0/1 has entered the UP state. [R3-GigabitEthernet0/0/1][R3-GigabitEthernet0/0/1]un[R3-GigabitEthernet0/0/1]undo sh[R3-GigabitEthernet0/0/1]undo shutdownInfo: Interface GigabitEthernet0/0/1 is not shutdown.[R3-GigabitEthernet0/0/1][R3-GigabitEthernet0/0/1]q[R3][R3]dis[R3]display ip int[R3]display ip interface b[R3]display ip interface brief*down: administratively down^down: 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 Address/Mask Physical ProtocolGigabitEthernet0/0/0 /24 up up GigabitEthernet0/0/1 /24 up up GigabitEthernet0/0/2 unassigned down downNULL0 unassigned up up(s)[R3][R3]<R3>sy<R3>system-viewEnter system view, return user view with Ctrl+Z.[R3][R3]iPlease check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log on<R3><R3><R3>sy<R3>system-viewEnter system view, return user view with Ctrl+Z.[R3][R3][R3]ip ro[R3]ip route-[R3]ip route-static[R3][R3]ip ro[R3]ip route-[R3]ip route-static[R3][R3]dis[R3]display ip ro[R3]display ip routing-tableRoute Flags: R - relay, D - download to fibRouting Tables: PublicDestinations : 12 Routes : 12Destination/Mask Proto Pre Cost Flags NextHop Interface/8 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/32 Direct 0 0 D InLoopBack0/24 Static 60 0 RD GigabitEthernet0/0/0/24 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/32 Direct 0 0 D GigabitEthernet0/0/1/24 Static 60 0 RD GigabitEthernet0/0/0/24 Direct 0 0 D GigabitEthernet0/0/0/32 Direct 0 0 D GigabitEthernet 0/0/0/32 Direct 0 0 D GigabitEthernet 0/0/0/32 Direct 0 0 D InLoopBack0[R3][R3][R3]pingPING : 56 data bytes, press CTRL_C to breakReply from : bytes=56 Sequence=1 ttl=254 time=350 msReply from : bytes=56 Sequence=2 ttl=254 time=90 msReply from : bytes=56 Sequence=3 ttl=254 time=50 msReply from : bytes=56 Sequence=4 ttl=254 time=40 msReply from : bytes=56 Sequence=5 ttl=254 time=40 ms--- ping statistics ---5 packet(s) transmitted5 packet(s) received% packet lossround-trip min/avg/max = 40/114/350 ms[R3]pingPING : 56 data bytes, press CTRL_C to breakRequest time outReply from : bytes=56 Sequence=2 ttl=126 time=40 msReply from : bytes=56 Sequence=3 ttl=126 time=60 msReply from : bytes=56 Sequence=4 ttl=126 time=30 msReply from : bytes=56 Sequence=5 ttl=126 time=40 ms--- ping statistics ---5 packet(s) transmitted4 packet(s) received% packet lossround-trip min/avg/max = 30/42/60 ms[R3]save^Error: Unrecognized command found at '^' position.[R3]q<R3><R3>saveThe current configuration will be written to the device. Are you sure to continue (y/n)[n]:yIt will take several minutes to save configuration file,please wait..........Configuration file had been saved successfullyNote: The configuration file will take effect after being activated<R3>Please check whether system data has been changed, and save data in timeConfiguration console time out, please press any key to log onPC1测试PC2测试。