r1
nide
R1
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r2
[r2]interf
[r2]interface g
[r2]interface GigabitEthernet 0/0/0
[r2-GigabitEthernet0/0/0]ip add 12.1.1.2 24
[r2-GigabitEthernet0/0/0]
Jun 17 2021 21:40:35-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 GigabitEthernet 0/0/1
[r2-GigabitEthernet0/0/1]ip add 23.1.1.1 24
Jun 17 2021 21:41:03-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]q
[r2]interf
[r2]interface l
[r2]interface LoopBack 0
[r2-LoopBack0]ip add 172.16.2.2
^
Error:Incomplete command found at '^' position.
[r2-LoopBack0]ip add 172.16.2.2 24
[r2-LoopBack0]q
[r2]interf
[r2]interface g
[r2]interface GigabitEthernet 0/0/1
[r2-GigabitEthernet0/0/1]undo ip add
Jun 17 2021 21:42:16-08:00 r2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the DOWN state.
[r2-GigabitEthernet0/0/1]ip add
[r2-GigabitEthernet0/0/1]ip address 172.16.0.1 30
Jun 17 2021 21:42:48-08:00 r2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r2-GigabitEthernet0/0/1]disp
[r2-GigabitEthernet0/0/1]display this
[r2-GigabitEthernet0/0/1]display this
[V200R003C00]
#
interface GigabitEthernet0/0/1
ip address 172.16.0.1 255.255.255.252
#
return
[r2-GigabitEthernet0/0/1]w
^
Error:Incomplete command found at '^' position.
[r2-GigabitEthernet0/0/1]q
[r2]interf
[r2]interface g
[r2]interface GigabitEthernet 0/0/0
[r2-GigabitEthernet0/0/0]ip add 172.16.0.9 30
[r2-GigabitEthernet0/0/0]q
[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]bgp 64512
[r2-bgp]rou
[r2-bgp]router-id 2.2.2.2
[r2-bgp]confe
[r2-bgp]confederation id 2
[r2-bgp]con
[r2-bgp]confederation peer-as 64513
[r2-bgp]peer 12.1.1.1 as-nu
[r2-bgp]peer 12.1.1.1 as-number 1
[r2-bgp]peer 172.16.3.3 as-num
[r2-bgp]peer 172.16.3.3 as-number 65412
[r2-bgp]peer 172.16.3.3 l
[r2-bgp]peer 172.16.3.3 con
[r2-bgp]peer 172.16.3.3 connect-interface l
[r2-bgp]peer 172.16.3.3 connect-interface LoopBack 0
[r2-bgp]peer 172.16.3.3 nex
[r2-bgp]peer 172.16.3.3 next-hop-l
[r2-bgp]peer 172.16.3.3 next-hop-local
[r2-bgp]peer 172.16.5.5 as-n
[r2-bgp]peer 172.16.5.5 as-number 65413
[r2-bgp]peer 172.16.5.5 con
[r2-bgp]peer 172.16.5.5 connect-interface l
[r2-bgp]peer 172.16.5.5 connect-interface LoopBack 0
[r2-bgp]peer 172.16.5.5 eb
[r2-bgp]peer 172.16.5.5 ebgp-max-hop 2
[r2-bgp]peer 172.16.5.5 nex
[r2-bgp]peer 172.16.5.5 next-hop-lo
[r2-bgp]peer 172.16.5.5 next-hop-local
[r2-bgp]netw
[r2-bgp]network 172.16
^
Error: Wrong parameter found at '^' position.
[r2-bgp]q
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]are
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]netw
[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]q
[r2-ospf-1]q
[r2]ip rou
[r2]ip route-s
[r2]ip route-static 172.16.0.0 0.0.255.255 0 null
^
Error: Wrong parameter found at '^' position.
[r2]ip route-static 172.16.0.0 0.0.255.255 0 null0
^
Error: Wrong parameter found at '^' position.
[r2]ip route-static 172.16.0.0 0.0.255.248.0 null0
^
Error: Wrong parameter found at '^' position.
[r2]ip route-static 172.16.0.0 255.255.248.0 null0
[r2]
Jun 17 2021 22:14:22-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]
Jun 17 2021 22:14:23-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]
Jun 17 2021 22:14:23-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]
Jun 17 2021 22:14:23-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]
Jun 17 2021 22:14:23-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]
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]sysname r3
[r3]interf
[r3]interface g
[r3]interface GigabitEthernet 0/0/0
[r3-GigabitEthernet0/0/0]ip add 172.16.0.2 30
[r3-GigabitEthernet0/0/0]
Jun 17 2021 21:48:18-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 172.16.0.5 30
Jun 17 2021 21:48: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]q
[r3]interf
[r3]interface l
[r3]interface LoopBack 0
[r3-LoopBack0]ip add 172.16.3.3 24
[r3-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
<r3>
<r3>sys
Enter system view, return user view with Ctrl+Z.
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]ar
[r3-ospf-1]area0
^
Error: Unrecognized command found at '^' position.
[r3-ospf-1]area 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]
Jun 17 2021 22:14:24-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]
Jun 17 2021 22:14:24-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) q
[r3-ospf-1-area-0.0.0.0]
Jun 17 2021 22:14:24-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]q
Jun 17 2021 22:14:24-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]q
Jun 17 2021 22:14:24-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]q
Jun 17 2021 22:14:24-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]q
[r3-ospf-1]q
[r3]bgp 2
[r3-bgp]q
[r3]bgp 65412
Error: BGP is already running. The AS is 2.
[r3]undo bgp 2
Warning: All BGP configurations will be deleted. Continue? [Y/N]: y
[r3]bgp 65412
[r3-bgp]rou
[r3-bgp]router-id 3.3.3.3
[r3-bgp]con
[r3-bgp]confederation id 2
[r3-bgp]peer 172.16.2.2 as-nu
[r3-bgp]peer 172.16.2.2 as-number 65412
[r3-bgp]peer 172.16.2.2 con
[r3-bgp]peer 172.16.2.2 connect-interface l
[r3-bgp]peer 172.16.2.2 connect-interface LoopBack 0
[r3-bgp]peer 172.16.4.4 con
[r3-bgp]peer 172.16.4.4 connect-interface l
[r3-bgp]peer 172.16.4.4 connect-interfa
^
Error:Incomplete command found at '^' position.
[r3-bgp]peer 172.16.4.4 as-n
[r3-bgp]peer 172.16.4.4 as-number 65412
[r3-bgp]peer 172.16.4.4 con
[r3-bgp]peer 172.16.4.4 connect-interface l
[r3-bgp]peer 172.16.4.4 connect-interface LoopBack 0
[r3-bgp]peer 172.16.2.2 ref
[r3-bgp]peer 172.16.2.2 reflect-client
[r3-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
<r3>
<r3>sys
Enter system view, return user view with Ctrl+Z.
[r3]dis
[r3]display bg
[r3]display bgp r
[r3]display bgp routing-table
[r3]disp
[r3]display bg
[r3]display bgp p
[r3]display bgp peer
[r3]display bgp peer b
[r3]display bgp peer
BGP local router ID : 3.3.3.3
Local AS number : 65412
Total number of peers : 2 Peers in established state : 0
Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv
172.16.2.2 4 65412 0 0 0 00:00:16 Idle
0
172.16.4.4 4 65412 0 0 0 00:19:30 Idle
0
[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
R7
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r7
[r7]interf
[r7]interface g
[r7]interface GigabitEthernet 0/0/0
[r7-GigabitEthernet0/0/0]ip add 172.16.0.18 30
Jun 17 2021 21:54:24-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]q
[r7]interf
[r7]interface g
[r7]interface GigabitEthernet 0/0/1
[r7-GigabitEthernet0/0/1]ip add 172.16.0.22 30
Jun 17 2021 21:54:47-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]q
[r7]interf
[r7]interface l
[r7]interface LoopBack 0
[r7-LoopBack0]ip add 172.16.7.7 24
[r7-LoopBack0]q
[r7]interf
[r7]interface g
[r7]interface GigabitEthernet 0/0/2
[r7-GigabitEthernet0/0/2]ip add 78.1.1.1 24
Jun 17 2021 21:57:06-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]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r7>
<r7>
<r7>sys
Enter system view, return user view with Ctrl+Z.
[r7]bgp 65413
[r7-bgp]con
[r7-bgp]confederation id 2
[r7-bgp]con
[r7-bgp]confederation peer-as 65412
[r7-bgp]peer 172.16.6.6 as-nu
[r7-bgp]peer 172.16.6.6 as-number 65413
[r7-bgp]peer 172.16.6.6 con
[r7-bgp]peer 172.16.6.6 connect-interface l
[r7-bgp]peer 172.16.6.6 connect-interface LoopBack 0
[r7-bgp]peer 172.16.4.4 as-nu
[r7-bgp]peer 172.16.4.4 as-number 65412
[r7-bgp]peer 172.16.4.4 con
[r7-bgp]peer 172.16.4.4 connect-interface l
[r7-bgp]peer 172.16.4.4 connect-interface LoopBack 0
[r7-bgp]peer 172.16.4.4 ebg
[r7-bgp]peer 172.16.4.4 ebgp-max-hop 2
[r7-bgp]peer 172.16.4.4 nex
[r7-bgp]peer 172.16.4.4 next-hop-l
[r7-bgp]peer 172.16.6.6 nxt
[r7-bgp]peer 172.16.6.6 nex
[r7-bgp]peer 172.16.6.6 next-hop-local
[r7-bgp]peer 78.1.1.2 as-n
[r7-bgp]peer 78.1.1.2 as-number 3
[r7-bgp]q
[r7]ospf 1 routre-id 7.7.7.7
^
Error:Too many parameters found at '^' position.
[r7]ospf 1 router-id 7.7.7.7
[r7-ospf-1]ar
[r7-ospf-1]area 0
[r7-ospf-1-area-0.0.0.0]net
Jun 17 2021 22:36:54-08:00 r7 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
peer 78.1.1.2 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, St
ateChangeReason=Up)
[r7-ospf-1-area-0.0.0.0]netw
[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]q
[r7-ospf-1]
Jun 17 2021 22:37:14-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r7-ospf-1]
Jun 17 2021 22:37:14-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r7-ospf-1]
Jun 17 2021 22:37:14-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r7-ospf-1]
Jun 17 2021 22:37:14-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[r7-ospf-1]
Jun 17 2021 22:37:14-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[r7-ospf-1]
Jun 17 2021 22:37:14-08:00 r7 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=17.0.16.172, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r7-ospf-1]
Jun 17 2021 22:37:35-08:00 r7 %%01BGP/3/STATE_CHG_UPDOWN(l)[7]:The status of the
peer 172.16.6.6 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public,
StateChangeReason=Up)
[r7-ospf-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