3C科技 娛樂遊戲 美食旅遊 時尚美妝 親子育兒 生活休閒 金融理財 健康運動 寰宇綜合

Zi 字媒體

2017-07-25T20:27:27+00:00
加入好友
設備基本設定 #進入管理模式 >enable #顯示設定 sh run #進入設定模式 conf ter #設定hostname (config)hostname #設定en密碼 (config)enable password #密碼加密,如果你用enable password,可以使用這個 (config)service password-encryption #直接設定加密後的密碼,不能和enable password同時用 (config)enable secret ***** #進入console port (config)line console 0 #設定console密碼 (config-line)password ***** #讓密碼生效 (config-line)login #進入telnet設定模式 #5個使用者telnet同時登入 (config)line vty 0 4 #設定telnet密碼 (config-line)password ***** #讓密碼生效 (config-line)login 其他設定 #切換到vlan模式,若沒有該vlan會自動建立 (config)int vlan 1 #設定IP和遮罩 (config-if)ip address 192.168.1.1 255.255.255.0 #設定gateway (config)ip default-gateway 192.168.1.254 #assign port 到vlan #指定5~10port (config)int range gi 1/0/5-10 #將port切換成access模式 (config-if)switchport mode access #將5~10port assign 給 vlan 123 (config-if)switchport access vlan 123 #防止 mac spoofing (config)mac address-table notification mac-move #鎖mac (config)mac address-table static 0000.0000.0000 vlan 123 drop #設定arp (config)arp 192.168.1.1 0000.0000.0000 arpa #儲存設定 write memory #查看某個mac從哪個port上來 show mac address-table address 0000.0000.0000 #查看某個port有哪些mac show mac address-table int Fa0/1 Categories: Cisco 分類 Android AngularJS API Blueprint Chrome Database MySQL DataStructure Docker Editor Vim Firefox Git GitLab Google API Hadoop Language Go Java JavaScript jQuery jQueryChart Node.js Vue PHP Laravel ZendFramework Python Mac Network Cisco DLink Juniper Oauth Server Apache Share Unix FreeBSD Linux WebDesign Bootstrap CSS HTML Wordpress Search 搜尋關鍵字:

本文由blogjohnsonluorg提供 原文連結

寫了 5860316篇文章,獲得 23313次喜歡
精彩推薦