欢迎来到天天文库
浏览记录
ID:33397572
大小:54.37 KB
页数:6页
时间:2019-02-25
《bgp本地优先属性详解配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、Local-pre属性(默认100)BGP路由器通过不同的IBGP得到达到目的地址的多条路径,通过Local-pre属性的调整控制流量方向。(环路可能产生AS-Path可避免)全局调整一调整全部经过的流量Defaultlocal-prcfcrcnce200(BGP进程中)局部调整一调整特定的流量拓扑:实验目的:局部调整,tl到192.16&1.100的路由路径的改变.配置:rldiscurrent-configuration#sysnamerl#interfaceSerial0/0/1link-protocolpppundoshutdownipaddress202.1.1.
2、1255.255.255.252#interfaceSerial0/0/2link-protocolpppundoshutdownipaddress202.1.1.5255.255.255.252interfaceLoopBackOipaddress1.1.1.1255.255.255.255interfaceLoopBacklOObgp100router-id1.1.L1peer2.2.2.2as-number100peer2.2.2.2connect-interfaceLoopBackOpeer3.3.3.3as-number100peer3.3.3.3connect-inte
3、rfaceLoopBackOipv4-familyunicastundosynchronizationimport-routepeer2.2.2.2ospf1enablepeer2.2.2.2route-policyloca-preimportpeer#3.3.3.3enableospf1import-routebgproute-poIicyloca-prepermitipip-prefix1oca-preindexuser-interfacecon0user-interfacevty04user-interfacevty1620node2010permit192.168.1.10
4、032r2area0.0.0.0network1.1・1.1(D.0.0.0network202.1.1.00.0.0.3network202.1.1.40.0.0.3route-policyloca-prepermitnode10if-matchiLp-prefixloca-preapplylocal-preference200discurrent-configurationsysnamer2interfaceSerialO/O/Olink-protocolpppundoshutdownipaddress202.1.1.9255.255.255.252interfaceS
5、erial0/0/1link-protocolpppundoshutdownipaddress202.1.1.2255.255.255.252interfaceLoopBackOipaddress2.2.2.2255.255.255.255interfaceLoopBacklOObgp100peer1.1.1.1as-number100peer1.1.1.1conncct-interfaceLoopBackOpeer3.3.3.3as-number100peer3.3.3.3connect-interfaceLoopBackOipvd-familyunicastundosynchr
6、onizationimport-routeospf1peer1.1.1.1enablepeer3.3.3.3enabIeospf1import-routebgparea0.0.0.0network2.2.2.20.0.0.0network202.1.1.00.0.0.3network202.1.1.80.0.0.3network192.168.1.10.0.0.0network192.168.1.1000.0.0.0r3discurrent-configurationsysnamer3#interfaceSerialO/O/Olink-protocolpppundo
7、shutdownipaddress202.1.1.10255.255.255.252interfaceSerial0/0/2link-protocolpppundoshutdownipaddress202.1.1.6255.255.255.252interfaceLoopBackOipaddress3.3.3.3255.255.255.255interfaceLoopBacklOOipaddress192.168.1.100255.255.255.255bgp100r
此文档下载收益归作者所有