欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    18DA113007MP-BGPforIPv6原理与实现ISSUE100.pptx

    • 资源ID:5706321       资源大小:471.01KB        全文页数:32页
    • 资源格式: PPTX        下载积分:30金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要30金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    18DA113007MP-BGPforIPv6原理与实现ISSUE100.pptx

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 修订记录课程编码课程编码适用产品适用产品产品版本产品版本课程版本课程版本ISSUEDA113007AllAll1.00开发开发/优化者优化者时间时间审核人审核人开发类型(新开发开发类型(新开发/优化)优化)周进军20091119焦云婷新开发本页不打印Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP for IPv6原理与实现Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 前 言lBGP-4多协议扩展(MP-BGP)定义了两种新的BGP属性,可以用来完成IPv6的域间路由。2Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 参考资料lRFC 2858 Multiprotocol Extensions for BGP-4lRFC 2545 Use of BGP-4 Multiprotocol Extensions for IPv6 Inter-Domain RoutinglRFC1771 A Border Gateway Protocol 4 (BGP-4)lRFC1700 Assigned NumberslRFC 2842 Capabilities Advertisement with BGP-43Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 培训目标l学完本课程后,您应该能:p了解MP-BGP的属性p掌握MP-BGP如何实现IPv6域间路由4Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 目 录1. MP-BGP2. MP-BGP for IPv6 3. MP-BGP for IPv6基本配置4. 大型网络配置5Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP(RFC2858)lBGP协议的扩展l承载多种网络层协议的路由信息pIPv6单播p6PEp多播(IPv4 ,IPv6)pMPLS VPN (IPv4 ,IPv6)pCLNSl会话建立阶段协商交换Multi-protocol Reachability Information。6Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP(RFC2858)qIPv4 BGP-4 属性NEXT-HOPAGGREGATORNLRIqMP-BGP新增属性MP_REACH_NLRIMP_UNREACH_NLRInext hop信息能够用于特定的网络协议NLRI能够用于特定的网络协议RFC2858中规定任何一个中规定任何一个BGP Speaker(包括支持多协议的包括支持多协议的BGP Speaker)都必须有一个都必须有一个IPv4地址以便用在地址以便用在AGGREGATOR中。中。7Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. BGP UPDATE MessageUnfeasible Route Length(2 octets)Withdrawn Routes (variable)Total path Attribute Length (2 octets)Path Attributes (variable)Network Layer Reachability Information (variable)Length(1 octet)Prefix(variable)Attribute TypeAttribute LengthAttribute ValueLength(1 octet)Prefix(variable)8Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Path AttributeAttribute Type(2 octets)Attribute LengthAttribute Value Attr. Type code 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Attr. Flags1 optional0 well-known1 transitive0 non-transitive1 ORIGIN2 AS-PATH3 NEXT-HOP4 MULTI_EXIT_DISC5 LOCAL_PREF6 ATOMIC_AGGREGATE7 AGGREGATOR14 MP_REACH_NLRI15 MP_UNREACH_NLRI9Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP属性lMP_REACH_NLRIp承载可达网络集合和next-hop信息。lMP_UNREACH_NLRIp承载不可达网络集合信息。OptionalNon-transitive10Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP_REACH_NLRIAddress Family Identifier(2 octets)Subsequent Address Family Identifier(1 octet)Length of Next Hop Network Address(1 octet)Network Address of Next Hop (variable)Number of SNPA(1 octet)Length of first SNPA(1 octet)First SNPA (variable)Length of second SNPA(1 octet)Second SNPA (variable)Length of Last SNPA(1 octet)Last SNPA (variable)Network Layer Reachability Information (variable)Length (1 octets)Prefix (variable)11Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP_UNREACH_NLRIAddress Family Identifier(2 octets)Subsequent Address Family Identifier(1 octet)Withdrawn Routes (variable)需要撤销的需要撤销的 路由的路由的NLRI12Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Capabilities Optional ParameterMy Autonomous System (2 octets)Version (1 octet)Hold Time (2 octets)BGP Identifier (4 octets)Opt Parm Length (1 octet)Optional Parameters (4 octets)BGP OPEN MessageCapability Code (1 octet) Capability Length (1 octet)Capability Value (variable)Capabilities Optional ParameterCapability Code (1 octet) 1 Capability Length (1 octet) 4Multiprotocol Extensions CapabilitiesAFI (2 octets) Res (1 octet) SAFI (1 octet) 13Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 目 录1. MP-BGP2. MP-BGP for IPv6 3. MP-BGP for IPv6基本配置4. 大型网络配置14Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP for IPv6(RFC2545)lIPv6 单播地址范围pGlobalpSite-localpLink-locallMP-BGP对IPv6的特殊扩展pNext-HOP包含一个Global IPv6地址和一个Link-Local地址pNEXT-HOP,NLRI都使用IPv6地址和前缀表示15Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP_REACH_NLRIAddress Family Identifier(2 octets)Subsequent Address Family Identifier(1 octet)Length of Next Hop Network Address(1 octet)Network Address of Next Hop (variable)Number of SNPA(1 octet)Length of first SNPA(1 octet)First SNPA (variable)Length of second SNPA(1 octet)Second SNPA (variable)Length of Last SNPA(1 octet)Last SNPA (variable)Network Layer Reachability Information (variable)2 IPv61NLRI is used for unicast2NLRI is used for multicast RPF check3NLRI is used for both unicast and muticast RPF check4Label5128 VPN16Next-hop只包含Global地址1732 Next-hop包含Global地址和Link-Local地址16Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 目 录1. MP-BGP2. MP-BGP for IPv6 3. MP-BGP for IPv6基本配置基本配置4. 大型网络配置17Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP for IPv6基本配置-配置实例R2-NE40E-AR1-NE5000ER6-NE20-Cg2/0/3g2/0/2g2/0/4g2/0/012122001:21:/642001:26:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64lR2-NE40E-A和R1-NE5000E之间建立EBGP邻居关系,R2-NE40E-A和R6-NE20-C之间建立IBGP邻居关系。lAS200内运行OSPFv3,在R1-NE5000E上将OSPFv3路由注入到BGP路由表中。18Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP for IPv6基本配置-配置实例R2-NE40E-AR1-NE5000ER6-NE20-Cg2/0/3g2/0/2g2/0/4g2/0/012122001:21:/642001:26:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R2-NE40E-Abgp 100R2-NE40E-A-bgprouter-id 2.2.2.2R2-NE40E-A-bgppeer 2001:21:1 as-number 200R2-NE40E-A-bgpipv6-family R2-NE40E-A-bgp-af-ipv6peer 2001:21:1 enable R1-NE5000Ebgp 200R1-NE5000E-bgprouter-id 1.1.1.1R1-NE5000E-bgppeer 2001:21:2 as-number 100R1-NE5000E-bgpipv6-family R1-NE5000E-bgp-af-ipv6peer 2001:21:2 enable R2-NE40E-A-bgp-af-ipv6display bgp ipv6 peer BGP local router ID : 2.2.2.2 Local AS number : 100 Total number of peers : 1 Peers in established state : 1 Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv 2001:21:1 4 200 4 5 0 00:01:14 Established 019Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP for IPv6基本配置-配置实例R2-NE40E-AR1-NE5000ER6-NE20-Cg2/0/3g2/0/2g2/0/4g2/0/012122001:21:/642001:26:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R2-NE40E-Abgp 100R2-NE40E-A-bgppeer 2001:26:2 as-number 100R2-NE40E-A-bgpipv6-family R2-NE40E-A-bgp-af-ipv6peer 2001:26:2 enableR6-NE20-Cbgp 100R6-NE20-C-bgprouter-id 6.6.6.6R6-NE20-C-bgppeer 2001:26:1 as-number 100R6-NE20-C-bgpipv6-family R6-NE20-C-bgp-af-ipv6peer 2001:26:1 enable R2-NE40E-Adisplay bgp ipv6 peer BGP local router ID : 2.2.2.2 Local AS number : 100 Total number of peers : 2 Peers in established state : 2 Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv 2001:21:1 4 200 34 36 0 00:29:40 Established 0 2001:26:2 4 100 10 10 0 00:06:48 Established 020Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP for IPv6基本配置-配置实例R2-NE40E-AR1-NE5000ER6-NE20-Cg2/0/3g2/0/2g2/0/4g2/0/012122001:21:/642001:26:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R1-NE5000Ebgp 200R1-NE5000E-bgpipv6-familyR1-NE5000E-bgp-af-ipv6import-route ospfv3 1display bgp ipv6 routing-table Total Number of Routes: 2 BGP Local router ID is 2.2.2.2 Status codes: * - valid, - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete * Network : 2001:31: PrefixLen : 64 NextHop : 2001:21:1 LocPrf : Label : 0 PrefVal : 0 Path/Ogn : 200 ?21Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. MP-BGP for IPv6基本配置-配置实例R2-NE40E-AR1-NE5000ER6-NE20-Cg2/0/3g2/0/2g2/0/4g2/0/012122001:21:/642001:26:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R6-NE20-Cdisplay bgp ipv6 routing-table Total Number of Routes: 2BGP Local router ID is 6.6.6.6 Status codes: * - valid, - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete i Network : 2001:31: PrefixLen : 64 NextHop : 2001:21:1 LocPrf : 100 Label : 0 PrefVal : 0 Path/Ogn : 200 ?22Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 目 录1. MP-BGP2. MP-BGP for IPv6 3. MP-BGP for IPv6基本配置4. 大型网络配置大型网络配置23Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 大型BGP网络配置路由反射器lR2-NE40E-A和R4-NE20-A之间建立EBGP邻居关系,R1-NE5000E和R2-NE40E-A, R3-NE40E-B建立IBGP邻居关系。lR1-NE5000E为AS100中的路由反射器,R3-NE40E-B为客户端。R2-NE40E-AR1-NE5000Eg2/0/3g2/0/2g2/0/41212001:21:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R4-NE20-Ag2/0/0g2/0/52001:24:/6412Route ReflectorClient24Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 大型BGP网络配置路由反射器R2-NE40E-AR1-NE5000Eg2/0/3g2/0/2g2/0/41212001:21:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R4-NE20-Ag2/0/0g2/0/52001:24:/6412Route ReflectorClientR4-NE20-Abgp 100R4-NE20-A-bgprouter-id 4.4.4.4R4-NE20-A-bgppeer 2001:24:1 as-number 100R4-NE20-A-bgpipv6-family R4-NE20-A -bgp-af-ipv6peer 2001:24:1 enableR4-NE20-A-bgp-af-ipv6network 2001:4:44 128R2-NE40E-Abgp 100R2-NE40E-A-bgprouter-id 2.2.2.2R2-NE40E-A-bgppeer 2001:24:2 as-number 200R2-NE40E-A-bgppeer 2001:1:11 as-number 100R2-NE40E-A-bgppeer 2001:1:11 connect-interface LoopBack1R2-NE40E-A-bgpipv6-family R2-NE40E-A-bgp-af-ipv6peer 2001:24:2 enable R2-NE40E-A-bgp-af-ipv6peer 2001:1:11 enableR2-NE40E-A-bgp-af-ipv6peer 2001:1:11 next-hop-localR1-NE5000Ebgp 100R1-NE5000Erouter-id 1.1.1.1R1-NE5000E -bgppeer 2001:2:22 as-number 100R1-NE5000E -bgppeer 2001:3:33 as-number 100R1-NE5000E -bgppeer 2001:2:22 connect-interface LoopBack1R1-NE5000E -bgppeer 2001:3:33 connect-interface LoopBack1R1-NE5000E -bgpipv6-family R1-NE5000E -bgp-af-ipv6peer 2001:2:22 enableR1-NE5000E -bgp-af-ipv6peer 2001:3:33 enableR3-NE40E-Bbgp 100R3-NE40E-B-bgprouter-id 1.1.1.1R3-NE40E-B-bgppeer 2001:1:11 as-number 100R3-NE40E-B-bgppeer 2001:1:11 connect-interface LoopBack1R3-NE40E-B-bgp ipv6-family R3-NE40E-B -bgp-af-ipv6peer 2001:2:22 enable25Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 大型BGP网络配置路由反射器R2-NE40E-AR1-NE5000Eg2/0/3g2/0/2g2/0/41212001:21:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R4-NE20-Ag2/0/0g2/0/52001:24:/6412Route ReflectorClientdisplay bgp ipv6 routing-tabledisplay bgp ipv6 routing-table Total Number of Routes: 1 BGP Local router ID is 1.1.1.1 Status codes: * - valid, - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *i Network : 2001:4:44 PrefixLen : 128 NextHop : 2001:2:22 LocPrf : 100 Label : 0 PrefVal : 0 Path/Ogn : 200 i 26Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 大型BGP网络配置路由反射器R2-NE40E-AR1-NE5000Eg2/0/3g2/0/2g2/0/41212001:21:/64AS100AS200R3-NE40E-Bg2/0/3g2/0/3122001:31:/64R4-NE20-Ag2/0/0g2/0/52001:24:/6412Route ReflectorClientR1-NE5000Ebgp 100 R1-NE5000E-bgpipv6-familyR1-NE5000E-bgp-af-ipv6 peer 2001:3:33 reflect-clientdisplay bgp ipv6 routing-table Total Number of Routes: 1 BGP Local router ID is 3.3.3.3 Status codes: * - valid, - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *i Network : 2001:4:44 PrefixLen : 128 NextHop : 2001:2:22 LocPrf : 100 Label : 0 PrefVal : 0 Path/Ogn : 200 i27Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 大型BGP网络配置团体属性lR4-NE20-A通过BGP发布路由信息给AS100,为该路由信息设置COMMUNITY属性NO_EXPORT,使得AS100内的路由器可以接收该路由信息,但是不会将该路由信息发给AS500 。R2-NE40E-AAS2000R3-NE40E-Bg2/0/61R4-NE20-Ag2/0/0g2/0/52001:24:/6412R5-NE20-B22001:53:/64AS100g2/0/1g2/0/2g2/0/22001:32:/6412AS50028Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 大型BGP网络配置团体属性R2-NE40E-AAS2000R3-NE40E-Bg2/0/61R4-NE20-Ag2/0/0g2/0/52001:24:/6412R5-NE20-B22001:53:/64AS100g2/0/1g2/0/2g2/0/22001:32:/6412AS500R4-NE20-Ainterface LoopBack 1R4-NE20-A-LoopBack1 ipv6 address 2001:4:4000/128R4-NE20-Aip ipv6-prefix 1 permit 2001:4:4000 128 R4-NE20-Aroute-policy ttt permit node 0R4-NE20-A-route-policy if-match ipv6 address prefix-list 1 R4-NE20-A-route-policyapply community no-export R4-NE20-A-route-policyquitR4-NE20-Abgp 2000R4-NE20-A-bgprouter-id 4.4.4.4 R4-NE20-A-bgppeer 2001:24:1 as-number 100 R4-NE20-A-bgpipv6-family R4-NE20-A-bgp-af-ipv6peer 2001:24:1 enableR4-NE20-A-bgp-af-ipv6network 2001:4:4000 128 R4-NE20-A-bgp-af-ipv6ipeer 2001:24:1 route-policy ttt exportR4-NE20-A-bgp-af-ipv6peer 2001:24:1 advertise-community R2-NE40E-Abgp 100R2-NE40E-A-bgprouter-id 2.2.2.2 R2-NE40E-A-bgppeer 2001:24:2 as-number 2000 R2-NE40E-A-bgppeer 2001:32:2 as-number 100 R2-NE40E-A-bgpipv6-family R2-NE40E-A-bgp-af-ipv6peer 2001:24:2 enableR2-NE40E-A-bgp-af-ipv6peer 2001:32:2 enableR2-NE40E-A-bgp-af-ipv6peer 2001:32:2 advertise-communityR2-NE40E-A-bgp-af-ipv6 peer 2001:32:2 next-hop-local 29Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. 大型BGP网络配置团体属性R2-NE40E-AAS2000R3-NE40E-Bg2/0/61R4-NE20-Ag2/0/0g2/0/52001:24:/6412R5-NE20-B22001:53:/64AS100g2/0/1g2/0/2g2/0/22001:32:/6412AS500R2-NE40E-A-bgpdisplay bgp ipv6 routing-table community Total Number of Routes: 1 BGP Local router ID is 2.2.2.2 Status codes: * - valid, - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete * Network : 2001:4:4000 PrefixLen : 128 NextHop : 2001:24:2 LocPrf : Label : 0 PrefVal : 0 Community: No-Export R3-NE40E-B-bgpdisplay bgp ipv6 routing-table community Total Number of Routes: 1 BGP Local router ID is 3.3.3.3 Status codes: * - valid, - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *i Network : 2001:4:4000 PrefixLen : 128 NextHop : 2001:32:1 LocPrf : 100 Label : 0 PrefVal : 0 Community: No-Export display bgp ipv6 routing-table communitydisplay bgp ipv6 routing-table30谢谢

    注意事项

    本文(18DA113007MP-BGPforIPv6原理与实现ISSUE100.pptx)为本站会员(修****)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开