MAC 访问控制列表

sw(config)#mac access-list extended mac

sw(config-ext-macl)#deny host xxxx.xxxx.xxxx(pc1) host xxxx.xxxx.xxxx(pc2)

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

sw(config)#int fa0/1

sw(config-if)#mac access-group mac in只禁止pc1访问pc2,其他的pc允许。。。。

你可能感兴趣的:(cisco,Command)