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
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

permit (MAC)

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

语法
permit {nn:nn:nn:nn:nn:nn [00:00:00:00:00:00] | any} {nn:nn:nn:nn:nn:nn [00:00:00:00:00:00] | any} [protocol-number | capture | count [byte] | cos | vlan]
参数
  • nn:nn:nn:nn:nn:nn — 输入 MAC 地址。
  • 00:00:00:00:00:00 —(可选)输入 MAC 地址中的哪些位必须匹配。如果不输入掩码,则将应用 00:00:00:00:00:00 掩码。
  • any —(可选)设置哪些路由受筛选器约束:
    • protocol-number — 输入 MAC 标头中标识的 MAC 协议编号,从 600 到 ffff。
    • capture —(可选)输入筛选器处理的捕获数据包。
    • count —(可选)输入筛选器处理的数据包计数。
    • byte —(可选)输入筛选器处理的字节计数。
    • cos —(可选)输入 CoS 值,从 0 到 7。
    • vlan —(可选)输入 VLAN 编号,从 1 到 4093。
默认
未配置
命令模式
MAC-ACL
使用情况信息
OS10 不能同时计算数据包和字节数;当您输入 count byte 选项时,仅增加字节数。此命令的 no 版本将移除筛选器。
示例
OS10(config)# mac access-list macacl
OS10(conf-mac-acl)# permit 00:00:00:00:11:11 00:00:11:11:11:11 any cos 7
OS10(conf-mac-acl)# permit 00:00:00:00:11:11 00:00:11:11:11:11 any vlan 2
支持的版本
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: <>()\