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. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論