网络拓扑

Guard BGP 配置模板

router(config)# router bgp <Guard-AS-number>

router(config-router)# bgp router-id <Guard-IP-address>

router(config-router)# redistribute guard

router(config-router)# neighbor <Router-IP-address> remote-as <Router-AS-number>

router(config-router)# neighbor <Router-IP-address> description <description>

router(config-router)# neighbor <Router-IP-address> soft-reconfiguration inbound

router(config-router)# neighbor <Router-IP-address> distribute-list nothing-in in

router(config-router)# neighbor <Router-IP-address> route-map Guard-out out

router(config-router)# exit

router(config)# access-list nothing-in deny any

router(config)# route-map Guard-out permit 10

router(config-route-map)# set community no-export no-advertise

Example

router# show running-config

... ... ...

router bgp 64555

bgp router-id 192.168.8.8

redistribute guard

neighbor 192.168.8.1 remote-as 100

neighbor 192.168.8.1 description divert-from router

neighbor 192.168.8.1 soft-reconfiguration inbound

neighbor 192.168.8.1 distribute-list nothing-in in

neighbor 192.168.8.1 route-map Guard-out out

!

access-list nothing-in deny any

!

route-map Guard-out permit 10

set community 100:64555 no-export no-advertise

牵引路由器BGP配置模板

R7200(config)# router bgp <Router-AS>

R7200(config-router)# bgp log-neighbor-changes

R7200(config-router)# neighbor <Guard-IP-address> remote-as GuardAS

R7200(config-router)# neighbor <Guard-IP-address> description <description>

R7200(config-router)# neighbor <Guard-IP-address> soft-reconfiguration inbound

R7200(config-router)# neighbor <Guard-IP-address> distribute-list routesToGuard out

R7200(config-router)# neighbor <Guard-IP-address> route-map Guard-in in

R7200(config-router)# no synchronization

R7200(config-router)# exit

R7200(config)# ip bgp-community new-format

R7200(config)# ip community-list expanded <Guard-community-name> permit no-export

no-advertise

R7200(config)# route-map Guard-in permit 10

R7200(config-route-map)# match community <Guard-community-name> exact match

R7200(config-route-map)# exit

R7200(config)# ip access-list standard routestoGuard

R7200(config-std-nacl)# deny any

 

 

Example

R7200# show running-config

... ... ...

router bgp 100

bgp log-neighbor-changes

neighbor 192.168.8.8 remote-as 64555

neighbor 192.168.8.8 description Guard

neighbor 192.168.8.8 soft-reconfiguration inbound

neighbor 192.168.8.8 distribute-list routesToGuard out

neighbor 192.168.8.8 route-map Guard-in in

no synchronization

!

ip bgp-community new-format

ip community-list expanded Guard permit 100:64555 no-export no- advertise

!

route-map Guard-in permit 10

match community Guard exact match

ip access-list standard routesToGuard

deny any

