Upload
fl-yu
View
1.462
Download
3
Embed Size (px)
Citation preview
第 19 讲 ISDN第 19 讲 ISDN
ISDN 的起源和优点ISDN 的起源和优点
ISDN 起源于 1968 年当时人们预测它将访问集成到广泛的服务的范围(语音、网络互联、报文交换和有线电视)ISDN 基于模拟通信的优点 1 、连接建立极快 2 、比租用线路费用底 3 、比模拟线路的传输速度更快
什么是 ISDN
Providernetwork
Digital PBX
Small office
Home office
ISDN 能够提供声音、视频、数据等传输服务
Telecommuter
Central site
ISDN 的两种服务方式ISDN 的两种服务方式
ISDN 服务根据不同的信道数目分为: 1 、 BRI (Basi Rate Interface) 典型的 ISDN BRI 服务提供两个 B 信道和一个D 信道 ( 2B+D ) 应用于小型企业或家庭;
2 、 PRI ( Primary Rate Interface ) [ 北美和日本 ] 提供的 ISDN PRI 服务提供二十三个 B
信道和一个 D 信道 ( 23B+D )速率可达 1.544Mbps
[ 欧洲 ] 提供的 ISDN PRI 服务提供三十个 B 信道和一个 D 信道( 30B+D )速率可达 2.048Mbps
应用于大型企业, PRI 通过利用多个信道捆绑在一起,来实现高带宽的网络环境。
BRI 和 PRI 是 ISDN 的两种常见访问方式
Channel Mostly Used for
B Circuit-switched data (HDLC, PPP)
Capacity
64 kbps
D 2BServiceprovidernetwork
NT1
ISDN 访问方式
Signaling information (LAPD)D 16/64 kbps
CSU/DSU
23 or 30B
BRI
PRI
D
3311
BRI 呼叫处理BRI 呼叫处理
ISDNservice provider
44
B channel(s)
D channel/SS7 signaling
22 SS7
ISDNSwitch
ISDNSwitch
ISDN 功能和参考点
硬件设备的主要功能 参考点的划分和不同的接
口
NT1
TATE2
TE1 NT2
Local loop
Existing Terminal
ISDN Terminal
Terminal Adapter
R
S T UServiceprovidernetwork
Cisco ISDN BRI 接口
TA
S/T
R
Serviceprovidernetwork
Native ISDN interface—int bri 0
Nonnative ISDN interface—int serial 0(EIA/TIA-232, V.35, X.21)
NT1
NT1S0
S/T
bri 0
U
bri 0
TE1
NT1
TE1 TE2
Router(config)#isdn switch-type switch-type
配置 ISDN BRI
� 指明与 ISDN 交换机连接的路由器的交换� 其它的配置不同的提供商会有不同的要求
Step 1: 指定 ISDN 的交换类型
Router(config-if)#isdn switch-type switch-type
配置 ISDN BRI
Step 2: ( 可选 ) 设置 SPIDs
Router(config-if)#isdn spid1 spid-number [ ldn ]
Router(config-if)#isdn spid2 spid-number [ ldn ]
什么是按需拨号路由 (DDR)
PSTN
ISDNI need to send data to Dallas.
DallasCorporate
Chicago
需要时建立连接数据通讯完成时切断ISDN 或 PSTN
何时使用 DDR
Headquarters
Telecommuter
Vendor定期连接小数据量传输
DDR 工作过程DDR 工作过程
1. 决定目标路径
DCE
“ Interesting” packet arrives
DDR 工作过程DDR 工作过程
1. 决定目标路径2. 指明建立 DDR 通话的触发条件
DCE
“ Interesting” packet arrives
DDR 工作过程DDR 工作过程
1. 决定目标路径2. 指明建立 DDR 通话的触发条件3. 检查拨号信息
“ Interesting” packet arrives
Dial connection
ISDN or Basic
Service
DCE
1. 决定目标路径2. 指明建立 DDR 通话的触发条件3. 检查拨号信息4. 数据传输5. 会话结束
DDR 工作过程DDR 工作过程
“ Interesting” packet arrives
Dial connection
ISDN or Basic
Service
DCE
配置 DDR配置 DDR
1 指定静态路由—使用哪条路由 ?
“ Interesting” packet arrives
DCE
配置 DDR配置 DDR
1
2
指定静态路由—使用哪条路由 ?
指定触发数据—什么样的数据能够建立连接 ?
“ Interesting” packet arrives
DCE
3
1
2
指定静态路由—使用哪条路由 ?
指定触发数据—什么样的数据能够建立连接 ?
配置拨号信息—播叫哪个号码 ?
配置 DDR配置 DDR
“ Interesting” packet arrives
Dial connection
ISDN or Basic
Service
DCE
任务 1: 指定路由信息
Network prefixand prefix mask
Specify address of next hop router
ip route 10.40.0.0 255.255.0.0 10.1.0.1
ip route 10.10.0.0 255.255.0.0 10.1.0.2ip route 10.20.0.0 255.255.0.0 10.1.0.2
CentralISDNHome
10.1.0.1
bri 05551000
bri 05552000
10.1.0.2 Subnets 10.10.0.0 10.20.0.0
Subnet 10.40.0.0
任务 2: 指定触发条件
dialer-list 1 protocol ip permit
dialer-list 1 protocol ip list 101
access-list 101 deny tcp any any eq ftpaccess-list 101 deny tcp any any eq telnetaccess-list 101 permit ip any any
所有的数据都可以建立连接
除了 FTP 和 Telnet 以外的数据都可以建立连接
Deny FTPDeny Telnet
• 没有访问列表
•有访问列表
任务 3: 配置拨号信息
根据实际情况在端口上设置拨号信息
hostname Home! isdn switch-type basic-5ess!interface BRI0 ip address 10.1.0.1 255.255.255.0 encapsulation ppp dialer idle-timeout 180 dialer map ip 10.1.0.2 name Central 5552000 dialer-group 1 no fair-queue ppp authentication chap!router ripnetwork 10.0.0.0!no ip classlessip route 10.10.0.0 255.255.0.0 10.1.0.2ip route 10.20.0.0 255.255.0.0 10.1.0.2!dialer-list 1 protocol ip permit
这两个值要匹配
Central
任务 3: 配置拨号信息
How do I get to subnetwork 10.10.0.0?
Number to dial
Remote host nameUsed for PPP CHAP
interface BRI0 ip address 10.1.0.1 255.255.255.0 encapsulation ppp dialer idle-timeout 180 dialer map ip 10.1.0.2 name Central 5552000 dialer-group 1 no fair-queue ppp authentication chap
ISDNHome
10.1.0.1
bri 05551000
bri 05552000
10.1.0.2 Subnets 10.10.0.0 10.20.0.0
DDR 配置总述
1
3
2
hostname Home!isdn switch-type basic-5ess!interface BRI0 ip address 10.1.0.1 255.255.255.0 encapsulation ppp dialer load-threshold 125 either dialer idle-timeout 180 dialer map ip 10.1.0.2 name Central 5552000 dialer-group 1ppp authentication chap!router ripnetwork 10.0.0.0!no ip classlessip route 10.10.0.0 255.255.0.0 10.1.0.2ip route 10.20.0.0 255.255.0.0 10.1.0.2dialer-list 1 protocol ip permit!
� 设置启用第二个通道传输数据的条件
� 设置会话切断前的延迟时间
Router(config-if)#dialer idle-timeout seconds
DDR 配置命令
Router(config-if)#dialer load-threshold load [ outbound | inbound | either ]
access-list 101 permit tcp any any eq smtpaccess-list 101 permit tcp any any eq telnetdialer-list 1 protocol ip list 101!ip route 192.168.12.0 255.255.255.0 10.108.126.2ip route 192.168.14.0 255.255.255.0 10.108.126.2!interface bri 0ip address 10.108.126.1 255.255.255.0dialer-group 1dialer map ip 10.108.126.2 name B 5551234!dialer idle-timeout 300
Access list defininginteresting packets on Cisco A
Static routes to reach destination
Interface configuration for DDR
Time to waitbefore dropping call
DDR 配置举例
Subnets 192.168.12.0 192.168.14.0
10.108.126.1 10.108.126.2
ISDNA B
Router#ping or telnet
Router#show dialer
Router#show isdn active
Router#show isdn status
•触发线路的连接
•显示线路的连接状态
•使用 ISDN 时 , 会话建立时的状态显示
•显示 ISDN 的连接状态
Router#show ip route•显示路由表
查看 ISDN 信息查看 ISDN 信息
Router#debug dialer •显示会话建立和切断状态
•在端口上清除已经建立的连接
Router#debug isdn q921 •显示 ISDN 第二层信息
Router(config-if)#shutdown
查看 ISDN 信息查看 ISDN 信息
•显示 ISDN 会话建立和切断情况Router#debug isdn q931