反射器与联邦实验

配置设备

R1:

<Huawei>
<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]SYS r1
[r1]INT l	
[r1]INT LoopBack 0	
[r1]INT LoopBack 0
[r1-LoopBack0]ip address 192.168.1.1 24
[r1-LoopBack0]int l 1
[r1-LoopBack1]ip address 10.1.1.1 24
[r1-LoopBack1]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip address 12.0.0.1 24
May 26 2024 17:34:03-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]
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]bgp 1
[r1-bgp]ro	
[r1-bgp]route-select
[r1-bgp]router-id 1.1.1.1
[r1-bgp]peer 12.0.0.2 as	
[r1-bgp]peer 12.0.0.2 as-number 2
[r1-bgp]
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]bgp 1
[r1-bgp]net	
[r1-bgp]network 10.1.1.0 24
[r1-bgp]
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]int t	
[r1]int Tunnel 0/0/0
[r1-Tunnel0/0/0]ip ad	
[r1-Tunnel0/0/0]ip address 18.0.0.1 24
[r1-Tunnel0/0/0]t	
[r1-Tunnel0/0/0]tu	
[r1-Tunnel0/0/0]tunnel-protocol gr	
[r1-Tunnel0/0/0]tunnel-protocol gre 
[r1-Tunnel0/0/0]s	
[r1-Tunnel0/0/0]so	
[r1-Tunnel0/0/0]source 10.1.1.1
[r1-Tunnel0/0/0]
[r1-Tunnel0/0/0]de	
[r1-Tunnel0/0/0]description 11.1.1.1
[r1-Tunnel0/0/0]
[r1-Tunnel0/0/0]
[r1-Tunnel0/0/0]q

R2

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r2
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip 	
[r2-GigabitEthernet0/0/0]ip a	
[r2-GigabitEthernet0/0/0]ip address 12.0.0.2 24
May 26 2024 17:35:55-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]int g 0/0/1
[r2-GigabitEthernet0/0/1]ip a	
[r2-GigabitEthernet0/0/1]ip accounting
[r2-GigabitEthernet0/0/1]ip address 172.16.0.1 30
May 26 2024 17:36:48-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]int g 0/0/2
[r2-GigabitEthernet0/0/2]ip a	
[r2-GigabitEthernet0/0/2]ip accounting
[r2-GigabitEthernet0/0/2]ip address 172.16.0.5 30
[r2-GigabitEthernet0/0/2]
May 26 2024 17:37:31-08:00 r2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r2-GigabitEthernet0/0/2]q
[r2]int l 0
[r2-LoopBack0]ip a	
[r2-LoopBack0]ip address 172.16.2.1 24
[r2-LoopBack0]q
[r2]
[r2]
[r2]int l 1
[r2-LoopBack1]ip ad	
[r2-LoopBack1]ip address 1.1.1.1 32
[r2-LoopBack1]1
              ^
Error: Unrecognized command found at '^' position.
[r2-LoopBack1]ip address 2.2.2.2 32
[r2-LoopBack1]
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]ping 12.0.0.1
  PING 12.0.0.1: 56  data bytes, press CTRL_C to break
    Reply from 12.0.0.1: bytes=56 Sequence=1 ttl=255 time=130 ms
    Reply from 12.0.0.1: bytes=56 Sequence=2 ttl=255 time=20 ms
    Reply from 12.0.0.1: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 12.0.0.1: bytes=56 Sequence=4 ttl=255 time=30 ms
    Reply from 12.0.0.1: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 12.0.0.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/46/130 ms

[r2]ping 172.16.0.2
  PING 172.16.0.2: 56  data bytes, press CTRL_C to break
    Reply from 172.16.0.2: bytes=56 Sequence=1 ttl=255 time=100 ms
    Reply from 172.16.0.2: bytes=56 Sequence=2 ttl=255 time=20 ms
    Reply from 172.16.0.2: bytes=56 Sequence=3 ttl=255 time=30 ms
    Reply from 172.16.0.2: bytes=56 Sequence=4 ttl=255 time=30 ms
    Reply from 172.16.0.2: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 172.16.0.2 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/42/100 ms

