查看: 3229|回复: 7
收起左侧

[已解决] NP 642-902 第一题

[复制链接]
发表于 2011-7-4 09:48:32 | 显示全部楼层 |阅读模式

请先登录

您需要 登录 才可以下载或查看,没有账号?论坛注册

x
本帖最后由 小乔 于 2011-7-13 09:14 编辑

有人可以在路由器上输入这条ACL么?
access-list 101 permit ip 10.0.0.0 0.0.0.0 255.255.255.224 0.0.0.0
讲解是 说 0.0.0.0 是反掩码,但是请看下面我再路由器上的操作:

101 是扩展的ACL,permit ip <source ip -- wildcast> < destination ip --- wildcast>

期待高手!!


ipv6-gw-secure-srst(config)#access-list 101 permit ip ?
  A.B.C.D       Source address
  any           Any source host
  host          A single source host
  object-group  Source network object group

ipv6-gw-secure-srst(config)#access-list 101 permit ip 10.0.0.0 ?
  A.B.C.D  Source wildcard bits

ipv6-gw-secure-srst(config)#access-list 101 permit ip 10.0.0.0 0.0.0.0 ?
  A.B.C.D       Destination address
  any           Any destination host
  host          A single destination host
  object-group  Destination network object group

ipv6-gw-secure-srst(config)#access-list 101 permit ip 10.0.0.0 0.0.0.0 255.255.255.224 ?
  A.B.C.D  Destination wildcard bits

ipv6-gw-secure-srst(config)#access-list 101 permit ip 10.0.0.0 0.0.0.0 255.255.255.224 0.0.0.0 ?
  dscp        Match packets with given dscp value
  fragments   Check non-initial fragments
  log         Log matches against this entry
  log-input   Log matches against this entry, including input interface
  option      Match packets with given IP Options value
  precedence  Match packets with given precedence value
  time-range  Specify a time-range
  tos         Match packets with given TOS value
  <cr>

ipv6-gw-secure-srst(config)#access-list 101 permit ip 10.0.0.0 0.0.0.0 255.255.255.224 0.0.0.0

既然是permit host 10.10.0.0.0 host 255.255.255.224
那么这个ACL是怎么工作的呢?这道题是不是有问题呢?这可是NP题库的第一题啊!


该贴已经同步到 frank1106的微博
 楼主| 发表于 2011-7-4 09:55:42 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-7-4 10:53:18 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-7-4 11:04:12 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-7-4 16:37:39 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录

点评

完全可以  详情 回复 发表于 2011-7-4 18:15
回复 支持 反对

使用道具 举报

发表于 2011-7-4 18:15:35 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-7-7 13:24:02 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-7-16 17:24:50 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2026-11-18 10:04 , Processed in 0.084258 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表