RG-S21交换机(端口+IP+MAC)配置模板.doc_第1页
RG-S21交换机(端口+IP+MAC)配置模板.doc_第2页
RG-S21交换机(端口+IP+MAC)配置模板.doc_第3页
RG-S21交换机(端口+IP+MAC)配置模板.doc_第4页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

S21交换机(端口+IP+MAC)配置模板锐捷网络远程技术支持中心技术热线:4008-111-000S21交换机(端口+IP+MAC)配置模板:IP+MAC+端口:例:在端口F0/2上绑定:IP:192.168.12.202 MAC: 00d0.f800.073c的主机。Switch# configure terminal!进入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.Switch(config)# interface fastethernet 0/2!进入端口2配置模式Switch(config-if)# switchport mode access!把端口模式改为access口Switch(config-if)# switchport port-security!启用端口安全Switch(config-if)# switchport port-security maximum 24!最多允许24个mac地址,最大128Switch(config-if)# switchport port-security mac-address 00d0.f800.073c !端口和mac地址的绑定Switch(config-if)# switchport port-security mac-address 00d0.f800.073c ip-address 192.168.12.202!端口+mac地址+ip地址绑定Switch(config-if)# endSwitch#wr下面是操作时的截图: Initializing. Done 2006-03-10 14:57:06 5-COLDSTART:System coldstart Switch Switch Switchen Password: Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface f 0/2 2006-03-10 14:57:38 5-CONFIG:Configured from outband Switch(config-if)#switchport mode access 2006-03-10 14:58:32 5-CONFIG:Configured from outbandSwitch(config-if)#switchport port-securitySwitch(config-if)#switchport port-security maximum 242006-03-10 15:04:51 5-CONFIG:Configured from outbandSwitch(config-if)#Switch(config-if)#switchport port-security mac-address 00d0.f800.073c2006-03-10 15:24:56 5-CONFIG:Configured from outbandSwitch(config-if)#$rity mac-address 00d0.f800.073c ip-address 192.168.12.2022006-03-10 15:25:13 5-CONFIG:Configured from outband% Prompt: enable ARP check can provide more secure policy to refuse illegal ARPpacket.Switch(config-if)#end2006-03-10 15:25:43 5-CONFIG:Configured from outbandSwitch#wrBuilding configuration.OKSwitch#模版如下:configure terminalinterface fastethernet 0/2switchport mode accessswitchport port-securityswitchport port-security maximum 24switchport port-security mac-address 00d0.f800.073c switchport port-security mac-address 00d0.f800.073c ip-address 192.168.12.202endS21交换机(端口+IP)配置模板:配置信息:Switch#show runSystem software version : 1.63 Build Jan 6 2006 RelBuilding configuration.Current configuration : 1183 bytes!version 1.0!no enable services web-server hostname Switchvlan 1!enable secret level 1 5 &tPaeinqubfjo+rv8cgkE,smdhl&-enable secret level 15 5 &tsv1quT7+.trvV/,|7zsW&-/-a!interface fastEthernet 0/5 switchport port-security violation shutdown !当出现端口和IP不匹配的情况,端口自动关闭。 switchport port-security aging time 2 switchport port-security ip-address 10.32.1.48 switchport port-security ip-address 10.32.1.49!interface fastEthernet 0/6 switchport port-security switchport port-security violation shutdown switchport port-security aging time 2 switchport port-security ip-address 10.32.1.50!interface vlan 1 no shutdown ip address 10.32.1.10 255.255.255.0 !ip default-gatew

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论