宽带上网教程
局域网组建教程
无线上网知识
路由交换教程
分享互联网教程
交换机技术教程
网络管理员教程
网络协议教程
网络技术应用教程
组网方案教程
Cisco教程
华为技术
网络专业技术
网络存储教程
网络认证教程
网络服务器架设教程
WEB服务器教程
ftp服务器教程
mail服务器教程
网络管理员教程ID第81669篇

use a route-map to limit redistribution in OSPF

PCPPC.CN  教程来源:作者:  栏目:网络管理员教程  更新时间:较新  字体尺寸:缩小 放大
您正在看的网络管理员教程是:use a route-map to limit redistribution in OSPF。
  ! /* match only 172.16.10.x and 172.16.11.0 subnets */
  !
  access-list 1 permit 172.16.10.0 0.0.1.255
  !
  !
  ! /* use access-list 1 to determine what gets matched */
  !
  route-map LoopbacksOnly permit 10
  match ip address 1
  !
  !
  ! /* redistribute connected networks, any and all subnets, */
  ! /* and seed it as E2 type. Note that throughout your */
  ! /* OSPF domain, your loopbacks will have a metric of 20 */
  ! /* 20 is the default metric when you redistribute into */
  ! /* OSPF. Except for BGP routes which get a metric of 1. */
  ! /* Also use the route-map LoopbacksOnly to selectively */
  ! /* redistribute only the ones we want to redistribute. */
  !
  router ospf 200
  redistribute connected subnets metric-type E2 route-map LooopbacksOnly

  • 上一篇教程:

  • 下一篇教程:
  • 加入收藏 - 友情链接 - 网站声明 - 网站地图 - 关于我们 - 联系我们 -
    Copyright© 2004-2007 电脑教程之家 PCPPC.cn All Rights Reserved