[r2]
[r2]
[r2]os	
[r2]ospf 1 r	
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]ar	
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]net	
[r2-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[r2-ospf-1-area-0.0.0.0]net	
[r2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:58:26-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:58:34-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:58:34-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:58:34-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:58:34-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.16.172, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:59:44-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.0.16.172, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:59:46-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.0.16.172, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:59:46-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.0.16.172, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:59:46-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.0.16.172, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r2-ospf-1-area-0.0.0.0]
May 26 2024 17:59:46-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.0.16.172, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r2-ospf-1-area-0.0.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

<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]bgp 2
[r2-bgp]undo bgp
[r2-bgp]q
[r2]undo bgp
Warning: All BGP configurations will be deleted. Continue? [Y/N]: y
[r2]bgp 64512
[r2-bgp]rou	
[r2-bgp]route-select
[r2-bgp]router-id 2.2.2.2
[r2-bgp]co	
[r2-bgp]compare-different-as-med
[r2-bgp]confederation i	
[r2-bgp]confederation id 2
[r2-bgp]com	
[r2-bgp]compare-different-as-med	
[r2-bgp]confederation p	
[r2-bgp]confederation peer-as 64513
[r2-bgp]peer 12.0.0.1 as	
[r2-bgp]peer 12.0.0.1 as-number 1
[r2-bgp]peer 3.3.3.3 as	
[r2-bgp]peer 3.3.3.3 as-path-filter
[r2-bgp]peer 3.3.3.3 as-number 64512
[r2-bgp]peer 3.3.3.3 
May 26 2024 18:05:55-08:00 r2 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
 peer 12.0.0.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, St
ateChangeReason=Up)  
[r2-bgp]peer 3.3.3.3 con	
[r2-bgp]peer 3.3.3.3 connect-interface l	
[r2-bgp]peer 3.3.3.3 connect-interface LoopBack 0
[r2-bgp]peer 5.5.5.5 as	
[r2-bgp]peer 5.5.5.5 as-number 64513
[r2-bgp]peer 5.5.5.5 con	
[r2-bgp]peer 5.5.5.5 connect-interface l	
[r2-bgp]peer 5.5.5.5 connect-interface LoopBack 0
[r2-bgp]peer 5.5.5.5 eb	
[r2-bgp]peer 5.5.5.5 ebgp-max-hop 
[r2-bgp]
[r2-bgp]
[r2-bgp]peer 3.3.3.3 co	
[r2-bgp]peer 3.3.3.3 connect-interface l	
[r2-bgp]peer 3.3.3.3 connect-interface LoopBack 1
[r2-bgp]peer 5.5.5.5 co	
[r2-bgp]peer 5.5.5.5 connect-interface l	
[r2-bgp]peer 5.5.5.5 connect-interface LoopBack 1
[r2-bgp]
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]bgp 64512
[r2-bgp]peer 3.3.3.3 n	
[r2-bgp]peer 3.3.3.3 next-hop-invariable
[r2-bgp]peer 3.3.3.3 next-hop-local
[r2-bgp]peer 3.3.3.3 next-hop-local
[r2-bgp]
[r2-bgp]
[r2-bgp]peer 5.5.5.5 ne	
[r2-bgp]peer 5.5.5.5 next-hop-local
[r2-bgp]

  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 r	
[r2]ip rd-filter
[r2]ip rou	
[r2]ip route
[r2]ip route-static 172.16.0.0 21 n	
[r2]ip route-static 172.16.0.0 21 NULL 0
[r2]bgp 64512
[r2-bgp]netw	
[r2-bgp]network 172.16.0.0
Info: The network does not exist.
[r2-bgp]n	
[r2-bgp]network 172.16.0.0 21 
[r2-bgp]
<r2>syss
    ^
Error: Unrecognized command found at '^' position.
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]bgp 64512
[r2-bgp]dis	
[r2-bgp]display bgp peer	
[r2-bgp]display bgp peer 

 BGP local router ID : 2.2.2.2
 Local AS number : 64512
 Total number of peers : 3		  Peers in established state : 3

  Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State Pre
