欢迎来到天天文库
浏览记录
ID:20436043
大小:907.84 KB
页数:19页
时间:2018-10-10
《h3cbgp路由策略之选路》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、10.10.20.254/24y10.10.30.254/24去往20.20.30.2数据包走AS100往10.10.10.254的数据包走向非对称路径AS20020.20.20.254/2420.20.30.254/2420.20.10.254/24在引入路由的时候只允许引入20.20.30,0/24的路由,过滤器使用基本ACL+router-policy的方式10.10.10.254/24在引入路由的时候仅仅引入10.10.10.0/24的路由使用’ipprefix需要route-policy1修改AS列表的属性只能在EBGP的出方向上增加这个属性并且只能添加在AS-PATH列表的前面。同
2、时证实在EBGP的进入方向无法添加AS号码。2关于缺省路由,在BGP中缺省路由最好是通过一条IGP比如静态的缺省路由,然后network0.0.0.00.0.0.0贝1J可以得到通告。也可以在BGP下使用1default-routeimported,2import-routestatic。3BGP的network只能通告非BGP的路由,比如R1—R2—R3,R1上某路由在R2上的BGP路由再次network则不可以生效。AR18配置[AR18]discurNowcreateconfiguration...CurrentconfigurationI參version1.74sysnameAR18f
3、irewallenableaaa-enableaaaaccounting-schemeoptionali番acl2000match-orderautorulenormalpermitsource20.20.30.00.0.0.255rulenormaldenysourceanyi參interfaceAuxOasyncmodeflowflow-controlnonelink-protocolpppinterfaceEthernetOinterfaceSerialOlink-protocolpppipaddress1.1.1.10255.255.255.252IinterfaceSerial1cl
4、ockDTECLK1link-protocolpppipaddress1.1.1.14255.255.255.252IinterfaceLoopBacklipaddress20.20.10.254255.255.255.0I蠢interfaceLoopBack2ipaddress20.20.20.254255.255.255.0i參interfaceLoopBack3ipaddress20.20.30.254255.255.255.0iquitbgp200undosynchronizationimport-routedirectroute-policylvpeer1.1.1.9as-numbe
5、r200peer1.1.1.13as-number200iquitIquitroute-policylvpermit1if-matchipaddress2000IreturnAR46配置#sysnamcAR46#epu-usagecyclelminradiusschemesystemdomainsystemlocal-useradminpasswordcipher.]@USE=B,53Q=QMAF4〈1!!service-typetelnetterminallevel3service-typeftpinterfaceAuxOasyncmodeflow#interfaceGigabitEther
6、netO/0/0ipaddress1.1.1.1255.255.255.252#interfaceGigabitEthernetO/0/1ipaddress1.1.1.5255.255.255.252#interfaceGigabitEthernetO/O/2ipaddressdhep-alloc#interfaceNULLO#interfaceLoopBacklipaddress10.10.10.254255.255.255.0interfaceLoopBack2ipaddress10.10.20.254255.255.255.0interfaceLoopBack3ipaddress10.1
7、0.30.254255.255.255.0#bgp100import-routedirectroute-policylvundosynchronizationgroupto200externalpeer1.1.1.2groupto200as-number200peer1.1.1.6groupto200as-number200#route-policylvpermitnode1if-matchip-
此文档下载收益归作者所有