2009年6月28日 星期日

Cisco 指令操作----Router篇

動作

指令

說明

啟動管理模式 enable  
啟動特權模式 configure terminal  
設定設備名稱 hostname Cisco-HQ  
設定管理密罵 enable secret cisco  
設定登入連線密碼 line vty 0 4
password cisco
login
exit
 
設定CONSOLE連線密碼 line console 0
password cisco
login
exit
 
密碼加密 service password-encryption  
設定連線IP interface fastEthernet 0/0
ip address 10.1.1.254 255.255.255.0
no shutdown
exit
 
設定動態路由 router rip
version 2
network 10.0.0.0
exit
 
設定靜態路由 ip route 172.16.1.0 255.255.255.0 fastEthernet 0/1
ip route 0.0.0.0 0.0.0.0 serial 0/0/0
 
DHCP IP分配 ip dhcp pool SCE
network 192.168.1.0 255.255.255.128
dns-server 192.168.1.200
default-router 192.168.1.126
 
NAT 設定 interface fastEnternet 0/0
ip nat inside
exit
 
NAT 設定 interface serial 0/0/0
ip nat outside
exit
 
NAT 設定 ip nat inside source static 192.168.1.200 200.200.200.200  

沒有留言:

張貼留言