日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

CISCO路由器產(chǎn)品配置手冊二--PSDN


PSTN
電話網(wǎng)絡(luò)(PSTN)是目前普及程度最高、成本最低的公用通訊網(wǎng)絡(luò),它在網(wǎng)絡(luò)互連中也有廣泛的應(yīng)用 。電話網(wǎng)絡(luò)的應(yīng)用一般可分為兩種類型,一種是同等級別機構(gòu)之間以按需撥號(DDR)的方式實現(xiàn)互連,一種是ISP為撥號上網(wǎng)為用戶提供的遠(yuǎn)程訪問服務(wù)的功能 。
1. 遠(yuǎn)程訪問
1.1. Access Server基本設(shè)置:
選用Cisco2511作為訪問服務(wù)器,采用IP地址池動態(tài)分配地址.遠(yuǎn)程工作站使用WIN95撥號網(wǎng)絡(luò)實現(xiàn)連接 。
全局設(shè)置:
任務(wù) 命令
設(shè)置用戶名和密碼 username username passWord password
設(shè)置用戶的IP地址池 ip local pool {defaultpool-name low-ip-address [high-ip-address]}
指定地址池的工作方式 ip address-pool [dhcp-proxy-clientlocal]
基本接口設(shè)置命令:
任務(wù) 命令
設(shè)置封裝形式為PPP encapsulation ppp
啟動異步口的路由功能 async default routing
設(shè)置異步口的PPP工作方式 async mode {dedicatedinteractive}
設(shè)置用戶的IP地址 peer default ip address {ip-addressdhcppool [pool-name]}
設(shè)置IP地址與Ethernet0相同 ip unnumbered ethernet0
line撥號線設(shè)置:
任務(wù) 命令
設(shè)置modem的工作方式 modem {inoutdialin}
自動配置modem類型 modem autoconfig discovery
設(shè)置撥號線的通訊速率 speed speed
設(shè)置通訊線路的流控方式 flowcontrol {nonesoftware [lock] [inout]hardware [inout]}
連通后自動執(zhí)行命令 autocommand command
訪問服務(wù)器設(shè)置如下:
Router:
hostname Router
enable secret 5 $1$EFqU$tYLJLrynNUKzE4bx6fmH//
!
interface Ethernet0
ip address 10.111.4.20 255.255.255.0
!
interface Async1
ip unnumbered Ethernet0
encapsulation ppp
keepalive 10
async mode interactive
peer default ip address pool Cisco2511-Group-142
!
ip local pool Cisco2511-Group-142 10.111.4.21 10.111.4.36
!
line con 0
exec-timeout 0 0
password cisco
!
line 1 16
modem InOut
modem autoconfigure discovery
flowcontrol hardware
!
line aux 0
transport input all
line vty 0 4
password cisco
!
end
相關(guān)調(diào)試命令:
show interface
show line
1.2. Access Server通過Tacacs服務(wù)器實現(xiàn)安全認(rèn)證:
使用一臺WINDOWS NT服務(wù)器作為Tacacs服務(wù)器,地址為10.111.4.2,運行Cisco2511隨機帶的Easy ACS 1.0軟件實現(xiàn)用戶認(rèn)證功能.
相關(guān)設(shè)置:
任務(wù) 命令
激活A(yù)AA訪問控制 aaa new-model
用戶登錄時默認(rèn)起用Tacacs 做AAA認(rèn)證 aaa authentication login default tacacs
列表名為no_tacacs使用ENABLE口令做認(rèn)證 aaa authentication login no_tacacs enable
在運行PPP的串行線上采用Tacacs 做認(rèn)證 aaa authentication ppp default tacacs
由TACACS 服務(wù)器授權(quán)運行EXEC aaa authorization exec tacacs
由TACACS 服務(wù)器授權(quán)與網(wǎng)絡(luò)相關(guān)的服務(wù)請求 。aaa authorization network tacacs
為EXEC會話運行記帳.進(jìn)程開始和結(jié)束時發(fā)通告給TACACS 服務(wù)器 。aaa accounting exec start-stop tacacs
為與網(wǎng)絡(luò)相關(guān)的服務(wù)需求運行記帳包括SLIP,PPP,PPP NCPs,ARAP等.在進(jìn)程開始和結(jié)束時發(fā)通告給TACACS 服務(wù)器 。aaa accounting network start-stop tacacs
指定Tacacs服務(wù)器地址 tacacs-server host 10.111.4.2
在Tacacs 服務(wù)器和訪問服務(wù)器設(shè)定共享的要害字,訪問服務(wù)器和Tacacs 服務(wù)器使用這個要害字去加密口令和響應(yīng)信息 。這里使用tac作為要害字 。tacacs-server key tac
訪問服務(wù)器設(shè)置如下:
hostname router
!
aaa new-model
aaa authentication login default tacacs
aaa authentication login no_tacacs enable
aaa authentication ppp default tacacs

推薦閱讀