Cisco Guard BGP流量牵引配置相关推荐

  1. CCNP CISCO 路由器 BGP路由协议在GNS3player模拟器上的配置示例详解

    文章目录 BGP概述 BGP特征 BGP术语 通过示例来了解BGP路由协议的特征(IBGP和EBGP)基本配置 BGP概述 通常可以将路由协议分为IGP(内部网关协议)和EGP(外部网关协议),EGP ...

  2. 华为 BGP协议基础配置与总结

    良药苦口利于病,忠言逆耳利于行. 文章目录 一.BGP概述 二.拓扑 三.基础配置 四.BGP与IGP比较 五.BGP的数据包 六.BGP的邻居状态机 七.BGP计时器 八.BGP的更新源 九.BGP ...

  3. 《趣学CCNA——路由与交换》一6.2 Cisco设备的管理与配置

    本节书摘来自异步社区<趣学CCNA--路由与交换>一书中的第6章,第6.2节,作者 田果 , 彭定学,更多章节内容可以访问云栖社区"异步社区"公众号查看 6.2 Cis ...

  4. 《趣学CCNA——路由与交换》——6.1节Cisco设备的管理与配置

    本节书摘来自异步社区<趣学CCNA--路由与交换>一书中的第6章,第6.1节Cisco设备的管理与配置,作者 田果 , 彭定学,更多章节内容可以访问云栖社区"异步社区" ...

  5. Cisco和HuaWei交换机常用配置命令总结

    Cisco和华为交换机常用配置命令总结   一.调试命令 思科: Switch#show  run   显示所有配置命令 Switch#show   ip   inter   brief   显示所有 ...

  6. 硬件防火墙ppoe服务器,在 Cisco Secure PIX 防火墙上配置 PPPoE 客户端

    本文档介绍如何在 Cisco Secure PIX 防火墙上配置以太网上的点对点协议 (PPPoE) 客户端.PIX OS 6.2 版引入了此功能,该版本适用于低端 PIX (501/506). PP ...

  7. 第十一天----BGP的基本配置,路由聚合

    6,BGP的基本配置 1,BGP建邻的基本配置 1)EBGP对等体关系直连建邻 [r1]bgp 1----启动BGP进程----后面的1不是 进程号,而是配置路由器所在AS的AS号 [r1-bgp]r ...

  8. 思科服务器查看生成树协议,CISCO中生成树协议的配置

    <CISCO中生成树协议的配置>由会员分享,可在线阅读,更多相关<CISCO中生成树协议的配置(7页珍藏版)>请在人人文库网上搜索. 1.实验一生成树( STP)一.实验目的1 ...

  9. CISCO与华为3COM路由器配置差别

    华为路由器与同档次的CISCO路由器在功能特性与配置界面上完全一致,有些方面还根据国内用户的需求作了很好的改进.例如中英文可切换的配置与调试界面,使中文用户再也不用面对着一大堆的英文专业单词而无从下手 ...

  10. 华为BGP的基本配置命令

    华为BGP的基本配置命令 华为的配置: 如下图所示,为了好理解用它们的之间相连的主机名字的来做的IP地址(C类的地址/30的掩码) 蓝色区域的为Area1,绿色区域的为Area2,它们之间用的是ISI ...

最新文章

  1. mysql load data on duplicate_带有ON DUPLICATE KEY UPDATE的MySQL LOAD DATA INFILE
  2. [游戏学习24] MFC 各种绘图 字体学习
  3. 01爬虫基本原理及Requests库下载
  4. 165. 小猫爬山【爆搜+剪枝】
  5. ASP.NET代码优化浅析
  6. GoldenGate安装配置
  7. ps、grep和kill联合使用杀掉进程(转)
  8. 【视频回放】Best of Build Tour in China 暨 Watching Party - 大湾区专场
  9. 深度学习基础实战使用MNIST数据集对图片分类
  10. 引导修复 不是活动的_河南省视频数据修复中心
  11. MFC中CString.Format的用法
  12. 《Java8实战》笔记(14):函数式编程的技巧
  13. Windows最常用的几个网络CMD命令总结
  14. 【CodeForces 1253B --- Silly Mistake】
  15. 姿态估计之CPN(Cascaded Pyramid Network)
  16. 京东自营客服考试答案
  17. 新浪小编为你介绍留声机的古与今
  18. VS Studio和VS Code,IntelliJ IDEA的护眼背景色设置
  19. 一天上手Aurora 8B/10B IP核(2)----Aurora概述及数据接口(Framing接口、Streaming接口)
  20. 【千里之行,始于足下】大数据高频面试题——Hadoop篇(一)

热门文章

  1. php讲用户输入的值存入数组,如何将表单输入数组转换为PHP数组
  2. 【代码优化】坚持使用Override注解
  3. [2018.10.11 T3] 欠钱
  4. [Tarjan四连] TarjanLCA
  5. dnf全部使用_DNF:1.13拍卖最后1天物价,花瓣礼箱破千万,果然人人都是黑商
  6. 51单片机按键输入多位数_单片机实现八路抢答器实例分享
  7. 查找单词个数案列实现(字符串流)
  8. 选择图层_PS图层之——基本功能详细介绍
  9. 枚举类比较和工具方法
  10. html内容change事件,HTML onvolumechange事件用法及代码示例