ospf 大实验

 

 

 

 

R1

The device is running!

 

<Huawei>

<Huawei>

<Huawei>SYS

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

[Huawei]sysname r1

[r1]interf

[r1]interface g

[r1]interface GigabitEthernet 0/0/0

[r1-GigabitEthernet0/0/0]ip add 172.16.32.129 29

Jun  6 2021 20:46:06-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/0]q

[r1]interf

[r1]interface l

[r1]interface LoopBack 0

[r1-LoopBack0]ip add 172.16.33.1 25

[r1-LoopBack0]q

[r1]q

<r1>ping 172.16.32.131

  PING 172.16.32.131: 56  data bytes, press CTRL_C to break

    Reply from 172.16.32.131: bytes=56 Sequence=1 ttl=255 time=210 ms

    Reply from 172.16.32.131: bytes=56 Sequence=2 ttl=255 time=40 ms

    Reply from 172.16.32.131: bytes=56 Sequence=3 ttl=255 time=60 ms

    Reply from 172.16.32.131: bytes=56 Sequence=4 ttl=255 time=40 ms

    Reply from 172.16.32.131: bytes=56 Sequence=5 ttl=255 time=30 ms

 

  --- 172.16.32.131 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 30/76/210 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]ospf 1

[r1-ospf-1]ospf 1 rou

[r1-ospf-1]rout

[r1-ospf-1]route-id

[r1-ospf-1]route-id 1.1.1.1

           ^

Error: Unrecognized command found at '^' position.

[r1-ospf-1]ospf 1 rout

[r1-ospf-1]ospf 1 route-id 1.1.1.1

                  ^

Error: Unrecognized command found at '^' position.

[r1-ospf-1]q

[r1]ospf 1 route-id 1.1.1.1

           ^

Error:Too many parameters found at '^' position.

[r1]ospf 1 router-id 1.1.1.1

Info: The configuration succeeded. You need to restart the OSPF process to valid

ate the new router ID.

[r1-ospf-1]ar

[r1-ospf-1]area 1

[r1-ospf-1-area-0.0.0.1]netw

[r1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.0.0

[r1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.255.255

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:03-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

 

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:03-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:35-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:36-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E

xchange)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:36-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa

ding)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:36-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

 

