- 1、本文档共19页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
08.IPv6PBR课件
IPv6 PBR CCNP ROUTE: Implementing IP Routing * ? 2011 Cisco Systems, Inc. All rights reserved. * Policy-Based Routing (PBR) PBR 有时称为流量工程,有助于高度控制路由选择。. IPv4 和 IPv6都支持PBR. PBR 可以用于: 手工配置分组的传输路径. 对分组进行分类和标记. IPv6 PBR 全局配置命令 route-map map-tag [permit | deny] [sequence-number] 与相应的IPv4命令相同. 与 IPv4 PBR一样, IPv6 PBR 也是基于: match 用于指定要根据策略进行路由的数据流 set 用于指定如何路由数据流. 在route map 中可使用多个 match 和 set 命令. redistribute protocol [process-id] route-map map-tag Router(config-router)# redistributed 进路由协议时进行具体路由条目的控制. Redistribution使用route-map 命令 route-map map-tag [permit | deny] [sequence-number] Router(config)# 与 IPv4 一样,定义 route map. match {conditions} Router(config-route-map)# 定义匹配的条件. set {actions} Router(config-route-map)# 定义匹配条件后的行为. match Commands Used in IPv6 PBR Command Description match ipv6 address 指定一个前缀列表或一个IPv6 ACL match ipv6 next-hop 将分组转发到下一跳 IPv6 全局地址 match ipv6 route-source 匹配通过路由器IPv6地址 match community 匹配 BGP 团体属性 match interface 匹配从这个指定接口去往下一跳的路由 match length 匹配基于 layer 3 报文长度 match metric 匹配指定路由的 metric match route-type 匹配指定的路由类型 match tag 匹配路由的标记 Specify a Prefix Permitted by a Prefix List 指定一个 prefix-list 或 ACL . Router(config-route-map)# match ipv6 address {prefix-list prefix-list-name | access-list-name} 用于指定: 重发布时前缀列表允许一个前缀. IPv6 PBR使用IPv6 ACL来匹配报文. set Commands Used in IPv6 PBR Command Description set ipv6 default next-hop Indicates an IPv6 default next hop to which matching packets will be forwarded set ipv6 next-hop Indicates where to output IPv6 packets that pass a match clause of a route map for policy routing set ipv6 precedence Set the precedence value in the IPv6 packet header set as-path Modifies an AS path for BGP routes set automatic-tag Computes automatically the tag value set community Sets the BGP communities attribute set default interface Indicates where to output packets that pass a match clause of a route map for policy routing and have no explicit route to the destination set interface Indicates where to output packets that pass a
文档评论(0)