a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 186|回复: 1

[CCIE] CCIE复习指导:配置BGP案例一

[复制链接]
发表于 2012-8-3 20:12:39 | 显示全部楼层 |阅读模式
Configuring Basic Border Gateway ProtocolEnabling BGP
- D2 ]9 |* a$ w9 t- [启用BGP的步骤如下:
; b) W) |8 n) b3 K, Y9 C1 \, E" `1.启用BGP进程:
; B6 O9 U( @6 ?% E5 Z1 qAiko(config)#router bgp {AS-number}
9 [$ S" L) D* ?- Z2.指定BGP邻居:" p/ f! T+ g/ R, ~2 Y6 [
Aiko(config-router)#neighbor {ip-address} remote-as {AS-number}
8 F0 P4 a! O4 v2 @6 a3.定义要宣告的网络:4 u/ c3 J3 _* b3 R! F0 i3 S4 s3 b/ x
Aiko(config-router)#network {network-number} [mask mask]  Z0 a+ N9 f$ B8 r( K# k
Disabling Synchronization
+ V& w& h! G+ s% V) \关闭BGP同步特性:
% C+ A8 r) P+ V% i. EAiko(config-router)#no synchronization' }1 k) f5 E$ b. q" Z5 S
Case 1
  ^3 k3 r. U7 f, Z+ @% z$ @; E# W关闭BGP同步特性的实例:
6 U- Y0 p; a- Z% O) H+ R2 A4 g路由器A配置如下:* s5 r4 A) @7 v
!
/ I7 P3 J& ?: E! r; qrouter bgp 100' Q6 a! C' t# i0 Q7 }$ W/ M* t0 e
network 150.10.0.0
, G1 y3 g0 |$ O( F4 c2 Q: `  T/ Sneighbor 3.3.3.4 remote-as 1005 E0 H/ t7 D) {: X$ w$ C. g
neighbor 2.2.2.1 remote-as 300/ K. q3 b+ w  H4 l+ b8 |
no synchronization1 c. K. K4 ]; Z! n# _& V6 r
& v' h2 }) X# L" X( c
!
回复

使用道具 举报

 楼主| 发表于 2012-8-3 20:12:40 | 显示全部楼层

CCIE复习指导:配置BGP案例一

</p>路由器B配置如下:
. h. D" x; X9 ^! ^!
, K3 @% Y) [; j5 urouter bgp 100; m  V" R! `( B) R2 T# `* q
network 150.10.0.0
" p' |8 I+ I- `; o9 U2 \! Cneighbor 1.1.1.2 remote-as 400" X% _: M8 |# @7 J+ d5 Y; w
neighbor 3.3.3.3 remote-as 100' S0 U# F4 n" S3 Y; P
no synchronization
) [/ q; z" N5 R1 W6 t5 b/ ]3 E& Q# b!
( m, g; v  h/ ~) @" p: k7 tAllowing BGP to Use Loopback Interface for TCP Connections1 P' d# {- B: d- e# L! l$ B

: h' x( n  I' S8 ?% Z3 r/ J# z使用回环接口建立BGP邻居关系的步骤如下:* k: L& P) _. ]0 `* H
1.定义跳数(TTL),默认值为255:: q2 s: e: S0 G; C. V
Aiko(config-router)#neighbor {ip-address} ebgp-multihop[ttl]& G. U6 o1 n1 o% ^9 k# S# E: i
2.使用回环接口建立TCP会话:. t  s) f5 \. u/ `# ?
Aiko(config-router)#neighbor {ip-address} update-source loopback {number}
回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-22 17:16 , Processed in 0.528957 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表