任务1网络设备安全与应用解析.ppt

  1. 1、本文档共76页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
配置交换机端口 认证端口 Switch(config-if)#description description-string 端口速度 Switch(config-if)#speed{10 | 100 | auto} 端口模式 Switch(config-if#duplex{auto | full | half} 交换机口令的安全配置 密码设置 为用户模式设置注册密码,需要在全局配置模式下输入下列命令: Switch(config)#line con 0 Switch(config-line)#password password Switch(config-line)#login Switch(config-1)#line vty 0 15 Switch(config-line)#password password Switch(config-line)#login 重配置并验证 (config)#enable password level 1 noco (config)#enable password level 15 noko (config)#exit #exit 交换机端口安全配置方案与操作 激活保护功能: Switch(config—if)#switchport port-sercurity 规定被允许访问的MAC地址的最大数目: Switch(config-if)#switchport port-sercurity maximum max-address 静态地址配置: Switch(config-if)#switchport port-sercurity MAC-address MAC-address 必须确定使用端口保护的接口 Switch(config-if)#switchpolt port--sercurity violation{shutdown | restrict | protect} 配置方案1 -- 基于端口的MAC地址绑定 Switch#config terminal #进入配置模式 Switch(config)Interface fastethernet 0/1 #进入具体端口配置模式 Switch(config-if)Switchport port-secruity #配置端口安全模式 Switch(config-if )switchport port-security MAC-address MAC-address #配置该端口要绑定的主机的MAC地址 Switch(config-if )no switchport port-security MAC-address MAC-address #删除绑定主机的MAC地址 配置方案2 -- 基于MAC地址的扩展访问列表 Switch(config)Mac access-list extended MAC10 #定义一个MAC地址访问控制列表并且命名该列表名为MAC10 Switch(config)permit host 0009.6bc4.d4bf any #定义MAC地址为0009.6bc4.d4bf的主机可以访问任意主机 Switch(config)permit any host 0009.6bc4.d4bf #定义所有主机可以访问MAC地址为0009.6bc4.d4bf的主机 Switch(config-if )interface Fa0/20 #进入配置具体端口的模式 Switch(config-if )mac access-group MAC10 in #在该端口上应用名为MAC10的访问列表 Switch(config)no mac access-list extended MAC10 #清除名为MAC10的访问列表 配置方案3 -- IP地址与MAC地址绑定 Switch(config)mac access-list extended MAC10 #定义一个MAC地址访问控制列表并且命名该列表名为MAC10 Switch(config)permit host 0009.6bc4.d4bf any #定义MAC地址为0009.6bc4.d4bf的主机可以访问任意主机 Switch(config)permit any host 0009.6bc4.d4bf #定义所有主机可以访问MAC地址为0009.6bc4.d4bf的主机 Switch(config)ip access-list extended IP10 #定义一个IP地址访问控制列表并且命名该列表名为IP10 Switch(config)permit any #

文档评论(0)

武神赵子龙 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档