2021-05-20

题目要求

 

 

 

 

 

 

 

 

 

拓扑图

 

 

 R1

on the interface GigabitEthernet0/0/1 has entered the UP state.

[r1-GigabitEthernet0/0/1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]ping 192.168.1.2

  PING 192.168.1.2: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=255 time=90 ms

    Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=255 time=20 ms

    Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms

    Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=255 time=20 ms

    Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=255 time=40 ms

 

  --- 192.168.1.2 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/40/90 ms

 

[r1]ping 192.168.1.6

  PING 192.168.1.6: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.6: bytes=56 Sequence=1 ttl=255 time=50 ms

    Reply from 192.168.1.6: bytes=56 Sequence=2 ttl=255 time=20 ms

    Reply from 192.168.1.6: bytes=56 Sequence=3 ttl=255 time=20 ms

    Reply from 192.168.1.6: bytes=56 Sequence=4 ttl=255 time=20 ms

    Reply from 192.168.1.6: bytes=56 Sequence=5 ttl=255 time=20 ms

 

  --- 192.168.1.6 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/26/50 ms

 

[r1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]ip rout

[r1]ip route-s

[r1]ip route-static 0.0.0.0 0 192.168.1.2

[r1]ip rout

[r1]ip route-s

[r1]ip route-static 0.0.0.0 0 192.168.1.6

[r1]ip rout

[r1]ip route-s

[r1]ip route-static 192.168.1.64 27 192.168.1.2

[r1]ip route-static 192.168.1.96 27 192.168.1.6

[r1]ip rout

[r1]ip route-s

[r1]ip route-static 192.168.1.8 30 192.168.1.2

[r1]ip route-static 192.168.1.12 30 192.168.1.6

[r1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]ping 192.168.1.161

  PING 192.168.1.161: 56  data bytes, press CTRL_C to break

    Request time out

    Reply from 192.168.1.161: bytes=56 Sequence=2 ttl=253 time=40 ms

    Reply from 192.168.1.161: bytes=56 Sequence=3 ttl=253 time=40 ms

    Reply from 192.168.1.161: bytes=56 Sequence=4 ttl=253 time=40 ms

    Reply from 192.168.1.161: bytes=56 Sequence=5 ttl=253 time=40 ms

 

  --- 192.168.1.161 ping statistics ---

    5 packet(s) transmitted

    4 packet(s) received

    20.00% packet loss

    round-trip min/avg/max = 40/40/40 ms

 

[r1]ping 192.168.1.129

  PING 192.168.1.129: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.129: bytes=56 Sequence=1 ttl=254 time=30 ms

    Reply from 192.168.1.129: bytes=56 Sequence=2 ttl=254 time=30 ms

    Reply from 192.168.1.129: bytes=56 Sequence=3 ttl=254 time=30 ms

    Reply from 192.168.1.129: bytes=56 Sequence=4 ttl=254 time=30 ms

    Reply from 192.168.1.129: bytes=56 Sequence=5 ttl=254 time=30 ms

 

  --- 192.168.1.129 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 30/30/30 ms

 

[r1]ping 6.6.6.6

  PING 6.6.6.6: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

 

  --- 6.6.6.6 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

 

[r1]ping 192.168.1.14

  PING 192.168.1.14: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.14: bytes=56 Sequence=1 ttl=254 time=20 ms

    Reply from 192.168.1.14: bytes=56 Sequence=2 ttl=254 time=30 ms

    Reply from 192.168.1.14: bytes=56 Sequence=3 ttl=254 time=30 ms

    Reply from 192.168.1.14: bytes=56 Sequence=4 ttl=254 time=30 ms

    Reply from 192.168.1.14: bytes=56 Sequence=5 ttl=254 time=20 ms

 

  --- 192.168.1.14 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/26/30 ms

 

[r1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]ip rout

[r1]ip route-s

[r1]ip route-static 192.168.1.32 27 nu

[r1]ip route-static 192.168.1.32 27 NULL 0

[r1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]ping 6.6.6.6

  PING 6.6.6.6: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

 

  --- 6.6.6.6 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

 

[r1]ping 6.6.6.6

  PING 6.6.6.6: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

 

  --- 6.6.6.6 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

 

