IP 复习 bgp 联邦

截图

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r6
[r6]inter    
[r6]interface l    
[r6]interface LoopBack 0
[r6-LoopBack0]ip add 172.16.6.1 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>
<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]int    
[r6]interface g    
[r6]interface GigabitEthernet 0/0/0
[r6-GigabitEthernet0/0/0]ip add     
[r6-GigabitEthernet0/0/0]ip address 172.16.0.14 30
Jul 24 2021 18:56:54-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]inet    
[r6]inetg    
[r6]inter    
[r6]interface g    
[r6]interface GigabitEthernet 0/0/1
[r6-GigabitEthernet0/0/1]ip add 172.16.0.17 30
[r6-GigabitEthernet0/0/1]
Jul 24 2021 18:57:36-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]
[r6-GigabitEthernet0/0/1]q
[r6]pq
    ^
Error: Unrecognized command found at '^' position.
[r6]q
<r6>ping 172.16.0.18
  PING 172.16.0.18: 56  data bytes, press CTRL_C to break
    Reply from 172.16.0.18: bytes=56 Sequence=1 ttl=255 time=80 ms
    Reply from 172.16.0.18: bytes=56 Sequence=2 ttl=255 time=30 ms
    Reply from 172.16.0.18: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 172.16.0.18: bytes=56 Sequence=4 ttl=255 time=30 ms
    Reply from 172.16.0.18: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 172.16.0.18 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/36/80 ms

<r6>ping 172.16.0.13
  PING 172.16.0.13: 56  data bytes, press CTRL_C to break
    Reply from 172.16.0.13: bytes=56 Sequence=1 ttl=255 time=50 ms
    Reply from 172.16.0.13: bytes=56 Sequence=2 ttl=255 time=20 ms
    Reply from 172.16.0.13: bytes=56 Sequence=3 ttl=255 time=30 ms
    Reply from 172.16.0.13: bytes=56 Sequence=4 ttl=255 time=10 ms
    Reply from 172.16.0.13: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 172.16.0.13 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 10/28/50 ms

<r6>
<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]ospf 1 rou    
[r6]ospf 1 router-id 6.6.6.6
[r6-ospf-1]a 0
[r6-ospf-1-area-0.0.0.0]network 172.16.0.0 255.255.0.0
[r6-ospf-1-area-0.0.0.0]
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:06:49-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:06:49-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:13-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart) 

[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 

[r6-ospf-1-area-0.0.0.0]q
[r6-ospf-1]q
[r6]dis    
[r6]display ospf    
[r6]display ospfp    
[r6]display ospf p    
[r6]display ospf peer b    
[r6]display ospf peer brief 

     OSPF Process 1 with Router ID 6.6.6.6
          Peer Statistic Information
 ----------------------------------------------------------------------------
 Area Id          Interface                        Neighbor id      State    
 0.0.0.0          GigabitEthernet0/0/0             5.5.5.5          Full        
 0.0.0.0          GigabitEthernet0/0/1             7.7.7.7          Full        
 ----------------------------------------------------------------------------
[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

<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]bgp 64513
[r6-bgp]cob    
[r6-bgp]c    
[r6-bgp]rou    
[r6-bgp]router-id  6.6.6.6
[r6-bgp]con    
[r6-bgp]confederation id 2
[r6-bgp]peer 172.16.5.1 as-    
[r6-bgp]peer 172.16.5.1 as-number 64513
[r6-bgp]peer 172.16.5.1 c    
[r6-bgp]peer 172.16.5.1 connect-interfacel    
[r6-bgp]peer 172.16.5.1 connect-interface 0
                                          ^
Error: Wrong parameter found at '^' position.
[r6-bgp]peer 172.16.5.1 as-number 64513
Error: The peer already exists in AS 64513.
[r6-bgp]peer 172.16.5.1 con    
[r6-bgp]peer 172.16.5.1 connect-interface 
Jul 24 2021 19:20:23-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
 peer 172.16.5.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, 
StateChangeReason=Up)  
[r6-bgp]peer 172.16.5.1 connect-interface l    
[r6-bgp]peer 172.16.5.1 connect-interface LoopBack 0
Jul 24 2021 19:20:26-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[1]:The status of the
 peer 172.16.5.1 changed from ESTABLISHED to IDLE. (InstanceName=Public, StateCh
angeReason=CEASE/Other Configuration Change)  
[r6-bgp]
[r6-bgp]peer 172.16.7.1 as-    
[r6-bgp]peer 172.16.7.1 as-number 64513
[r6-bgp]peer 172.16.7.1 con    
[r6-bgp]peer 172.16.7.1 connect-interface l    
[r6-bgp]peer 172.16.7.1 connect-interface LoopBack 0
Jul 24 2021 19:20:59-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[2]:The status of the
 peer 172.16.5.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, 