fRcv

  3.3.3.3         4       64512       87       89     0 01:23:21 Established    
   0
  5.5.5.5         4       64513       81       87     0 01:19:20 Established    
   0
  12.0.0.1        4           1       93       93     0 01:30:09 Established    
   1
[r2-bgp]
<r2>

R3

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r3
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip ad	
[r3-GigabitEthernet0/0/0]ip address 172.16.0.2 30
May 26 2024 17:39:34-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]
[r3-GigabitEthernet0/0/0]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip a	
[r3-GigabitEthernet0/0/1]ip accounting
[r3-GigabitEthernet0/0/1]ip address 172.16.0.9 30
May 26 2024 17:39:56-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]int l 0
[r3-LoopBack0]ip d	
[r3-LoopBack0]ip ad	
[r3-LoopBack0]ip address 172.16.3.1 24
[r3-LoopBack0]int l 1
[r3-LoopBack1]ip ad	
[r3-LoopBack1]ip address 3.3.3.3 32
[r3-LoopBack1]
<r3>sys
Enter system view, return user view with Ctrl+Z.
[r3]os	
[r3]ospf 1
[r3-ospf-1]q
[r3]os	
[r3]ospfv3
[r3]ospf 1 ro	
[r3]ospf 1 router-id 3.3.3.3
Info: The configuration succeeded. You need to restart the OSPF process to valid
ate the new router ID.
[r3-ospf-1]ar	
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]netw	
[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]netw	
[r3-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[r3-ospf-1-area-0.0.0.0]
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:58:35-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:58:35-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:58:35-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:58:35-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:58:35-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:58:35-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.0.16.172, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:59:10-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=10.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:59:14-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=10.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart) 

[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:59:14-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=10.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:59:14-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=10.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng) 
[r3-ospf-1-area-0.0.0.0]
May 26 2024 17:59:14-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r3-ospf-1-area-0.0.0.0]
<r3>
<r3>sys
Enter system view, return user view with Ctrl+Z.
[r3]bgp 64512
[r3-bgp]rou	
[r3-bgp]route-select
[r3-bgp]router-id 3.3.3.3
[r3-bgp]con	
[r3-bgp]confederation 
[r3-bgp]confederation i	
[r3-bgp]confederation id 2
[r3-bgp]peer 2.2.2.2 as	
[r3-bgp]peer 2.2.2.2 as-number64512
                     ^
Error: Unrecognized command found at '^' position.
[r3-bgp]peer 2.2.2.2 as-number 64512 
[r3-bgp]peer 4.4.4.4 as	
[r3-bgp]peer 4.4.4.4 as-path-filter
[r3-bgp]peer 4.4.4.4 as-number 64512
[r3-bgp]peer 2.2.2.2 con	
[r3-bgp]peer 2.2.2.2 connect-interface  l	
[r3-bgp]peer 2.2.2.2 connect-interface  LoopBack 0
[r3-bgp]peer 4.4.4.4 con	
[r3-bgp]peer 4.4.4.4 connect-interface l	
[r3-bgp]peer 4.4.4.4 connect-interface LoopBack 0
[r3-bgp]
[r3-bgp]
[r3-bgp]peer 2.2.2.2 co	
[r3-bgp]peer 2.2.2.2 connect-interface l	
[r3-bgp]peer 2.2.2.2 connect-interface LoopBack 1
[r3-bgp]peer 4.4.4.4 con	
[r3-bgp]peer 4.4.4.4 connect-interface  l 1
[r3-bgp]
<r3>sys
Enter system view, return user view with Ctrl+Z.
[r3]bgp 64512
[r3-bgp]peer 2.2.2.2 re	
[r3-bgp]peer 2.2.2.2 reflect-client 
[r3-bgp]
<r3>

R4

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
            ^
