本站已运行

攻城狮论坛

作者: 简单中文
查看: 479|回复: 4

more +今日重磅推荐Recommend No.1

所有IT类厂商认证考试题库下载所有IT类厂商认证考试题库下载

more +随机图赏Gallery

【新盟教育】2023最新华为HCIA全套视频合集【网工基础全覆盖】---国sir公开课合集【新盟教育】2023最新华为HCIA全套视频合集【网工基础全覆盖】---国sir公开课合集
【新盟教育】网工小白必看的!2023最新版华为认证HCIA Datacom零基础全套实战课【新盟教育】网工小白必看的!2023最新版华为认证HCIA Datacom零基础全套实战课
原创_超融合自动化运维工具cvTools原创_超融合自动化运维工具cvTools
重量级~~30多套JAVA就业班全套 视频教程(请尽快下载,链接失效后不补)重量级~~30多套JAVA就业班全套 视频教程(请尽快下载,链接失效后不补)
链接已失效【超过几百G】EVE 国内和国外镜像 全有了 百度群分享链接已失效【超过几百G】EVE 国内和国外镜像 全有了 百度群分享
某linux大佬,积累多年的电子书(约300本)某linux大佬,积累多年的电子书(约300本)
乾颐堂现任明教教主Python完整版乾颐堂现任明教教主Python完整版
乾颐堂 教主技术进化论 2018-2019年 最新31-50期合集视频(各种最新技术杂谈视频)乾颐堂 教主技术进化论 2018-2019年 最新31-50期合集视频(各种最新技术杂谈视频)
Python学习视频 0起点视频 入门到项目实战篇 Python3.5.2视频教程 共847集 能学102天Python学习视频 0起点视频 入门到项目实战篇 Python3.5.2视频教程 共847集 能学102天
约21套Python视频合集 核心基础视频教程(共310G,已压缩)约21套Python视频合集 核心基础视频教程(共310G,已压缩)
最新20180811录制 IT爱好者-清风羽毛 - 网络安全IPSec VPN实验指南视频教程最新20180811录制 IT爱好者-清风羽毛 - 网络安全IPSec VPN实验指南视频教程
最新20180807录制EVE开机自启动虚拟路由器并桥接物理网卡充当思科路由器最新20180807录制EVE开机自启动虚拟路由器并桥接物理网卡充当思科路由器

[其他] 为什么BGP邻居建立不起来?

[复制链接]
查看: 479|回复: 4
开通VIP 免金币+免回帖+批量下载+无广告
10金币

a

a

