一、主要配置內容
1. 配置系統治理密碼 
2. 配置不同3. INTERFACE(接口)ip地址 
4. 配置與大學之間的TUNNEL
5. 配置地址翻譯NAT 
6. 配置靜態路由及動態路由協議OSPF
二、主要配置說明 
Router2621#show run
Building configuration...
Current configuration:
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname Router2621 //設置主機名,即命令行前提示符,CONFIG T進入配置模式,HOSTNAME +命名即可
!
enable password 123 //設置超級用戶密碼
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
ip inspect name rock FTP alert on audit-trail on timeout 6000
ip inspect name rli http alert on audit-trail on
ip inspect name hong tcp
ip inspect name wang tcp alert on audit-trail on
ip audit notify log
ip audit po max-events 100
isdn voice-call-failure 0
!
!
!
//設置邏輯接口LOOPBACK0的IP 地址,主要為地址翻譯用,對外翻譯地址為211.67.96.254
interface Loopback0
ip address 211.67.96.254 255.255.255.0
!
//與大學路由器做TUNNEL,并設置地址翻譯
interface Tunnel3
bandwidth 10000
ip address 10.10.10.10 255.255.255.252
ip nat outside
tunnel source FastEthernet0/1
tunnel destination 172.17.204.2
新聞熱點
疑難解答