Error:Incomplete command found at '^' position.
[Huawei]sys r4
[r4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip ad	
[r4-GigabitEthernet0/0/0]ip address 172.16.0.10 30
May 26 2024 17:42:07-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]int g 0/0/1
[r4-GigabitEthernet0/0/1]ip ad	
[r4-GigabitEthernet0/0/1]ip address 172.16.0.13 30
May 26 2024 17:42:34-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]int l 0
[r4-LoopBack0]ip add	
[r4-LoopBack0]ip address 172.16.4.1 24
[r4-LoopBack0]int l 1
[r4-LoopBack1]ip a	
[r4-LoopBack1]ip address 4.4.4.4 32
[r4-LoopBack1]
<r4>sys
Enter system view, return user view with Ctrl+Z.
[r4]os	
[r4]ospf 1 r	
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]a	
[r4-ospf-1]area 0
[r4-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[r4-ospf-1-area-0.0.0.0]
[r4-ospf-1-area-0.0.0.0]netw	
[r4-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:13-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.0.16.172, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r4-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:13-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.0.16.172, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r4-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:13-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.0.16.172, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r4-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:13-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.0.16.172, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r4-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:13-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.0.16.172, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r4-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:13-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.0.16.172, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[r4-ospf-1-area-0.0.0.0]
May 26 2024 18:00:53-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=14.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r4-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=14.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart) 

[r4-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=14.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r4-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=14.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng) 
[r4-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=14.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r4-ospf-1-area-0.0.0.0]
<r4>sys
Enter system view, return user view with Ctrl+Z.
[r4]bgp 64512
[r4-bgp]ro	
[r4-bgp]route-select
[r4-bgp]router-id 4.4.4.4
[r4-bgp]con	
[r4-bgp]confederation i	
[r4-bgp]confederation id 2
[r4-bgp]con	
[r4-bgp]confederation p	
[r4-bgp]confederation peer-as 64513
[r4-bgp]peer 3.3.3.3 as	
[r4-bgp]peer 3.3.3.3 as-number 64512
[r4-bgp]peer 3.3.3.3 co	
[r4-bgp]peer 3.3.3.3 connect-interface l	
[r4-bgp]peer 3.3.3.3 connect-interface LoopBack 0
[r4-bgp]peer 7.7.7.7 a	
[r4-bgp]peer 7.7.7.7 advertise-community
[r4-bgp]peer 7.7.7.7 advertise-ext-community
[r4-bgp]peer 7.7.7.7 allow-as-loop
[r4-bgp]peer 7.7.7.7 as-n	
[r4-bgp]peer 7.7.7.7 as-number 64513
[r4-bgp]peer 7.7.7.7 con	
[r4-bgp]peer 7.7.7.7 connect-interface l	
[r4-bgp]peer 7.7.7.7 connect-interface LoopBack 0
[r4-bgp]
[r4-bgp]
[r4-bgp]peer 4.4.4.4 co	
[r4-bgp]peer 4.4.4.4 connect-interface l	
[r4-bgp]peer 4.4.4.4 connect-interface LoopBack 1
Error: The peer session does not exist.
[r4-bgp]peer 3.3.3.3 con	
[r4-bgp]peer 3.3.3.3 connect-interface l	
[r4-bgp]peer 3.3.3.3 connect-interface LoopBack 1
[r4-bgp]peer 7.7.7.7 co	
[r4-bgp]peer 7.7.7.7 connect-interface l	
[r4-bgp]peer 7.7.7.7 connect-interface LoopBack 1
[r4-bgp]peer 7.7.7. eb	
[r4-bgp]peer 7.7.7. ebgp-max-hop 
Error: The peer-group does not exist.
[r4-bgp]peer 7.7.7.
May 26 2024 18:13:38-08:00 r4 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
 peer 3.3.3.3 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)  
[r4-bgp]peer 7.7.7. ebgp-max-hop7 ebgp-max-hop
[r4-bgp]peer 7.7.7.7 ebgp-max-hop
[r4-bgp]
<r4>

R5

