思科CCNP教程之PBR.pptVIP

  • 3
  • 0
  • 约1.29千字
  • 约 6页
  • 2017-11-30 发布于江西
  • 举报
思科CCNP教程之PBR

路由策略基础 策略路由配置命令 策略路由深入 策略使用原则 PBR案例 ? 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—1-* ? 2002, Cisco Systems, Inc. All rights reserved. * ? 2003, Cisco Systems, Inc. All rights reserved. 1. 定义route-map route-map xxx per 10 match ip add 1 匹配列表1的内容 set int s1 e0 匹配上面则去s1口,s1有问题时用e0 route-map xxx per 20 match ip add 2 set int e0 s1 2. 定义ACL access 1 per 192.168.10.1 0.0.0.255 access 2 per 192.168.11.1 0.0.0.255 3. 应用到接口 int s0 ip police route-map xxx 设置路由策略 注意:路由策略是基于源的 4. 查看命令 sh ip policy sh route-map route-map pbr match ip address 101 set ip next-hop 1.1.1.1 {设定101列表定义的路由的下一跳为1.1.1.1} Set intface vlan 10 route-map pbr match ip address 101 set ip default next-hop {设定101列表定义的路由的缺省下一跳} Set default intface vlan 10 路由表的查找顺序: 1、pbr的set ip next-hop 是发生在查表之前 2、明细路由 3、主类路由 4、pbr的set ip default next-hop 发生在查找缺省之前;即应用在没有详细路由时) 5、缺省路由 一般PBR只针对IN的流量,对于自己产生的流量不起作用,在cisco全局模式下利用命令 ip local polical route-map xxx 针对发生在一个路由器上的 ? 2001, Cisco Systems, Inc. All rights reserved. Title of Course (ACRO) vX.X Copyright ? 2001, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr

文档评论(0)

1亿VIP精品文档

相关文档