BGP基础实验

拓扑

步骤:

1、 完成基本的配置

2、 按照需求自治系统AS 100 全网运行OSPF 单区域

3、 完成BGP基本配置

[RT2]bgp 100

[RT2-bgp]peer 67.0.0.2 as-number 300

[RT3]bgp 300

[RT3-bgp]peer 67.0.0.1 as-number 100

[RT1]bgp 100

[RT1-bgp]peer 2.2.2.2 as-number 100

[RT1-bgp]peer 2.2.2.2 connect-interface LoopBack 100

[RT2-bgp]peer 1.1.1.1 as-number 100

[RT2-bgp]peer 1.1.1.1 connect-interface LoopBack 100

[RT1-bgp]peer 5.5.5.5 as-number 100

[RT1-bgp]peer 5.5.5.5 connect-interface LoopBack 100

[RT5]bgp 100

[RT5-bgp]peer 1.1.1.1 as-number 100

[RT5-bgp]peer 1.1.1.1 connect-interface LoopBack 100

4、 注入路由

[RT1]ip ip-prefix prefix_a permit 192.168.1.1 32

[RT1]route-policy imput_bgp permit node 10

[RT1-route-policy]if-match ip-prefix prefix_a

[RT1-bgp]import-route direct route-policy imput_bgp

[RT5]ip ip-prefix prefix_b permit 88.88.88.88 32

[RT5]route-policy bgp-imp permit node 10

[RT5-route-policy]if-match ip-prefix prefix_b

[RT5-bgp]import-route direct route-policy bgp-imp

[RT2]ip ip-prefix prefix_c permit 188.188.188.188 32

[RT2]route-policy bgp-imp permit node 10

[RT2-route-policy]if-match ip-prefix prefix_c

[RT3]ip ip-prefix prefix_3 permit 172.16.1.1 32

[RT3]route-policy pr_3 permit node 10

[RT3-route-policy]if-match ip-prefix prefix_3

[RT3-bgp]import-route direct route-policy pr_3

5、 测试

查看BGP邻居

查看BGP路由表

查看IP 路由表

AS 100访问AS 300

SE 2014年4月12日的更多相关文章

  1. 系列文章:老项目的#iPhone6与iPhone6Plus适配#(持续更新中,更新日期2014年10月12日 星期日 )

    本文永久地址为http://www.cnblogs.com/ChenYilong/p/4020399.html ,转载请注明出处. ********************************** ...

  2. 云计算之路-阿里云上:2014年6月12日12点IIS请求到达量突降

    今天中午12:00左右,在Windows性能监视器中突然发现SLB中的两台云服务器的IIS请求到达量(ArriveRate)突然下降,见下图: IIS日志中的情况如下: 综合以上情况,我们推测在12: ...

  3. SE 2014年5月22日

    一.   用自己的理解描述 tunnel接口状态 up和down的情况都有哪些 Tunnel接口的状态UP:隧道的目标有可达路由. Tunnel接口的状态Down:隧道的目标路由不可达. 如图配置实验 ...

  4. SE 2014年5月9日

    两企业接入到 Internet(A公司和B公司),企业内部的用户及服务器均能够访问到 Internet. 2. A公司规模较大,采用了接入层/汇聚层/核心层的划分模式,接入层划分了多vLan(如图), ...

  5. SE 2014年5月8日

    两企业接入到 Internet(A公司和B公司),企业内部的用户及服务器均能够访问到 Internet. 2. A公司规模较大,采用了接入层/汇聚层/核心层的划分模式,接入层划分了多vLan(如图), ...

  6. SE 2014年5月5日

    如图配置 某企业网络规划图(三台交换设备/三台路由设备) 接入层 SW1 连接终端用户 汇聚层 SW2 SW3 核心层 R1 R2 R5 1. 如图 SW1 SW2 SW3 物理链路两两相连接,网络中 ...

  7. SE 2014年4月24日

    如图配置交换网络 由于网络规模较小,企业将网络划分为了接入层和核心层两层 核心层设备(Sw1 Sw2 Sw3)作为用户的网关设备,提供三层转发功能 接入层设备(SW4 SW5)连接用户,分别划分三vl ...

  8. SE 2014年4月22日(二)

    如图配置: 网络中存在三个公有AS 其中AS200使用了 BGP联盟技术(如图配置) 在AS 100 中R1上起源了四条BGP路由,(1)要求全网BGP设备均能够正常学习 (2)要求:(使用BGP团体 ...

  9. SE 2014年4月22日(一)

    实验 练习: 如图配置: 两自治系统 AS 100  和 AS 200 AS 100 是由两私有自治系统 (AS 65001 和 AS 65002)构成 要求配置BGP联盟 使得 R3 R4 R5 下 ...

随机推荐

  1. 运行tomcat6w.exe ,提示 指定的服务未安装 unable to open the service 'tomcat66'

    错误:运行tomcat6w.exe ,提示 指定的服务未安装 unable to open the service 'tomcat6'(我用的是官网下载的解压版) 解决方法: 打开命令行提示符窗口=& ...

  2. kernel hexdump分析 (2.0)

    有的时候print_hex_dump_bytes循环打印很多信息的时候(大于1K) 用UART串口打印的信息总是会有丢失,估计是printk缓冲区的问题把,具体原因不是太清楚 于是自己写了个比较笨的d ...

  3. 用js实现插入排序

    话不多说,直接上代码 html源码: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " ...

  4. 【Demo 0005】Android 资源

    本章学习要点:        1.  了解Android中资源用途:        2.  掌握资源使用通用规则:        3.  掌握具体资源使用方法; 一.Android资源       a ...

  5. asp于Server.MapPath用法

    总是忘记Server.MapPath的用法,以下记录了,以后使用: 总注:Server.MapPath获得的路径都是server上的物理路径,也就是常说的绝对路径 1.Server.MapPath(& ...

  6. Coins (poj 1742 &amp;&amp; hdu 2844 DP)

    Language: Default Coins Time Limit: 3000MS   Memory Limit: 30000K Total Submissions: 30047   Accepte ...

  7. Visual Studio 控件命名规范(很详细)

    VS 控件命名规范 Type Prefix Example Array arr arrShoppingList Boolean bln blnIsPostBack Byte byt bytPixelV ...

  8. jquery的ajax提交form表单方式总结

    方法一: function AddHandlingFeeToRefund() { var AjaxURL= "../OrderManagement/AjaxModifyOrderServic ...

  9. 图解UML类与类之间的六中关系

    大话设计模式上的一个图,我用EA画出来的:  UML中的6大关系相关英文及音标:  依赖关系 dependency [di'pendənsi]  关联关系 association  [ə,səuʃi' ...

  10. 谈VC++对象模型

    一个C++程序员,想要进一步提升技术水平的话,应该多了解一些语言的语意细节.对于使用VC++的程序员来说,还应该了解一些VC++对于C++的诠释.Inside the C++ Object Model ...