<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r5
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ip a	
[r5-GigabitEthernet0/0/0]ip accounting
[r5-GigabitEthernet0/0/0]ip address 172.16.0.6 30
May 26 2024 17:44:03-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r5-GigabitEthernet0/0/0]int  g 0/0/1
[r5-GigabitEthernet0/0/1]ip address 172.16.0.21 30
May 26 2024 17:44:32-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r5-GigabitEthernet0/0/1]int l 0
[r5-LoopBack0]ip ad	
[r5-LoopBack0]ip address 172.16.5.1 24
[r5-LoopBack0]int l 1
[r5-LoopBack1]ip ad	
[r5-LoopBack1]ip address 5.5.5.5 32
[r5-LoopBack1]int g 0/0/1
[r5-GigabitEthernet0/0/1]ip ad	
[r5-GigabitEthernet0/0/1]ip address 172.16.0.17 30
[r5-GigabitEthernet0/0/1]
<r5>sys
Enter system view, return user view with Ctrl+Z.
[r5]os	
[r5]ospf 1 r 	
[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]a	
[r5-ospf-1]area 0 
[r5-ospf-1-area-0.0.0.0]net	
[r5-ospf-1-area-0.0.0.0]network network 172.16.0.0 0.0.255.255
                                ^
Error: Wrong parameter found at '^' position.
[r5-ospf-1-area-0.0.0.0]
[r5-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[r5-ospf-1-area-0.0.0.0]
[r5-ospf-1-area-0.0.0.0]netw
May 26 2024 17:59:45-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.0.16.172, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r5-ospf-1-area-0.0.0.0]netw
May 26 2024 17:59:45-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.0.16.172, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r5-ospf-1-area-0.0.0.0]netw
May 26 2024 17:59:45-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.0.16.172, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r5-ospf-1-area-0.0.0.0]netw
May 26 2024 17:59:46-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.0.16.172, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r5-ospf-1-area-0.0.0.0]netw	
[r5-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:46-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.0.16.172, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r5-ospf-1-area-0.0.0.0]network 
May 26 2024 17:59:46-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.0.16.172, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r5-ospf-1-area-0.0.0.0]network 5.5.5.5 0.0.0.0
[r5-ospf-1-area-0.0.0.0]
May 26 2024 18:00:29-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r5-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart) 

[r5-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r5-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng) 
[r5-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r5-ospf-1-area-0.0.0.0]
<r5>sys
Enter system view, return user view with Ctrl+Z.
[r5]bgp 64513
[r5-bgp]ro	
[r5-bgp]route-select 	
[r5-bgp]router-id 5.5.5.5
[r5-bgp]con	
[r5-bgp]confederation p	
[r5-bgp]confederation peer-as 64512
Error: Please configure the Confederation ID first.
[r5-bgp]con	
[r5-bgp]confederation i	
[r5-bgp]confederation id 2
[r5-bgp]con	
[r5-bgp]confederation p	
[r5-bgp]confederation peer-as 64512
[r5-bgp]peer 2.2.2.2 as	
[r5-bgp]peer 2.2.2.2 as-number 64512
[r5-bgp]peer 2.2.2.2 con	
[r5-bgp]peer 2.2.2.2 connect-interface l	
[r5-bgp]peer 2.2.2.2 connect-interface LoopBack 1
[r5-bgp]peer 6.6.6.6 a	
[r5-bgp]peer 6.6.6.6 advertise-community
[r5-bgp]peer 6.6.6.6 advertise-ext-community
[r5-bgp]peer 6.6.6.6 allow-as-loop
[r5-bgp]peer 6.6.6.6 as-number64513
                     ^
Error: Unrecognized command found at '^' position.
[r5-bgp]peer 6.6.6.6 as-number 64513
[r5-bgp]peer 2.2.2.2 eb	
[r5-bgp]peer 2.2.2.2 ebgp-max-hop 
[r5-bgp]peer 6.6.6.6 con	
[r5-bgp]peer 6.6.6.6 connect-interface l	
[r5-bgp]peer 6.6.6.6 connect-interface LoopBack 1
[r5-bgp]
<r5>