[r1-ospf-1-area-0.0.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>

<r1>os

<r1>sys

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

[r1]ospf 1

[r1-ospf-1]ar

[r1-ospf-1]area 1

[r1-ospf-1-area-0.0.0.1]st

[r1-ospf-1-area-0.0.0.1]stub

Jun  6 2021 22:03:42-08:00 r1 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neigh

bor state changed to Down. (ProcessId=256, NeighborAddress=1.1.1.1, NeighborEven

t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 22:03:42-08:00 r1 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state le

aves full or changed to Down. (ProcessId=256, NeighborRouterId=1.1.1.1, Neighbor

AreaId=16777216, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate re

ason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Area reset, Nei

ghborChangeTime=2021-06-06 22:03:42-08:00)

[r1-ospf-1-area-0.0.0.1]q

[r1-ospf-1]q

[r1]

 

 

R5

Please press enter to start cmd line!

################################################################################

##################################################

<Huawei>

Jun  6 2021 19:59:23-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt

hernet0/0/0 has turned into UP state.

<Huawei>

Jun  6 2021 19:59:31-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEt

hernet0/0/1 has turned into UP state.

<Huawei>

Jun  6 2021 19:59:38-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[2]:Interface GigabitEt

hernet0/0/2 has turned into UP state.

<Huawei>

Jun  6 2021 19:59:46-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[3]:Interface GigabitEt

hernet4/0/0 has turned into UP state.

<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>

<Huawei>

<Huawei>sys

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

[Huawei]sysname r4

[r4]intef

[r4]in

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/0

[r4-GigabitEthernet0/0/0]ip add

[r4-GigabitEthernet0/0/0]ip address 34.1.1.2 24

Jun  6 2021 20:05:16-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 4/0/0

[r4-GigabitEthernet4/0/0]ip add

[r4-GigabitEthernet4/0/0]ip address 74.1.1.2 24

Jun  6 2021 20:05:47-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

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

[r4-GigabitEthernet4/0/0]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/2

[r4-GigabitEthernet0/0/2]ip add 64.1.1.2 24

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

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

[r4-GigabitEthernet0/0/2]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/1

[r4-GigabitEthernet0/0/1]ip add 54.1.1.2 24

[r4-GigabitEthernet0/0/1]

Jun  6 2021 20:06:40-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP

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

[r4-GigabitEthernet0/0/1]q

[r4]interf

[r4]interface l

[r4]interface LoopBack o

                       ^

Error: Wrong parameter found at '^' position.

[r4]interface LoopBack 0

[r4-LoopBack0]ip add 4.4.4.4

                             ^

Error:Incomplete command found at '^' position.

[r4-LoopBack0]ip add 4.4.4.4 24

[r4-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

 

<r4>

<r4>sys

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

[r4]disp

[r4]display ip

[r4]display ipint

[r4]display ip inter

[r4]display ip interface b

[r4]display ip interface brief

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 6

The number of interface that is DOWN in Physical is 0

The number of interface that is UP in Protocol is 6

The number of interface that is DOWN in Protocol is 0

 

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              34.1.1.2/24          up         up        

GigabitEthernet0/0/1              54.1.1.2/24          up         up        

GigabitEthernet0/0/2              64.1.1.2/24          up         up        

GigabitEthernet4/0/0              74.1.1.2/24          up         up        

LoopBack0                         4.4.4.4/24           up         up(s)     

NULL0                             unassigned           up         up(s)     

[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

 

 

R11

The device is running!

 

<Huawei>sys

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

[Huawei]sysname r11

[r11]interf

[r11]interface g

[r11]interface GigabitEthernet 0/0/0

[r11-GigabitEthernet0/0/0]ip add 172.16.64.2 30

[r11-GigabitEthernet0/0/0]

Jun  6 2021 20:53:38-08:00 r11 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

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

[r11-GigabitEthernet0/0/0]q

[r11]interf

[r11]interface g

[r11]interface GigabitEthernet 0/0/1

[r11-GigabitEthernet0/0/1]ip add 172.16.64.5 30

Jun  6 2021 20:54:42-08:00 r11 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

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

[r11-GigabitEthernet0/0/1]q

[r11]interf

[r11]interface l

[r11]interface LoopBack 0

[r11-LoopBack0]ip add

[r11-LoopBack0]ip address 172.16.65.1 25

[r11-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

 

<r11>sys

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

[r11]ospf 1 rout

[r11]ospf 1 router-id 11.11.11.11

[r11-ospf-1]ar

[r11-ospf-1]area 2

[r11-ospf-1-area-0.0.0.2]nrtw

[r11-ospf-1-area-0.0.0.2]netw

[r11-ospf-1-area-0.0.0.2]network 172.16.0.0 0.0.255.255

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:40-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

 

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex

change)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load

ing)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

 

[r11-ospf-1-area-0.0.0.2]q

[r11-ospf-1]q

[r11]dis

[r11]display  osp

[r11]display  ospf p

[r11]display  ospf peer b

[r11]display  ospf peer brief

 

 OSPF Process 1 with Router ID 11.11.11.11

  Peer Statistic Information

 ----------------------------------------------------------------------------

 Area Id          Interface                        Neighbor id      State    

 0.0.0.2          GigabitEthernet0/0/1             12.12.12.12      Full        

 ----------------------------------------------------------------------------

[r11]

 

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

 

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

 

<r11>

<r11>sys

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

[r11]ospf 1

[r11-ospf-1]ar

[r11-ospf-1]area 2

[r11-ospf-1-area-0.0.0.2]na

[r11-ospf-1-area-0.0.0.2]ne

[r11-ospf-1-area-0.0.0.2]nssa

Jun  6 2021 22:05:27-08:00 r11 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neig

hbor state changed to Down. (ProcessId=256, NeighborAddress=12.12.12.12, Neighbo

rEvent=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 22:05:27-08:00 r11 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state l

eaves full or changed to Down. (ProcessId=256, NeighborRouterId=12.12.12.12, Nei

ghborAreaId=33554432, NeighborInterface=GigabitEthernet0/0/1,NeighborDownImmedia

te reason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Area reset

, NeighborChangeTime=2021-06-06 22:05:27-08:00)

[r11-ospf-1-area-0.0.0.2]

 

R12

 

The device is running!

 

<Huawei>sys

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

[Huawei]sysname r12

[r12]ip add 172.16.64.6 30

        ^

Error: Unrecognized command found at '^' position.

[r12]interf

[r12]interface g

[r12]interface GigabitEthernet 0/0/0

[r12-GigabitEthernet0/0/0]ip add

[r12-GigabitEthernet0/0/0]ip address 172.16.64.6 30

Jun  6 2021 20:55:45-08:00 r12 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

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

[r12-GigabitEthernet0/0/0]

 

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

 

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

 

<r12>ys

     ^

Error: Unrecognized command found at '^' position.

<r12>sys

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

[r12]interf

[r12]interface l

[r12]interface LoopBack 0

[r12-LoopBack0]ip add 172.16.160.1 20

[r12-LoopBack0]q

[r12]interf

[r12]interface l

[r12]interface LoopBack 1

[r12-LoopBack1]ip add

[r12-LoopBack1]ip address 172.16.176.1 20

[r12-LoopBack1]

 

  

 

 

R1

The device is running!

 

<Huawei>

<Huawei>

<Huawei>SYS

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

[Huawei]sysname r1

[r1]interf

[r1]interface g

[r1]interface GigabitEthernet 0/0/0

[r1-GigabitEthernet0/0/0]ip add 172.16.32.129 29

Jun  6 2021 20:46:06-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/0]q

[r1]interf

[r1]interface l

[r1]interface LoopBack 0

[r1-LoopBack0]ip add 172.16.33.1 25

[r1-LoopBack0]q

[r1]q

<r1>ping 172.16.32.131

  PING 172.16.32.131: 56  data bytes, press CTRL_C to break

    Reply from 172.16.32.131: bytes=56 Sequence=1 ttl=255 time=210 ms

    Reply from 172.16.32.131: bytes=56 Sequence=2 ttl=255 time=40 ms

    Reply from 172.16.32.131: bytes=56 Sequence=3 ttl=255 time=60 ms

    Reply from 172.16.32.131: bytes=56 Sequence=4 ttl=255 time=40 ms

    Reply from 172.16.32.131: bytes=56 Sequence=5 ttl=255 time=30 ms

 

  --- 172.16.32.131 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 30/76/210 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]ospf 1

[r1-ospf-1]ospf 1 rou

[r1-ospf-1]rout

[r1-ospf-1]route-id

[r1-ospf-1]route-id 1.1.1.1

           ^

Error: Unrecognized command found at '^' position.

[r1-ospf-1]ospf 1 rout

[r1-ospf-1]ospf 1 route-id 1.1.1.1

                  ^

Error: Unrecognized command found at '^' position.

[r1-ospf-1]q

[r1]ospf 1 route-id 1.1.1.1

           ^

Error:Too many parameters found at '^' position.

[r1]ospf 1 router-id 1.1.1.1

Info: The configuration succeeded. You need to restart the OSPF process to valid

ate the new router ID.

[r1-ospf-1]ar

[r1-ospf-1]area 1

[r1-ospf-1-area-0.0.0.1]netw

[r1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.0.0

[r1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.255.255

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:03-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

 

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:03-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:35-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:36-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E

xchange)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:36-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa

ding)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 21:18:36-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve

nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig

hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

 

[r1-ospf-1-area-0.0.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>

<r1>os

<r1>sys

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

[r1]ospf 1

[r1-ospf-1]ar

[r1-ospf-1]area 1

[r1-ospf-1-area-0.0.0.1]st

[r1-ospf-1-area-0.0.0.1]stub

Jun  6 2021 22:03:42-08:00 r1 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neigh

bor state changed to Down. (ProcessId=256, NeighborAddress=1.1.1.1, NeighborEven

t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)

[r1-ospf-1-area-0.0.0.1]

Jun  6 2021 22:03:42-08:00 r1 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state le

aves full or changed to Down. (ProcessId=256, NeighborRouterId=1.1.1.1, Neighbor

AreaId=16777216, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate re

ason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Area reset, Nei

ghborChangeTime=2021-06-06 22:03:42-08:00)

[r1-ospf-1-area-0.0.0.1]q

[r1-ospf-1]q

[r1]

 

 

R5

Please press enter to start cmd line!

################################################################################

##################################################

<Huawei>

Jun  6 2021 19:59:23-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt

hernet0/0/0 has turned into UP state.

<Huawei>

Jun  6 2021 19:59:31-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEt

hernet0/0/1 has turned into UP state.

<Huawei>

Jun  6 2021 19:59:38-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[2]:Interface GigabitEt

hernet0/0/2 has turned into UP state.

<Huawei>

Jun  6 2021 19:59:46-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[3]:Interface GigabitEt

hernet4/0/0 has turned into UP state.

<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>

<Huawei>

<Huawei>sys

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

[Huawei]sysname r4

[r4]intef

[r4]in

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/0

[r4-GigabitEthernet0/0/0]ip add

[r4-GigabitEthernet0/0/0]ip address 34.1.1.2 24

Jun  6 2021 20:05:16-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 4/0/0

[r4-GigabitEthernet4/0/0]ip add

[r4-GigabitEthernet4/0/0]ip address 74.1.1.2 24

Jun  6 2021 20:05:47-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

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

[r4-GigabitEthernet4/0/0]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/2

[r4-GigabitEthernet0/0/2]ip add 64.1.1.2 24

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

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

[r4-GigabitEthernet0/0/2]q

[r4]interf

[r4]interface g

[r4]interface GigabitEthernet 0/0/1

[r4-GigabitEthernet0/0/1]ip add 54.1.1.2 24

[r4-GigabitEthernet0/0/1]

Jun  6 2021 20:06:40-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP

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

[r4-GigabitEthernet0/0/1]q

[r4]interf

[r4]interface l

[r4]interface LoopBack o

                       ^

Error: Wrong parameter found at '^' position.

[r4]interface LoopBack 0

[r4-LoopBack0]ip add 4.4.4.4

                             ^

Error:Incomplete command found at '^' position.

[r4-LoopBack0]ip add 4.4.4.4 24

[r4-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

 

<r4>

<r4>sys

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

[r4]disp

[r4]display ip

[r4]display ipint

[r4]display ip inter

[r4]display ip interface b

[r4]display ip interface brief

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 6

The number of interface that is DOWN in Physical is 0

The number of interface that is UP in Protocol is 6

The number of interface that is DOWN in Protocol is 0

 

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              34.1.1.2/24          up         up        

GigabitEthernet0/0/1              54.1.1.2/24          up         up        

GigabitEthernet0/0/2              64.1.1.2/24          up         up        

GigabitEthernet4/0/0              74.1.1.2/24          up         up        

LoopBack0                         4.4.4.4/24           up         up(s)     

NULL0                             unassigned           up         up(s)     

[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

 

 

R11

The device is running!

 

<Huawei>sys

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

[Huawei]sysname r11

[r11]interf

[r11]interface g

[r11]interface GigabitEthernet 0/0/0

[r11-GigabitEthernet0/0/0]ip add 172.16.64.2 30

[r11-GigabitEthernet0/0/0]

Jun  6 2021 20:53:38-08:00 r11 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

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

[r11-GigabitEthernet0/0/0]q

[r11]interf

[r11]interface g

[r11]interface GigabitEthernet 0/0/1

[r11-GigabitEthernet0/0/1]ip add 172.16.64.5 30

Jun  6 2021 20:54:42-08:00 r11 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

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

[r11-GigabitEthernet0/0/1]q

[r11]interf

[r11]interface l

[r11]interface LoopBack 0

[r11-LoopBack0]ip add

[r11-LoopBack0]ip address 172.16.65.1 25

[r11-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

 

<r11>sys

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

[r11]ospf 1 rout

[r11]ospf 1 router-id 11.11.11.11

[r11-ospf-1]ar

[r11-ospf-1]area 2

[r11-ospf-1-area-0.0.0.2]nrtw

[r11-ospf-1-area-0.0.0.2]netw

[r11-ospf-1-area-0.0.0.2]network 172.16.0.0 0.0.255.255

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:40-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

 

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex

change)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load

ing)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 21:39:48-08:00 r11 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes ev

ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh

borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

 

[r11-ospf-1-area-0.0.0.2]q

[r11-ospf-1]q

[r11]dis

[r11]display  osp

[r11]display  ospf p

[r11]display  ospf peer b

[r11]display  ospf peer brief

 

 OSPF Process 1 with Router ID 11.11.11.11

  Peer Statistic Information

 ----------------------------------------------------------------------------

 Area Id          Interface                        Neighbor id      State    

 0.0.0.2          GigabitEthernet0/0/1             12.12.12.12      Full        

 ----------------------------------------------------------------------------

[r11]

 

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

 

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

 

<r11>

<r11>sys

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

[r11]ospf 1

[r11-ospf-1]ar

[r11-ospf-1]area 2

[r11-ospf-1-area-0.0.0.2]na

[r11-ospf-1-area-0.0.0.2]ne

[r11-ospf-1-area-0.0.0.2]nssa

Jun  6 2021 22:05:27-08:00 r11 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neig

hbor state changed to Down. (ProcessId=256, NeighborAddress=12.12.12.12, Neighbo

rEvent=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)

[r11-ospf-1-area-0.0.0.2]

Jun  6 2021 22:05:27-08:00 r11 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state l

eaves full or changed to Down. (ProcessId=256, NeighborRouterId=12.12.12.12, Nei

ghborAreaId=33554432, NeighborInterface=GigabitEthernet0/0/1,NeighborDownImmedia

te reason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Area reset

, NeighborChangeTime=2021-06-06 22:05:27-08:00)

[r11-ospf-1-area-0.0.0.2]

 

R12

 

The device is running!

 

<Huawei>sys

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

[Huawei]sysname r12

[r12]ip add 172.16.64.6 30

        ^

Error: Unrecognized command found at '^' position.

[r12]interf

[r12]interface g

[r12]interface GigabitEthernet 0/0/0

[r12-GigabitEthernet0/0/0]ip add

[r12-GigabitEthernet0/0/0]ip address 172.16.64.6 30

Jun  6 2021 20:55:45-08:00 r12 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

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

[r12-GigabitEthernet0/0/0]

 

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

 

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

 

<r12>ys

     ^

Error: Unrecognized command found at '^' position.

<r12>sys

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

[r12]interf

[r12]interface l

[r12]interface LoopBack 0

[r12-LoopBack0]ip add 172.16.160.1 20

[r12-LoopBack0]q

[r12]interf

[r12]interface l

[r12]interface LoopBack 1

[r12-LoopBack1]ip add

[r12-LoopBack1]ip address 172.16.176.1 20

[r12-LoopBack1]

 

  

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值