BGP配置命令
原创sellphonewht 博主文章分类:网络 ©著作权
©著作权归作者所有:来自51CTO博客作者sellphonewht的原创作品,请联系作者获取转载授权,否则将追究法律责任
BGP邻居的建立:
ebgp : 建立在直连接口上
R1
router bgp 100
no au
no sy
neighbor 12.12.12.2 remote-as 200
R2
router bgp 200
no au
no sy
neighbor 12.12.12.1 remote-as 100
如果ebgp邻居建立在非直连接口上:
R1
router bgp 100
no au
no sy
neighbor 2.2.2.2 remote-as 200
neighbor 2.2.2.2 update-source loopback 0
neighbor 2.2.2.2 ebgp-multihop
R2
router bgp 200
no au
no sy
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 update-source loopback 0
neighbor 1.1.1.1 ebgp-multihop
igbp: 建立在环回接口上
R1
int loop 1
ip add 1.1.1.1 255.255.255.0
router bgp 100
no su
no sy
neighbor 2.2.2.2 remote-as 100 //2.2.2.2一定ip route (AS内的IGP搞定)
neighbor 2.2.2.2 update-source loopback 1
R2
int loop 2
ip add 2.2.2.2 255.255.255.0
router bgp 100
no au
no sy
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 update-source loopback 2
show ip bgp summary
show ip bgp neighbor
show ip bgp
show ip route
把路由条目放入BGP ,让BGP传递给它的邻居的方式:
network
redistribute
在AS的边界设备需要对所有的ibgp邻居使用:
next-hop-self

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
华为设备BGP配置命令
华为设备BGP配置命令
华为 BGP -
思科设备BGP配置命令
思科设备BGP配置命令
思科 网络 BGP -
思科与华为BGP配置命令对比
思科与华为BGP配置命令对比
华为 思科 BGP -
华为设备配置BGP/MPLS IP VPN命令
华为设备配置BGP/MPLS IP VPN命令
华为 网络 BGP/MPLS IP VPN -
配置BGP权重
配置BGP权重 2010-01-30 16:38:01 标签:bgp config weight [
职场 BGP 路由交换 休闲