R6

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r6
[r6]int g 0/0/0
[r6-GigabitEthernet0/0/0]ip ad	
[r6-GigabitEthernet0/0/0]ip address 172.16.0.18 30 
May 26 2024 17:47:08-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]int g 0/0/1
[r6-GigabitEthernet0/0/1]ip ad	
[r6-GigabitEthernet0/0/1]ip address 172.16.0.21 30
May 26 2024 17:47:28-08:00 r6 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r6-GigabitEthernet0/0/1]int l 0
[r6-LoopBack0]ip ad	
[r6-LoopBack0]ip address 172.16.6.1 24
[r6-LoopBack0]int l 1
[r6-LoopBack1]ip ad	
[r6-LoopBack1]ip address 6.6.6.6 32
[r6-LoopBack1]
<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]os	
[r6]ospf 1 r	
[r6]ospf 1 router-id 6.6.6.6
[r6-ospf-1]a	
[r6-ospf-1]area 0
[r6-ospf-1-area-0.0.0.0]net	
[r6-ospf-1-area-0.0.0.0]network 6.6.6.6 0.0.0.0
[r6-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[r6-ospf-1-area-0.0.0.0]
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:00:31-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:00:53-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=22.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:01:04-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=22.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:01:06-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=22.0.16.172, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:01:30-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=22.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:01:30-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=22.0.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing) 
[r6-ospf-1-area-0.0.0.0]
May 26 2024 18:01:30-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=22.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r6-ospf-1-area-0.0.0.0]
<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]bgp64512
    ^
Error: Unrecognized command found at '^' position.
[r6]bgp 64512
[r6-bgp]q
[r6]undo bgp
Warning: All BGP configurations will be deleted. Continue? [Y/N]: y
[r6]bgp 64513
[r6-bgp]r	
[r6-bgp]r	
[r6-bgp]reflector
[r6-bgp]reset
[r6-bgp]return
[r6-bgp]route-select
[r6-bgp]router-id 6.6.6.6
[r6-bgp]con	
[r6-bgp]confederation i	
[r6-bgp]confederation id 2
[r6-bgp]peer 5.5.5.5 as	
[r6-bgp]peer 5.5.5.5 as-number 64513
[r6-bgp]peer 5.5.5.5 co	
[r6-bgp]peer 5.5.5.5 connect-interface l	
[r6-bgp]peer 5.5.5.5 connect-interface LoopBack 1
[r6-bgp]peer 7.7.7.7 as	
[r6-bgp]peer 7.7.7.7 as-number64513
                     ^
Error: Unrecognized command found at '^' position.
[r6-bgp]peer 7.7.7.7 as-number 6451
[r6-bgp]peer 7.7.7.7 co	
[r6-bgp]peer 7.7.7.7 connect-interface l	
[r6-bgp]peer 7.7.7.7 connect-interface LoopBack 1
[r6-bgp]
May 26 2024 18:18:44-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
 peer 5.5.5.5 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)  
[r6-bgp]
<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]bgp 64513
[r6-bgp]peer 7.7.7.7re	
[r6-bgp]peer 7.7.7.7 re	
[r6-bgp]peer 7.7.7.7 reflect-client 
[r6-bgp]q
[r6]
<r6>

R7

<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r7
[r7]int g 0/0/0
[r7-GigabitEthernet0/0/0]ip ad	
[r7-GigabitEthernet0/0/0]ip address 172.16.0.14 30
[r7-GigabitEthernet0/0/0]
May 26 2024 17:49:00-08:00 r7 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r7-GigabitEthernet0/0/0]int g 0/0/1
[r7-GigabitEthernet0/0/1]ip addr	
[r7-GigabitEthernet0/0/1]ip address 172.16.0.22 30
May 26 2024 17:49:30-08:00 r7 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r7-GigabitEthernet0/0/1]int l 0
[r7-LoopBack0]ip ad	
[r7-LoopBack0]q
[r7]int g 0/0/2
[r7-GigabitEthernet0/0/2]ip ad	
[r7-GigabitEthernet0/0/2]ip address 78.0.0.7 24
May 26 2024 17:50:38-08:00 r7 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r7-GigabitEthernet0/0/2]int l 0
[r7-LoopBack0]ip ad	
[r7-LoopBack0]ip address 172.16.7.1 24
[r7-LoopBack0]int  l 1
[r7-LoopBack1]ip ad	
[r7-LoopBack1]ip address 7.7.7.7 32
[r7-LoopBack1]
[r7-LoopBack1]q
[r7]ping 78.0.0.8
  PING 78.0.0.8: 56  data bytes, press CTRL_C to break
    Reply from 78.0.0.8: bytes=56 Sequence=1 ttl=255 time=130 ms
    Reply from 78.0.0.8: bytes=56 Sequence=2 ttl=255 time=20 ms
    Reply from 78.0.0.8: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 78.0.0.8: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 78.0.0.8: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 78.0.0.8 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/42/130 ms

