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

三 廣域網(wǎng)協(xié)議設(shè)置


六、PSTN
電話網(wǎng)絡(luò)(PSTN)是目前普及程度最高、成本最低的公用通訊網(wǎng)絡(luò) , 它在網(wǎng)絡(luò)互連中也有廣泛的應(yīng)用 。電話網(wǎng)絡(luò)的應(yīng)用一般可分為兩種類型 , 一種是同等級(jí)別機(jī)構(gòu)之間以按需撥號(hào)(DDR)的方式實(shí)現(xiàn)互連 , 一種是ISP為撥號(hào)上網(wǎng)為用戶提供的遠(yuǎn)程訪問(wèn)服務(wù)的功能 。
1. 遠(yuǎn)程訪問(wèn)
1.1.Access Server基本設(shè)置:
選用Cisco2511作為訪問(wèn)服務(wù)器,采用IP地址池動(dòng)態(tài)分配地址.遠(yuǎn)程工作站使用WIN95撥號(hào)網(wǎng)絡(luò)實(shí)現(xiàn)連接 。
全局設(shè)置:
基本接口設(shè)置命令:
line撥號(hào)線設(shè)置:
訪問(wèn)服務(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通過(guò)Tacacs服務(wù)器實(shí)現(xiàn)安全認(rèn)證:
使用一臺(tái)WINDOWS NT服務(wù)器作為Tacacs服務(wù)器 , 地址為10.111.4.2,運(yùn)行Cisco2511隨機(jī)帶的Easy ACS 1.0軟件實(shí)現(xiàn)用戶認(rèn)證功能.
相關(guān)設(shè)置:
訪問(wèn)服務(wù)器設(shè)置如下:
hostname router
!
aaa new-model
aaa authentication login default tacacs
aaa authentication login no_tacacs enable
aaa authentication ppp default tacacs
aaa authorization exec tacacs
aaa authorization network tacacs
aaa accounting exec start-stop tacacs
aaa accounting network start-stop tacacs
enable secret 5 $1$kN4g$CvS4d2.rJzWntCnn/0hvE0
!
interface Ethernet0
ip address 10.111.4.20 255.255.255.0
!
interface Serial0
no ip address
shutdown
interface Serial1
no ip address
shutdown
!
interface Group-Async1
ip unnumbered Ethernet0
encapsulation ppp
async mode interactive
peer default ip address pool Cisco2511-Group-142
no cdp enable
group-range 1 16
!
ip local pool Cisco2511-Group-142 10.111.4.21 10.111.4.36
tacacs-server host 10.111.4.2
tacacs-server key tac
!
line con 0
exec-timeout 0 0
password cisco
login authentication no_tacacs
line 1 16
login authentication tacacs
modem InOut
modem autoconfigure type usr_courier
autocommand ppp
transport input all
stopbits 1
rxspeed 115200
txspeed 115200
flowcontrol hardware
line aux 0
transport input all
line vty 0 4
password cisco
!
end
2. DDR(dial-on-demand routing)實(shí)例
此例通過(guò)Cisco 2500系列路由器的aux端口實(shí)現(xiàn)異步撥號(hào)DDR連接 。Router1撥號(hào)連接到Router2 。其中采用PPP/CHAP做安全認(rèn)證 , 在Router1中應(yīng)建立一個(gè)用戶 , 以對(duì)端路由器主機(jī)名作為用戶名 , 即用戶名應(yīng)為Router2 。同時(shí)在Router2中應(yīng)建立一個(gè)用戶 , 以對(duì)端路由器主機(jī)名作為用戶名 , 即用戶名應(yīng)為Router1 。所建的這兩用戶的password必須相同 。
相關(guān)命令如下:
Router1:
hostname Router1
!
enable secret 5 $1$QKI7$wXjpFqC74vDAyKBUMallw/
!
username Router2 password cisco
chat-script cisco-default "" "AT" TIMEOUT 30 OK "ATDT T" TIMEOUT 30 CONNECT c
!
interface Ethernet0
ip address 10.0.0.1 255.255.255.0

推薦閱讀