首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 计算机考试 > 认证考试 > 思科认证 >

CCNA路由过滤命令解析(二)(2)

2012-12-12 
思科认证CCNA路由过滤命令详解(二)

  <1> 与接口联用

  router ospf 25

  redistribute rip metric 100

  network 172.16.1.254 0.0.0.0 area 25

  network 172.16.8.254 0.0.0.0 area 25

  network 172.16.50.254 0.0.0.0 area 25

  distribute-list 3 in Ethernet0/0

  distribute-list 3 in Ethernet0/1

  distribute-list 3 in Ethernet0/2

  !

  router rip

  redistribute ospf 25 metric 5

  passive-interface Ethernet0/0

  passive-interface Ethernet0/1

  passive-interface Ethernet0/2

  network 192.16.0.0

  distribute-list 1 in Ethernet0/3

  distribute-list 1 in Ethernet2/0

  distribute-ilst 1 in Ethernet2.1

  !

  ip classless

  access-list 1 permit 172.16.128.0 0.0.127.255

  access-iist 3 permit 172.16.0.0 0.0.127.255

  <2> 与路由进程联用:

  router ospf 25

  redistribute rip metric 100

  network 172.16.1.254 0.0.0.0 area 25

  network 172.16.8.254 0.0.0.0 area 25

  network 172.16.50.254 0.0.0.0 area 25

  distribute-list 10 out rip

  !

  router rip

  redistribute ospf 25 metric 5

  passive-interface Ethernet0/3

  passive-interface Ethernet2/0

  passive-interface Ethernet2/1

  network 172.16.0.0

  distribute-list 20 out ospf 25

  !

  ip classless

  access-list 10 permit 172.16.130.0

  access-list 10 permit 172.16.145.0

  access-list 10 permit 172.16.240.0

  access-list 20 permit 172.16.23.0

  access-list 20 permit 172.16.9.0

  access-list 20 permit 172.16.75.0

  Case Study: distribute-list in (BGP)

  Syntax:

  distribute-list {acl-number | prefix list-name} in

  no distribute-list {acl-number | prefix list-name} in Command Modes:

  Router configuration

热点排行