[r7]ping 172.16.0.21
  PING 172.16.0.21: 56  data bytes, press CTRL_C to break
    Reply from 172.16.0.21: bytes=56 Sequence=1 ttl=255 time=110 ms
    Reply from 172.16.0.21: bytes=56 Sequence=2 ttl=255 time=30 ms
    Reply from 172.16.0.21: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 172.16.0.21: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 172.16.0.21: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 172.16.0.21 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/40/110 ms

[r7]
[r7]
[r7]os	
[r7]ospf 1 r	
[r7]ospf 1 router-id 7.7.7.7
[r7-ospf-1]a	
[r7-ospf-1]area 0
[r7-ospf-1-area-0.0.0.0]net	
[r7-ospf-1-area-0.0.0.0]network 7.7.7.7 0.0.0.0
[r7-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[r7-ospf-1-area-0.0.0.0]
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:02-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=21.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:02-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=21.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:03-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:30-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=21.0.16.172, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:30-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=21.0.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:30-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=21.0.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing) 
[r7-ospf-1-area-0.0.0.0]
May 26 2024 18:01:30-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=21.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r7-ospf-1-area-0.0.0.0]
<r7>sys
Enter system view, return user view with Ctrl+Z.
[r7]bgp64513
    ^
Error: Unrecognized command found at '^' position.
[r7]bgp 64513
[r7-bgp]rou	
[r7-bgp]route-select
[r7-bgp]router-id 7.7.7.7
[r7-bgp]con	
[r7-bgp]confederation i	
[r7-bgp]confederation id 2
[r7-bgp]conm	
[r7-bgp]con	
[r7-bgp]confederation p	
[r7-bgp]confederation peer-as 64512
[r7-bgp]peer 4.4.4.4 as	
[r7-bgp]peer 4.4.4.4 as-number64512
                     ^
Error: Unrecognized command found at '^' position.
[r7-bgp]peer 4.4.4.4 as-number 64512
[r7-bgp]peer 4.4.4.4 conm	
[r7-bgp]peer 4.4.4.4 con	
[r7-bgp]peer 4.4.4.4 connect-interface l	
[r7-bgp]peer 4.4.4.4 connect-interface LoopBack 1
[r7-bgp]peer 4.4.4.4 eb	
[r7-bgp]peer 4.4.4.4 ebgp-max-hop 
[r7-bgp]peer 6.6.6.6 as	
[r7-bgp]peer 6.6.6.6 as-number 64513
[r7-bgp]peer
May 26 2024 18:20:58-08:00 r7 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
 peer 4.4.4.4 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)  
[r7-bgp]peer co	
[r7-bgp]peer con	
[r7-bgp]peer con
[r7-bgp]peer 6.6.6.6
May 26 2024 18:21:29-08:00 r7 %%01BGP/3/STATE_CHG_UPDOWN(l)[1]:The status of the
 peer 6.6.6.6 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)  