StateChangeReason=Up)  
[r6-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

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r6
[r6]inter    
[r6]interface l    
[r6]interface LoopBack 0
[r6-LoopBack0]ip add 172.16.6.1 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>
<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]int    
[r6]interface g    
[r6]interface GigabitEthernet 0/0/0
[r6-GigabitEthernet0/0/0]ip add     
[r6-GigabitEthernet0/0/0]ip address 172.16.0.14 30
Jul 24 2021 18:56:54-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]inet    
[r6]inetg    
[r6]inter    
[r6]interface g    
[r6]interface GigabitEthernet 0/0/1
[r6-GigabitEthernet0/0/1]ip add 172.16.0.17 30
[r6-GigabitEthernet0/0/1]
Jul 24 2021 18:57:36-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]
[r6-GigabitEthernet0/0/1]q
[r6]pq
    ^
Error: Unrecognized command found at '^' position.
[r6]q
<r6>ping 172.16.0.18
  PING 172.16.0.18: 56  data bytes, press CTRL_C to break
    Reply from 172.16.0.18: bytes=56 Sequence=1 ttl=255 time=80 ms
    Reply from 172.16.0.18: bytes=56 Sequence=2 ttl=255 time=30 ms
    Reply from 172.16.0.18: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 172.16.0.18: bytes=56 Sequence=4 ttl=255 time=30 ms
    Reply from 172.16.0.18: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 172.16.0.18 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/36/80 ms

<r6>ping 172.16.0.13
  PING 172.16.0.13: 56  data bytes, press CTRL_C to break
    Reply from 172.16.0.13: bytes=56 Sequence=1 ttl=255 time=50 ms
    Reply from 172.16.0.13: bytes=56 Sequence=2 ttl=255 time=20 ms
    Reply from 172.16.0.13: bytes=56 Sequence=3 ttl=255 time=30 ms
    Reply from 172.16.0.13: bytes=56 Sequence=4 ttl=255 time=10 ms
    Reply from 172.16.0.13: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 172.16.0.13 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 10/28/50 ms

<r6>
<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]ospf 1 rou    
[r6]ospf 1 router-id 6.6.6.6
[r6-ospf-1]a 0
[r6-ospf-1-area-0.0.0.0]network 172.16.0.0 255.255.0.0
[r6-ospf-1-area-0.0.0.0]
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:06:49-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:06:49-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=13.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:13-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart) 

[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=18.0.16.172, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 
[r6-ospf-1-area-0.0.0.0]
Jul 24 2021 19:07:19-08:00 r6 %%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) 

[r6-ospf-1-area-0.0.0.0]q
[r6-ospf-1]q
[r6]dis    
[r6]display ospf    
[r6]display ospfp    
[r6]display ospf p    
[r6]display ospf peer b    
[r6]display ospf peer brief 

     OSPF Process 1 with Router ID 6.6.6.6
          Peer Statistic Information
 ----------------------------------------------------------------------------
 Area Id          Interface                        Neighbor id      State    
 0.0.0.0          GigabitEthernet0/0/0             5.5.5.5          Full        
 0.0.0.0          GigabitEthernet0/0/1             7.7.7.7          Full        
 ----------------------------------------------------------------------------
[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

<r6>sys
Enter system view, return user view with Ctrl+Z.
[r6]bgp 64513
[r6-bgp]cob    
[r6-bgp]c    
[r6-bgp]rou    
[r6-bgp]router-id  6.6.6.6
[r6-bgp]con    
[r6-bgp]confederation id 2
[r6-bgp]peer 172.16.5.1 as-    
[r6-bgp]peer 172.16.5.1 as-number 64513
[r6-bgp]peer 172.16.5.1 c    
[r6-bgp]peer 172.16.5.1 connect-interfacel    
[r6-bgp]peer 172.16.5.1 connect-interface 0
                                          ^
Error: Wrong parameter found at '^' position.
[r6-bgp]peer 172.16.5.1 as-number 64513
Error: The peer already exists in AS 64513.
[r6-bgp]peer 172.16.5.1 con    
[r6-bgp]peer 172.16.5.1 connect-interface 
Jul 24 2021 19:20:23-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
 peer 172.16.5.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, 
StateChangeReason=Up)  
[r6-bgp]peer 172.16.5.1 connect-interface l    
[r6-bgp]peer 172.16.5.1 connect-interface LoopBack 0
Jul 24 2021 19:20:26-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[1]:The status of the
 peer 172.16.5.1 changed from ESTABLISHED to IDLE. (InstanceName=Public, StateCh
angeReason=CEASE/Other Configuration Change)  
[r6-bgp]
[r6-bgp]peer 172.16.7.1 as-    
[r6-bgp]peer 172.16.7.1 as-number 64513
[r6-bgp]peer 172.16.7.1 con    
[r6-bgp]peer 172.16.7.1 connect-interface l    
[r6-bgp]peer 172.16.7.1 connect-interface LoopBack 0
Jul 24 2021 19:20:59-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[2]:The status of the
 peer 172.16.5.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, 
StateChangeReason=Up)  
[r6-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
 

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值