service timestamps debug uptime service timestamps log uptime service passWord-encryption no service tcp-small-servers no service udp-small-servers ! hostname <您路由器的名稱(chēng)> ! enable password <進(jìn)入特權(quán)模式的口令> username <撥入用戶(hù)名> password <撥入用戶(hù)口令> ! no ip name-server ! ip subnet-zero no ip domain-lookup ip routing ! interface Ethernet 0 no shutdown description connected to EthernetLAN ip address <以太網(wǎng)口IP地址及子網(wǎng)掩碼> no keepalive ! interface Serial 0 no description no ip address shutdown ! interface Serial 1 no description no ip address shutdown ! interface Group-Async 1 no shutdown description connected to Dial-inPCs(modem) ip unnumbered Ethernet 0 ip tcp header-comPRession passive encapsulation ppp async mode dedicated group-range <異步端口號(hào)范圍> ppp authentication chap no cdp enable peer default ip address pool <本地地址池名稱(chēng)> ! router rip version 2 network <內(nèi)網(wǎng)段地址> no auto-summary ! ! ip local pool <本地地址池名?gt; <將分配給撥入用戶(hù)的IP地址范圍> ip classless no ip http server snmp-server community public RO no snmp-server location no snmp-server contact ! line console 0 exec-timeout 0 0 password <從控制臺(tái)端口登錄進(jìn)用戶(hù)模式所需口令> login ! line vty 0 4 password login ! line <異步線(xiàn)號(hào)范圍> exec autoselect ppp autoselect during-login login local modem InOut transport input all stopbits 1 speed 38400 flowcontrol hardware ! end