热门关键字:  PHP  seo  网络广告  Cisco 虚拟主机 中文域名

基于MAC的访问控制列表详解

来源:搜站长收集整理 作者:佚名 时间:2007-09-04 点击:

  Creating Named MAC Extended ACLs

  Step 1 配置终端进入全局配置模式

  Step 2 mac access-list extended name Define an extended MAC access list using a name.

  Step 3

  {deny | permit}

  {any | host source MACaddress | source MAC address mask}

  {any |host destination MAC address | destination MAC address mask} [type mask | lsap lsap mask | aarp | amber | dec-spanning | decnet-iv | diagnostic | dsm | etype-6000 | etype-8042 | lat | lavc-sca | mop-console | mop-dump | msdos | mumps | netbios | vines-echo |vines-ip | xns-idp | 0-65535]

  [cos cos]

  Step 4 end Return to privileged EXEC mode.

  Step 5 show access-lists [number | name] Show the access list configuration.

  Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.

  This example shows how to create and display an access list named mac1, denying only EtherType

  DECnet Phase IV traffic, but permitting all other types of traffic.

  Switch(config)# mac access-list extended mac1

  Switch(config-ext-macl)# deny any any decnet-iv

  Switch(config-ext-macl)# permit any any

  Switch(config-ext-macl)# end

  Switch # show access-lists

  Extended MAC access list mac1

  10 deny any any decnet-iv

  20 permit any any

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
赞助商连接