[r1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>

<r1>sys

Enter system view, return user view with Ctrl+Z.

[r1]aa

[r1-aaa]loc

[r1-aaa]local-user caomi p

[r1-aaa]local-user caomi pre

[r1-aaa]local-user caomi pri

[r1-aaa]local-user caomi privilege 15 c

[r1-aaa]local-user caomi privilege 15 ch

[r1-aaa]local-user caomi privilege le

[r1-aaa]local-user caomi privilege level 15 ch

[r1-aaa]local-user caomi privilege level 15 pass

[r1-aaa]local-user caomi privilege level 15 password c

[r1-aaa]local-user caomi privilege level 15 password cipher 1234

Info: Add a new user.

[r1-aaa]loc

[r1-aaa]local-user caomi se

[r1-aaa]local-user caomi service-type ta

[r1-aaa]local-user caomi service-type te

[r1-aaa]local-user caomi service-type telnet

[r1-aaa]q

[r1]user

[r1]user-in

[r1]user-interface vt

[r1]user-interface vty 0 4

[r1-ui-vty0-4]auth

[r1-ui-vty0-4]authentication-mode aaa

[r1-ui-vty0-4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r1>

<r1>sav

<r1>save

  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 take effect after being activated

<r1>

R2

The device is running!

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r1

[r1]sysname r2

[r2]interf

[r2]interface l

[r2]interface LoopBack 0

[r2-LoopBack0]ip add

[r2-LoopBack0]ip address 192.168.1.65 28

[r2-LoopBack0]q

[r2]interf

[r2]interface l

[r2]interface LoopBack 1

[r2-LoopBack1]ip add

[r2-LoopBack1]ip address 192.168.1.81 28

[r2-LoopBack1]

[r2-LoopBack1]

[r2-LoopBack1]

[r2-LoopBack1]q

[r2]q

<r2>sav

  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 take effect after being activated

<r2>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r2>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r2>sys

Enter system view, return user view with Ctrl+Z.

[r2]interf

[r2]interface g

[r2]interface GigabitEthernet0/0/0

[r2-GigabitEthernet0/0/0]ip add

[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 30

May 16 2021 20:09:29-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[r2-GigabitEthernet0/0/0]q

[r2]interf

[r2]interface g

[r2]interface GigabitEthernet0/0/1

[r2-GigabitEthernet0/0/1]ip add

[r2-GigabitEthernet0/0/1]ip address 192.168.1.9 30

May 16 2021 20:09:56-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/1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r2>sys

Enter system view, return user view with Ctrl+Z.

[r2]ip rout

[r2]ip route-s

[r2]ip route-static 0.0.0.0 0 192.168.1.10

[r2]ip rout

[r2]ip route-s

[r2]ip route-static 192.168.1.32 27 192.168.1.1

[r2]ip route-static 192.168.1.94 27 192.168.1.1

Info: The destination address and mask of the configured static route mismatched

, and the static route 192.168.1.64/27 was generated.

[r2]ip route-static 192.168.1.96 27 192.168.1.1

[r2]ip route-static 192.168.1.96 27 192.168.1.9

Error: The next-hop address is invalid.

[r2]ip route-static 192.168.1.96 27 192.168.1.10

[r2]ip route-static 192.168.1.4 30 192.168.1.1

[r2]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r2>

<r2>sys

Enter system view, return user view with Ctrl+Z.

[r2]ip rout

[r2]ip route-s

[r2]ip route-static 192.168.64 27 nu

[r2]ip route-static 192.168.64 27 null 0

                    ^

Error: Wrong parameter found at '^' position.

[r2]ip route-static 192.168.1.64 27 nu

[r2]ip route-static 192.168.1.64 27 NULL 0

[r2]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r2>sa

<r2>save

  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 take effect after being activated

<r2>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

R3

The device is running!

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysnamer3

        ^

Error: Unrecognized command found at '^' position.

[Huawei]sysname r3

[r3]intrf

[r3]int

[r3]interface l

[r3]interface LoopBack 0

[r3-LoopBack0]ip add

[r3-LoopBack0]ip address 192.168.1.95 28

Error: The specified IP address is invalid.

[r3-LoopBack0]q

[r3]intrf

[r3]intr

[r3]inter

[r3]interface g

[r3]interface GigabitEthernet0/0/2

[r3-GigabitEthernet0/0/2]ip add

[r3-GigabitEthernet0/0/2]ip address 192.168.1.97 27

May 16 2021 19:54:58-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/2 has entered the UP state.

[r3-GigabitEthernet0/0/2]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r3>

<r3>sys

Enter system view, return user view with Ctrl+Z.

[r3]interf

[r3]interface g

[r3]interface GigabitEthernet0/0/0

[r3-GigabitEthernet0/0/0]ip add

[r3-GigabitEthernet0/0/0]ip address 192.168.1.13 30

May 16 2021 20:10:45-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[r3-GigabitEthernet0/0/0]q

[r3]interf

[r3]interface g

[r3]interface GigabitEthernet 0/0/1

[r3-GigabitEthernet0/0/1]ip add

[r3-GigabitEthernet0/0/1]ip address 192.168.1.6 30

May 16 2021 20:11:07-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[r3-GigabitEthernet0/0/1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r3>

<r3>sys

Enter system view, return user view with Ctrl+Z.

[r3]ip rout

[r3]ip route-s

[r3]ip route-static 0.0.0.0 0 192.168.1.14

[r3]ip rout

[r3]ip route-s

[r3]ip route-static 192.168.1.32 27 192.168.1.5

[r3]ip route-static 192.168.1.64 27 192.168.1.5

[r3]ip route-static 192.168.1.64 27 192.168.1.14

[r3]ip route-static 192.168.1.0 30 192.168.1.5

[r3]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r3>

<r3>sys

Enter system view, return user view with Ctrl+Z.

[r3]dhcp

         ^

Error:Incomplete command found at '^' position.

[r3]dhcp en

[r3]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done.

[r3]ip poo

[r3]ip pool a

Info: It's successful to create an IP address pool.

[r3-ip-pool-a]netw

[r3-ip-pool-a]network 192.168.1.96 ma

[r3-ip-pool-a]network 192.168.1.96 mask 27

[r3-ip-pool-a]gat

[r3-ip-pool-a]gateway-list 192.168.1.92

Error:The network section should be within the subnet of the pool.

[r3-ip-pool-a]gateway-list 192.168.1.97

[r3-ip-pool-a]dns

[r3-ip-pool-a]dns-list 8.8.8.8

[r3-ip-pool-a]q

[r3]interf

[r3]interface g

[r3]interface GigabitEthernet0/0/2

[r3-GigabitEthernet0/0/2]dhcp

[r3-GigabitEthernet0/0/2]dhcp  s

[r3-GigabitEthernet0/0/2]dhcp  select g

[r3-GigabitEthernet0/0/2]dhcp  select global

[r3-GigabitEthernet0/0/2]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r3>

<r3>sav

<r3>save

  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 take effect after being activated

<r3>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

R4

The device is running!

 

<Huawei>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r4

[r4]intrf

[r4]inter

[r4]interface l

[r4]interface LoopBack 0

[r4-LoopBack0]ip add

[r4-LoopBack0]ip address 192.168.1.129 28

[r4-LoopBack0]q

[r4]interf

[r4]interface l

[r4]interface LoopBack 1

[r4-LoopBack1]ip add

[r4-LoopBack1]ip address 192.168.1.145 28

[r4-LoopBack1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/0

[r4-GigabitEthernet0/0/0]ip add

[r4-GigabitEthernet0/0/0]ip address 192.168.1.10 30

May 16 2021 20:12:06-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[r4-GigabitEthernet0/0/0]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/1

[r4-GigabitEthernet0/0/1]ip add

[r4-GigabitEthernet0/0/1]ip address 192.168.1.14 30

May 16 2021 20:12:32-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[r4-GigabitEthernet0/0/1]q

[r4]interf

[r4]interface e

[r4]interface Eth

[r4]interface Ethernet4/0/0

[r4-Ethernet4/0/0]ip add

[r4-Ethernet4/0/0]ip address 192.168.1.17 30

[r4-Ethernet4/0/0]

May 16 2021 20:13:21-08:00 r4 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP

on the interface Ethernet4/0/0 has entered the UP state.

[r4-Ethernet4/0/0]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/2

[r4-GigabitEthernet0/0/2]ip add

[r4-GigabitEthernet0/0/2]ip address 192.168.1.21 30

[r4-GigabitEthernet0/0/2]

May 16 2021 20:13:46-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP

on the interface GigabitEthernet0/0/2 has entered the UP state.

[r4-GigabitEthernet0/0/2]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ping 192.168.1.18

  PING 192.168.1.18: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.18: bytes=56 Sequence=1 ttl=255 time=60 ms

    Reply from 192.168.1.18: bytes=56 Sequence=2 ttl=255 time=20 ms

    Reply from 192.168.1.18: bytes=56 Sequence=3 ttl=255 time=30 ms

    Reply from 192.168.1.18: bytes=56 Sequence=4 ttl=255 time=20 ms

    Reply from 192.168.1.18: bytes=56 Sequence=5 ttl=255 time=20 ms

 

  --- 192.168.1.18 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/30/60 ms

 

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 0.0.0.0 0 192.168.1.18

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 192.168.1.32 27 192.168.1.9

[r4]ip route-static 192.168.1.64 27 192.168.1.9

[r4]ip route-static 192.168.1.0 30 192.168.1.9

[r4]ip route-static 192.168.1.4 30 192.168.1.13

[r4]ip route-static 192.168.1.96 27 192.168.1.13

[r4]ip route-static 192.168.1.96 32 192.168.1.13

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 0.0.0.0 0 192.168.1.22 pref

[r4]ip route-static 0.0.0.0 0 192.168.1.22 preference 61

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 192.168.1.128 27 nu

[r4]ip route-static 192.168.1.128 27 NULL 0

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>a

    ^

Error:Ambiguous command found at '^' position.

<r4>y

    ^

Error: Unrecognized command found at '^' position.

<r4>sav

<r4>save

  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 take effect after being activated

<r4>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

R5

The device is running!

 

<Huawei>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r4

[r4]intrf

[r4]inter

[r4]interface l

[r4]interface LoopBack 0

[r4-LoopBack0]ip add

[r4-LoopBack0]ip address 192.168.1.129 28

[r4-LoopBack0]q

[r4]interf

[r4]interface l

[r4]interface LoopBack 1

[r4-LoopBack1]ip add

[r4-LoopBack1]ip address 192.168.1.145 28

[r4-LoopBack1]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/0

[r4-GigabitEthernet0/0/0]ip add

[r4-GigabitEthernet0/0/0]ip address 192.168.1.10 30

May 16 2021 20:12:06-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[r4-GigabitEthernet0/0/0]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/1

[r4-GigabitEthernet0/0/1]ip add

[r4-GigabitEthernet0/0/1]ip address 192.168.1.14 30

May 16 2021 20:12:32-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[r4-GigabitEthernet0/0/1]q

[r4]interf

[r4]interface e

[r4]interface Eth

[r4]interface Ethernet4/0/0

[r4-Ethernet4/0/0]ip add

[r4-Ethernet4/0/0]ip address 192.168.1.17 30

[r4-Ethernet4/0/0]

May 16 2021 20:13:21-08:00 r4 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP

on the interface Ethernet4/0/0 has entered the UP state.

[r4-Ethernet4/0/0]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/2

[r4-GigabitEthernet0/0/2]ip add

[r4-GigabitEthernet0/0/2]ip address 192.168.1.21 30

[r4-GigabitEthernet0/0/2]

May 16 2021 20:13:46-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP

on the interface GigabitEthernet0/0/2 has entered the UP state.

[r4-GigabitEthernet0/0/2]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ping 192.168.1.18

  PING 192.168.1.18: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.18: bytes=56 Sequence=1 ttl=255 time=60 ms

    Reply from 192.168.1.18: bytes=56 Sequence=2 ttl=255 time=20 ms

    Reply from 192.168.1.18: bytes=56 Sequence=3 ttl=255 time=30 ms

    Reply from 192.168.1.18: bytes=56 Sequence=4 ttl=255 time=20 ms

    Reply from 192.168.1.18: bytes=56 Sequence=5 ttl=255 time=20 ms

 

  --- 192.168.1.18 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/30/60 ms

 

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 0.0.0.0 0 192.168.1.18

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 192.168.1.32 27 192.168.1.9

[r4]ip route-static 192.168.1.64 27 192.168.1.9

[r4]ip route-static 192.168.1.0 30 192.168.1.9

[r4]ip route-static 192.168.1.4 30 192.168.1.13

[r4]ip route-static 192.168.1.96 27 192.168.1.13

[r4]ip route-static 192.168.1.96 32 192.168.1.13

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 0.0.0.0 0 192.168.1.22 pref

[r4]ip route-static 0.0.0.0 0 192.168.1.22 preference 61

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>

<r4>sys

Enter system view, return user view with Ctrl+Z.

[r4]ip rout

[r4]ip route-s

[r4]ip route-static 192.168.1.128 27 nu

[r4]ip route-static 192.168.1.128 27 NULL 0

[r4]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r4>a

    ^

Error:Ambiguous command found at '^' position.

<r4>y

    ^

Error: Unrecognized command found at '^' position.

<r4>sav

<r4>save

  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 take effect after being activated

<r4>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

R6

The device is running!

 

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r6

[r6]inter

[r6]interface g

[r6]interface GigabitEthernet 0/0/0

[r6-GigabitEthernet0/0/0]ip add

[r6-GigabitEthernet0/0/0]ip address 56.1.1.2 24

May 16 2021 20:20:22-08:00 r6 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[r6-GigabitEthernet0/0/0]q

[r6]interf

[r6]interface

[r6]interface l

[r6]interface LoopBack 0

[r6-LoopBack0]ip add

[r6-LoopBack0]ip address 6.6.6.6 24

[r6-LoopBack0]

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

<r6>sys

Enter system view, return user view with Ctrl+Z.

[r6]te

[r6]tcp

[r6]tel

[r6]telnet 56.1.1.1

           ^

Error: Unrecognized command found at '^' position.

[r6]

[r6]q

<r6>tale

<r6>tale 56.1.1.1

    ^

Error: Unrecognized command found at '^' position.

<r6>telnet 56.1.1.1

  Press CTRL_] to quit telnet mode

  Trying 56.1.1.1 ...

  Connected to 56.1.1.1 ...

 

Login authentication

 

 

Username:caomi

Password:

<r1>sav

<r1>save

  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 take effect after being activated

<r1>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please retry to log on

 

  The connection was closed by the remote host

<r6>

 

  Please check whether system data has been changed, and save data in time

 

  Configuration console time out, please press any key to log on

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值