! [8 A( o( b5 |R1和R2和R3死活都建立不了iBGP邻居,检查很久,OSPF也建立成功邻居了,还是都没找到原因,R2和R3和R4都可以建立eBGP邻居& j5 s  R, G7 C7 a* H8 w
R1的配置:
7 [& n6 h: i7 u2 a0 m: k$ T; RR1#sh run | se router7 P0 l, k& g0 x" G
router ospf 1
! u' H4 T$ S0 a3 v% y router-id 1.1.1.1
4 o$ D+ d( ^7 Q/ {9 ]: k, t network 1.1.1.0 0.0.0.0 area 0
* y$ H7 M! a& s. h; C8 l network 10.1.123.1 0.0.0.0 area 04 u0 P) |9 {8 d: w$ ]8 p6 c1 Z" H: t
router bgp 123
/ w" }( P2 ~) w8 J bgp router-id 1.1.1.1) i4 f. C: h: F! \* C
bgp log-neighbor-changes6 C- s6 T, v9 f8 N4 `  t
network 11.11.11.0 mask 255.255.255.0
$ L' ^4 j; A( m) @3 I, P8 E* d neighbor 2.2.2.2 remote-as 123
' t4 y" s4 h* c/ I  Z neighbor 2.2.2.2 update-source Loopback0
# O. J$ L% _% F. z5 x neighbor 3.3.3.3 remote-as 123( B+ M% k& i. X
neighbor 3.3.3.3 update-source Loopback0
) F2 C( r# f/ F5 I& B% s5 \( A1 Q" p
. q- Y" b; d( y------------------------------------------------------
% E9 @# Y0 p" m  @R2配置:
( W& z& \" V" W. p' k! n9 WR2#sh run | se router* F/ r0 ^% o+ W7 T
router ospf 16 k+ B2 s8 S3 @7 O- m5 y
router-id 2.2.2.2
' p5 B! j9 y8 Y/ X9 G! Z network 2.2.2.0 0.0.0.0 area 0
. Y1 n' j8 h- s% `" ^- U network 10.1.24.2 0.0.0.0 area 0* M4 }, t( m$ h; a6 D; R
network 10.1.123.2 0.0.0.0 area 0
0 b- c6 O% z, A7 ]! e: |. N7 D9 X2 Krouter bgp 123* y  i6 W- B+ @, E
bgp router-id 2.2.2.2$ w8 P) M8 C7 K8 b0 O0 Y
bgp log-neighbor-changes
  S, w  S" e7 _# J4 s neighbor 1.1.1.1 remote-as 123
& r  ^6 X3 v3 f4 ^2 w, ^) P neighbor 1.1.1.1 update-source Loopback0- b, O+ L" x; G8 r
neighbor 10.1.24.4 remote-as 400
' c6 k  L3 I, x, O1 V, i' b
" S: S' p. Y8 G& Z0 s8 u6 \" Y3 Y------------------------------------------------------  W. w: }% b, k
R3#sh run | se router5 L# a" |8 R3 f
router ospf 1
. _* o! M" u+ n8 M8 j, a; I router-id 3.3.3.33 J, q, P. Y6 G% Z+ I0 g3 s
network 3.3.3.3 0.0.0.0 area 0
. f6 s3 Z8 _3 P$ F. s; o' h  l* @ network 10.1.34.3 0.0.0.0 area 0' k3 e  M) v) ?/ r2 |, r7 ]. E
network 10.1.123.3 0.0.0.0 area 0% L+ Q2 z8 L2 o2 ~% R* @
router bgp 123  V) |4 k9 f% ?: U' r
bgp router-id 3.3.3.3
! R; o# l( L* p bgp log-neighbor-changes
+ J" A5 ~" Z' e5 X* V- @+ @0 s neighbor 1.1.1.1 remote-as 123
5 H' o9 w: ]' F6 g+ O neighbor 1.1.1.1 update-source Loopback0
' n: `+ q/ e7 @$ w9 E! O neighbor 10.1.34.4 remote-as 400
5 f6 p/ F  J6 m# b+ w
2 Z$ l* b0 D2 X1 ~-------------------------------------------------8 v1 N4 X7 x  ~/ ]. Y
R1的 sh ip bgp  summny
" k. d' b2 @7 j4 n1 WR1#sh ip bgp s
# M2 P: v5 O) z* ^! ]BGP router identifier 1.1.1.1, local AS number 123  s# X; O' a  C) u: F( Q
BGP table version is 1, main routing table version 1" s9 E$ Z. m. g4 J7 d* b2 r* ?- E6 \
1 network entries using 144 bytes of memory
/ a/ U/ |2 J! b1 Q" u1 path entries using 84 bytes of memory
+ M$ s" B7 F4 @5 t$ R1/0 BGP path/bestpath attribute entries using 160 bytes of memory
7 D! ~6 h/ v) v) O8 w0 BGP route-map cache entries using 0 bytes of memory6 m; b& }3 O5 W9 J
0 BGP filter-list cache entries using 0 bytes of memory3 g6 i3 T6 P0 f
BGP using 388 total bytes of memory
/ ~' x9 x( v6 {  e) f) LBGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs
- C6 t& x9 D4 P, v7 N3 f; M6 e0 q3 G9 k' t
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
: J( A6 X5 v. B  S1 _- {2.2.2.2         4          123       0       0        1    0    0 never    Idle! \# u% \0 S; ]1 A9 w/ P. }
3.3.3.3         4          123       0       0        1    0    0 never    Active
7 [5 a# j% b( F( t9 G% ~& t5 g* i! K: v
------------------------------------------------------------------------------------------------------" B; M0 K. l$ D/ d7 [5 p& H' @
R2的sh ip bgp summny
  u( @8 [- L  b) _. a( BR2#sh ip bgp s
* @: o5 m. B9 U' s. k$ rBGP router identifier 2.2.2.2, local AS number 123( F1 w' X% x6 N4 T
BGP table version is 2, main routing table version 2, o6 A- d# M$ k! Q* o$ x
1 network entries using 144 bytes of memory0 G: y$ i* I  U
1 path entries using 84 bytes of memory* m0 @; O" M8 X! y* f1 U! L9 w# n
1/1 BGP path/bestpath attribute entries using 160 bytes of memory3 s- @# ^4 r4 j+ A) K3 Y) P- p  _
1 BGP AS-PATH entries using 24 bytes of memory
& S. s: T/ ^% W: d0 BGP route-map cache entries using 0 bytes of memory4 G$ _8 N) M/ l' a) ?" T8 B
0 BGP filter-list cache entries using 0 bytes of memory
/ p' X+ A: @. GBGP using 412 total bytes of memory# R" K) s) O2 D# {' R
BGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs1 ~! J3 G! g; U. M- s, Q

" B+ G6 R; z& N2 U9 p" e, wNeighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
. [9 n1 s1 _  K; c5 C6 ]1.1.1.1         4          123       0       0        1    0    0 never    Idle
- [0 E+ y* `' D10.1.24.4       4          400       8       7        2    0    0 00:04:08        1
4 _! z0 `& H- v- q; A. c
2 P/ B8 O3 ?. i- T--------------------------------------------------------------------------------------------------------; q: B, _" D3 J8 G" z, ]) @7 c
R3的 sh ip bgp summny1 G5 Q* g0 M% M5 l$ E1 v2 r, U
R3#sh ip bgp s  ?& F6 u7 Z' |4 t( ?
BGP router identifier 3.3.3.3, local AS number 123
5 r1 y; E* U* k+ {BGP table version is 2, main routing table version 2# T% g; T: U5 Y; {( ^) ^- u
1 network entries using 144 bytes of memory) z9 E. `2 ^3 |# F) w) |1 n3 W
1 path entries using 84 bytes of memory+ i! a* D6 Y0 b9 ~! S* `
1/1 BGP path/bestpath attribute entries using 160 bytes of memory
! I2 n1 k0 j5 p: Q- `0 E1 BGP AS-PATH entries using 24 bytes of memory, \: Z8 m2 I' |
0 BGP route-map cache entries using 0 bytes of memory& J# Z6 Z& g4 Q  U% b* d: y
0 BGP filter-list cache entries using 0 bytes of memory
) P. g& t" G$ T/ h9 u  uBGP using 412 total bytes of memory) |# U! }2 \% W' b/ a% K% E2 g
BGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs
& t1 A- Y. `/ P! @5 t& t0 n. I
1 X6 [6 Z4 [: `Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd! V; [4 Y7 R1 T7 }: y9 C
1.1.1.1         4          123       0       0        1    0    0 never    Idle9 o+ e# h$ R- F) o( K, {
10.1.34.4       4          400       9       8        2    0    0 00:05:11        1
+ q% d' c0 _) G; Y+ y) N7 \! j, l! z: x

CCNA考试 官方正规报名 仅需1500元
回复 论坛版权

使用道具 举报

leelsg [Lv1 网络小菜鸟] 发表于 2021-9-18 16:29:35 | 显示全部楼层
检查底层的路由,1.1.1.1和2.2.2.2应该互相学到先,这是前提。
回复

使用道具 举报

chenjunjiang [Lv3 牛刀小试] 发表于 2021-9-22 15:46:18 | 显示全部楼层
好好学习  天天向下  加油努力  干到一片
回复

使用道具 举报

nfekil [Lv2 初出茅庐] 发表于 2021-9-24 09:58:14 | 显示全部楼层
不知道呀zsbd
回复

使用道具 举报

zhaohui [Lv2 初出茅庐] 发表于 2022-10-17 21:09:23 | 显示全部楼层
好好学习  天天向下  加油努力  干到一片
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|无图浏览|手机版|网站地图|攻城狮论坛

GMT+8, 2026-4-28 22:59 , Processed in 0.098679 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4 © 2001-2013 Comsenz Inc.

Designed by ARTERY.cn