juniper-路由器中文使用手册(编辑修改稿)内容摘要:

ame replace size size files number nostamp (worldreadable | noworldreadable)。 flag flag flagmodifier disable。 } interface interfacename { disable。 csnpinterval (seconds | disable)。 helloauthenticationkey key。 helloauthenticationtype authentication。 lspinterval milliseconds。 meshgroup (value | blocked)。 passive。 level levelnumber { disable。 helloauthenticationkey key。 helloauthenticationtype authentication。 hellointerval seconds。 holdtime seconds。 metric metric。 passive。 priority number。 temetric metric。 } } } } 2) 最小化配置方案: interfaces { lo0 { unit logicalunitnumber { 深圳傲天信息技术有限公司 深圳傲天工程文档 第 页 共 20 页 14 family iso { address address。 } } } typefpc/pic/port { unit logicalunitnumber { family iso。 } } } protocols { isis { interface all。 } } 路由的校验 show isis adjacency (brief) show isis database show isis database systemid detail show isis routes show route protocol isis terse show isis interface XXX detail show isis spf log show isis statistics 在 JUNIPER 的 ISIS 中,区域级别为: LEVEL 1 : LEVEL 1 ONLY LEVEL 2 : LEVEL 2 ONLY LEVEL 3 : LEVEL 1 AND 2 OSPF 配置 路由的配置 1) 最小的配置 [edit] protocols { ospf { area 0 { 深圳傲天信息技术有限公司 深圳傲天工程文档 第 页 共 20 页 15 interface interfacename。 } } } 2) OSPF 配置语句: protocols { ospf { disable。 export [policynames]。 externalpreference preference。 preference preference。 referencebandwidth referencebandwidth。 area areaid { arearange work/masklength restrict。 authenticationtype authentication。 interface interfacename { disable。 authenticationkey key keyid identifier。 deadinterval seconds。 hellointerval seconds。 interfacetype type。 metric metric。 neighbor address eligible。 passive。 priority number。 } nssa { arearange work/masklength restrict。 defaultmetric metric。 (summaries | nosummaries)。 } stub defaultmetric metric summaries | nosummaries。 virtuallink neighborid routerid transitarea areaid { disable。 authenticationkey key keyid identifier。 deadinterval seconds。 hellointerval seconds。 retransmitinterval seconds。 transitdelay seconds。 } } 深圳傲天信息技术有限公司 深圳傲天工程文档 第 页 共 20 页 16 } } 路由的校验 show ospf interface brief/extensive show ospf route detail show ospf database brief show ospf statistics BGP 配置 1) BGP 配置语句 protocols { bgp { numerous global BGP statements group groupname { peeras autonomoussystem。 type type。 allow [work/masklength]。 numerous groupspecific statements neighbor address { numerous peerspecific statements } } } } 2) IBGP 配置与 EBGP bgp{ group core{ type internal。 localaddress peeras 65000。 authenticationkey XXXXXXXXXXXX neighbor。 neighbor。 } group AS_692{ 深圳傲天信息技术有限公司 深圳傲天工程文档 第 页 共 20 页 17 type external。 peeras 692。 import nexthopself。 authenticationkey XXXXXXXXXXXXXXX neighbor。 } policyoptions{ policystatement nexthopself{ then{ nexthop self。 } } } } IBGP 与 EBGP 在上述范例中的设置区别为:在 TYPE 类型上的不同。 3) BGP 路由反射器的设置 edit protocols bgp] group groupname { type internal。 peeras autonomoussystem。 neighbor address1。 neighbor address2。 } group groupname { type internal。 peeras autonomoussystem。 cluster clusteridentifier。 neighbor address3。 neighbor address4。 } 4) BGP 的校验 show bgp summary show bgp neighbor show bgp nexthopdatabase show route receiveprotocol bgp show route extensive 深圳傲天信息技术有限公司 深圳傲天工程文档 第 页 共 20 页 18 Routing Policy Routing Policy 简介 在 JUNOS 中,所有的路由信息都存在路由表中,由 JUNOS 提出的 routing policy,可以控制路由信息在两个不同的路由表中传递。 IMPORT Import 是指由外部注入到指定路由表的信 息方向。 EXPORT Export 是指由本路由表中希望向其他路由协议输出的信息。 在 IGP 路由协议中,如 OSPF, ISIS 等,只有 Export;而 EGP 中,如 BGP等,可以有 import 和 export。 策略运行及 route filters routing policy 语法范例: policyoptions{ policystatement policyname{ term termname{ from{ matchconditions。 } to{ matchconditions。 { then{ action。 } } finalaction。 } } route filters 语法范例 […] term termname{ from{ 深圳傲天信息技术有限公司 深圳傲天工程文档 第 页 共 20 页 19 routefilter prefix/prefixlength matchtype actions […] then actions } […] route filters 满足条件的类型可分为: exact prefixlength is equal to the route’s prefix length longer prefixlength is greater than the route’s prefix length orlonger prefixlength is equal to or greater than the route’s prefix length upto route shares the same most significant bits and the route’s prefix length falls between prefixlength and prefixlenght2 through route。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。