Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

permit

配置筛选器以允许具有特定 IPv4 地址的数据包。

语法
permit [protocol-number | icmp | ip | tcp | udp] [A.B.C.D | A.B.C.D/x | any | host ip-address] [A.B.C.D | A.B.C.D/x | any | host ip-address] [capture | count | dscp value | fragment | log]
参数
  • protocol-number —(可选)输入 IP 标头中标识的协议号,从 0 到 255。
  • icmp —(可选)输入允许的 ICMP 地址。
  • ip —(可选)输入允许的 IPv4 地址。
  • tcp —(可选)输入允许的 TCP 地址。
  • udp —(可选)输入允许的 UDP 地址。
  • A.B.C.D — 以点分隔的十进制格式输入 IPv4 地址。
  • A.B.C.D/x — 输入必须与点分十进制地址匹配的位数。
  • any —(可选)输入关键字 any 以指定任何源或目标 IP 地址。
  • host ip-address —(可选)输入 IPv4 地址,以仅使用主机地址。
  • capture —(可选)捕获筛选器处理的数据包。
  • count —(可选)计算筛选器处理的数据包数。
  • byte —(可选)计算筛选器处理的字节数。
  • dscp value —(可选)根据 DSCP 值(从 0 到 63)允许数据包。
  • fragment —(可选)使用 ACL 控制数据包片段。
  • log —(可选)启用 ACL 日志记录。记录与 ACL 规则匹配的数据包的信息。
默认
未配置
命令模式
IPV4-ACL
使用情况信息
OS10 不能同时计算数据包和字节数;当您输入 count byte 选项时,仅增加字节数。此命令的 no 版本将移除筛选器。
示例
OS10(config)# ip access-list testflow
OS10(conf-ipv4-acl)# permit udp any any capture session 1 
支持的版本
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\