1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

BGPネイバーみつけられないときメモ

DEV-ECMP4# ping 20.0.0.5
PING 20.0.0.5 (20.0.0.5) 56(84) bytes of data.
64 bytes from 20.0.0.5: icmp_seq=1 ttl=64 time=0.076 ms
^C
--- 20.0.0.5 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.076/0.076/0.076/0.000 ms
DEV-ECMP4# show ip bgp summary

IPv4 Unicast Summary (VRF default):
BGP router identifier 172.16.0.4, local AS number 65001 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 1448 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
20.0.0.1        4      65000         9         9        0    0    0 00:06:04     (Policy) (Policy) N/A
20.0.0.5        4      65000         0         0        0    0    0    never       Active        0 N/A

Total number of neighbors 2
DEV-ECMP4# show ip bgp neighbors 20.0.0.5
BGP neighbor is 20.0.0.5, remote AS 65000, local AS 65001, external link
  Local Role: undefined
  Remote Role: undefined
  BGP version 4, remote router ID 0.0.0.0, local router ID 172.16.0.4
  BGP state = Active
  Last read 00:08:41, Last write never
  Hold time is 180 seconds, keepalive interval is 60 seconds
  Configured hold time is 180 seconds, keepalive interval is 60 seconds
  Configured conditional advertisements interval is 60 seconds
  Graceful restart information:
    Local GR Mode: Helper*
    Remote GR Mode: NotApplicable
    R bit: False
    N bit: False
    Timers:
      Configured Restart Time(sec): 120
      Received Restart Time(sec): 0
  Message statistics:
    Inq depth is 0
    Outq depth is 0
                         Sent       Rcvd
    Opens:                  0          0
    Notifications:          0          0
    Updates:                0          0
    Keepalives:             0          0
    Route Refresh:          0          0
    Capability:             0          0
    Total:                  0          0
  Minimum time between advertisement runs is 0 seconds

 For address family: IPv4 Unicast
  Not part of any update group
  Community attribute sent to this neighbor(all)
  Inbound updates discarded due to missing policy
  Outbound updates discarded due to missing policy
  0 accepted prefixes

  Connections established 0; dropped 0
  Last reset 00:08:41,  Waiting for NHT
  External BGP neighbor may be up to 1 hops away.
BGP Connect Retry Timer in Seconds: 120
Next connect timer due in 80 seconds
Read thread: off  Write thread: off  FD used: -1

20.0.0.5 へのルーティングがあるか確認

DEV-ECMP4# show ip route 20.0.0.5
Routing entry for 20.0.0.4/30
  Known via "ospf", distance 110, metric 20, best
  Last update 01:30:45 ago
  * 10.0.0.5, via eth0, weight 1

対向でも確認する

DEV-ECMP2# show ip bgp summary

IPv4 Unicast Summary (VRF default):
BGP router identifier 172.16.0.2, local AS number 65000 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 1448 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
10.0.0.6        4      65001         0         5        0    0    0    never       Active        0 N/A
20.0.0.6        4      65001         0         5        0    0    0    never       Active        0 N/A

Total number of neighbors 2
show running-config

ネイバーの設定が間違っていた

no neighbor x.x.x.x
neighbor x.x.x.x
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?