[r7-bgp]peer 6.6.6.6 c	
[r7-bgp]peer 6.6.6.6 connect-interfacel	
[r7-bgp]peer 6.6.6.6 connect-interface l	
[r7-bgp]peer 6.6.6.6 connect-interface LoopBack 1
May 26 2024 18:21:38-08:00 r7 %%01BGP/3/STATE_CHG_UPDOWN(l)[2]:The status of the
 peer 6.6.6.6 changed from ESTABLISHED to IDLE. (InstanceName=Public, StateChang
eReason=CEASE/Other Configuration Change)  
[r7-bgp]
[r7-bgp]peer 78.0.0.8 as	
[r7-bgp]peer 78.0.0.8 as-number
May 26 2024 18:22:10-08:00 r7 %%01BGP/3/STATE_CHG_UPDOWN(l)[3]:The status of the
 peer 6.6.6.6 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)  
[r7-bgp]peer 78.0.0.8 as-number 3
[r7-bgp]
<r7>sys
Enter system view, return user view with Ctrl+Z.
[r7]bgp 654132
Error: BGP is already running. The AS is 64513.
[r7]bgp 65413
Error: BGP is already running. The AS is 64513.
[r7]bgp 64513
[r7-bgp]peer 4.4.4.4 n	
[r7-bgp]peer 4.4.4.4 next-hop-invariable
[r7-bgp]peer 4.4.4.4 next-hop-local
[r7-bgp]peer 6.6.6.6 ne	
[r7-bgp]peer 6.6.6.6 next-hop-invariable
[r7-bgp]peer 6.6.6.6 next-hop-local
[r7-bgp]
<r7>sys
Enter system view, return user view with Ctrl+Z.
[r7]bgp 64513
[r7-bgp]dis	
[r7-bgp]display bgp	
[r7-bgp]display bgp pe	
[r7-bgp]display bgp peer 

 BGP local router ID : 7.7.7.7
 Local AS number : 64513
 Total number of peers : 3		  Peers in established state : 3

  Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State Pre
fRcv

  4.4.4.4         4       64512       78       79     0 01:14:43 Established    
   2
  6.6.6.6         4       64513       77       78     0 01:13:31 Established    
   2
  78.0.0.8        4           3       73       76     0 01:11:27 Established    
   0
[r7-bgp]

R8

<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r8
[r8]int g 0/0/0
[r8-GigabitEthernet0/0/0]ip ad	
[r8-GigabitEthernet0/0/0]ip address 78.0.0.8 24
[r8-GigabitEthernet0/0/0]
May 26 2024 17:52:31-08:00 r8 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r8-GigabitEthernet0/0/0]int g 0/0/1
[r8-GigabitEthernet0/0/1]q
[r8]int l 0
[r8-LoopBack0]ip ad	
[r8-LoopBack0]ip address 192.168.2.1 24
[r8-LoopBack0]int l1
[r8-LoopBack1]ip ad	
[r8-LoopBack1]ip address 11.1.1.1 24
[r8-LoopBack1]
<r8>SYS
Enter system view, return user view with Ctrl+Z.
[r8]BGP 3
[r8-bgp]ROU	
[r8-bgp]route-select
[r8-bgp]router-id 8.8.8.8
[r8-bgp]PEER78.0.0.7 as	
[r8-bgp]PEER78.0.0.7 as-	
[r8-bgp]PEER 78.0.0.7 as 	
[r8-bgp]PEER 78.0.0.7 as-number2
                      ^
Error: Unrecognized command found at '^' position.
[r8-bgp]PEER 78.0.0.7 as-number 2
[r8-bgp]
<r8>sys
Enter system view, return user view with Ctrl+Z.
[r8]int t	
[r8]int Tunnel 0/0/0
[r8-Tunnel0/0/0]ip ad	
[r8-Tunnel0/0/0]ip address 18.0.0.1 24
[r8-Tunnel0/0/0]t	
[r8-Tunnel0/0/0]tu	
[r8-Tunnel0/0/0]tunnel-protocol gr	
[r8-Tunnel0/0/0]tunnel-protocol gre 
[r8-Tunnel0/0/0]so	
[r8-Tunnel0/0/0]source 
                       ^
Error:Incomplete command found at '^' position.
[r8-Tunnel0/0/0]source 10.1.1.1
[r8-Tunnel0/0/0]de	
[r8-Tunnel0/0/0]description 10.1.1.1
[r8-Tunnel0/0/0]
<r8>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值