- 关 键 词:
- http
关于BGP 的一些总结
?BGP是一种路径向量路由选择协议。路由更新带有到达一个远程网络所需通过网络的全部列表
?peer根据本地AS号的关系进行定义。在相同AS内的对等体形成了一个内部BGP关系,而在不同AS内的对等体则使用EBGP.
?IBGP对等体必须和IGP保持同步以确保IGP 路由通过本地AS传播。
?MED是一种没有单位的量度,可以用Router map 进行修改
?指定本地优先级属性来控制路径选择进程。本地首选采用网络前缀在AS中广播,也就是说只在AS中有意义。
?weight同样只对本地路由器有意义。
?最佳路径的选择参照上一个帖子
?BGP使用UDP端口179和TCP端口179 形成对等体或邻居之间的可靠传输
关于聚合
R2#sh ip bgp
BGP table version is 5, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.1.24.0 192.1.1.1 0 0 100 i
*> 192.1.25.0 192.1.1.1 0 0 100 i
*> 192.1.26.0 194.1.1.1 0 0 300 i
*> 192.1.27.0 194.1.1.1 0 0 300 i
R2(config-router)#aggregate-address 192.1.24.0 255.255.252.0 ?
advertise-map Set condition to advertise attribute
as-set Generate AS set path information
attribute-map Set attributes of aggregate
route-map Set parameters of aggregate
summary-only Filter more specific routes from updates
suppress-map Conditionally filter more specific routes from updates
R2(config-router)#aggregate-address 192.1.24.0 255.255.252.0 as
R2(config-router)#aggregate-address 192.1.24.0 255.255.252.0 as-set
R2(config-router)#end
R2#
01:00:17: %SYS-5-CONFIG_I: Configured from console by console
R2#
R6#2
[Resuming connection 2 to r3 ... ]
R3>
R3>
R3>en
Password:
R3#sh ip bgp
BGP table version is 6, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i192.1.24.0 193.1.1.1 0 100 0 100 i
*>i192.1.24.0/22 193.1.1.1 100 0 {100,300} i
*>i192.1.25.0 193.1.1.1 0 100 0 100 i
*>i192.1.26.0 193.1.1.1 0 100 0 300 i
*>i192.1.27.0 193.1.1.1 0 100 0 300 i
==========================================================================
router bgp 200
no synchronization
bgp log-neighbor-changes
aggregate-address 192.1.24.0 255.255.252.0 as-set summary-only
neighbor 192.1.1.1 remote-as 100
neighbor 193.1.1.2 remote-as 200
neighbor 193.1.1.2 next-hop-self
neighbor 194.1.1.1 remote-as 300
!
ip classless
no ip http server
!
!
line con 0
transport input none
line aux 0
transport input all
line vty 0 4
password cisco
login
!
end
R2#
R6#2
[Resuming connection 2 to r3 ... ]
R3#clear ip bgp *
R3#
04:49:01: %BGP-5-ADJCHANGE: neighbor 193.1.1.1 Down User reset
R3#
04:49:29: %BGP-5-ADJCHANGE: neighbor 193.1.1.1 Up sh
R3#show ip bgp
BGP table version is 2, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i192.1.24.0/22 193.1.1.1 100 0 {100,300} i
BGP 正则表达式
_300_ 匹配所有经过AS300的路由
_300$ 匹配所有来自AS300中的路由
^300_ 匹配接受的路由
^300$ 仅指那些源于AS300未经过其他任何AS的路由
.* 所有路由 更多请看Cisco与华为技术网(Vlan9.com)TCP/IP协议、SIP协议---NGN网络的核心协议、协议大全专题,或进入论坛讨论。
相关专题
- TCP/IP协议 (1859篇文章)
- SIP协议---NGN网络的核心协议 (2101篇文章)
- 协议大全 (1713篇文章)
- BGP协议 (46篇文章)
- BGP协议 (166篇文章)
论坛精华
阅读排行榜
- 什么是BGP协议 (191次浏览)
- Cisco IOS Cookbook 中文精简版第九章 BGP (118次浏览)
- 路由协议-BGP路由协议典型配置 (84次浏览)
- PE的BGP 设置 (79次浏览)
- 边界网关协议(BGP)心得 (76次浏览)
- BGP学习 (73次浏览)
- BGP(边界网关协议)简介(1) (71次浏览)
- BGP(边界网关协议) (60次浏览)
- Cisco边界网关协议(BGP)概述 (59次浏览)
- ISP如何在域内部署BGP路由协议 (52次浏览)
最新技术文档
- ISP如何在域内部署BGP路由协议 01-25
- IP骨干网中的BGP路由协议扩展性详细介绍 01-19
- IP骨干网中BGP路由协议扩展性介绍 01-19
- 什么是BGP协议 12-14
- 路由器BGP是什么概念 12-04
- MyCRM签约中石油BGP 借船出海世界18国 11-13
- CCNP路由精华7:在可扩展的网络中实施BGP 10-25
- Cisco IOS Cookbook 中文精简版第九章 BGP 10-23
- 边界网关协议(BGP)心得 10-14
- BGP-4(边界网关协议)的路由刷新功能 10-14
热门关键字导读
