ISDN.docx

上传人:b****9 文档编号:26002922 上传时间:2023-06-17 格式:DOCX 页数:13 大小:24.38KB
下载 相关 举报
ISDN.docx_第1页
第1页 / 共13页
ISDN.docx_第2页
第2页 / 共13页
ISDN.docx_第3页
第3页 / 共13页
ISDN.docx_第4页
第4页 / 共13页
ISDN.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

ISDN.docx

《ISDN.docx》由会员分享,可在线阅读,更多相关《ISDN.docx(13页珍藏版)》请在冰豆网上搜索。

ISDN.docx

ISDN

CISCO路由器配置手册

五、ISDN

1.      综合数字业务网(ISDN)

综合数字业务网(ISDN)由数字电话和数据传输服务两部分组成,一般由电话局提供这种服务。

ISDN的基本速率接口(BRI)服务提供2个B信道和1个D信道(2B+D)。

BRI的B信道速率为64Kbps,用于传输用户数据。

D信道的速率为16Kbps,主要传输控制信号。

在北美和日本,ISDN的主速率接口(PRI)提供23个B信道和1个D信道,总速率可达1.544Mbps,其中D信道速率为64Kbps。

而在欧洲、澳大利亚等国家,ISDN的PRI提供30个B信道和1个64KbpsD信道,总速率可达2.048Mbps。

我国电话局所提供ISDNPRI为30B+D。

2.      基本命令

任务

命令

设置ISDN交换类型

isdnswitch-typeswitch-type1

接口设置

interfacebri0

设置PPP封装

encapsulationppp

设置协议地址与电话号码的映射

dialermapprotocolnext-hop-address[namehostname][broadcast][dial-string]

启动PPP多连接

pppmultilink

设置启动另一个B通道的阈值

dialerload-thresholdload

显示ISDN有关信息

showisdn{active|history|memory|services|status[dsl|interface-typenumber]|timers}

注:

1.交换机类型如下表,国内交换机一般为basic-net3。

按区域分关键字                 

交换机类型

Australia

 

basic-ts013

AustralianTS013switches

Europe

 

basic-1tr6

German1TR6ISDNswitches

basic-nwnet3

NorwayNET3switches(phase1)

basic-net3

NET3ISDNswitches(UK,Denmark,andothernations);coverstheEuro-ISDNE-DSS1signallingsystem

primary-net5

NET5switches(UKandEurope)

vn2

FrenchVN2ISDNswitches

vn3

FrenchVN3ISDNswitches

Japan

 

ntt

JapaneseNTTISDNswitches

primary-ntt

JapaneseISDNPRIswitches

NorthAmerica

 

basic-5ess

AT&Tbasicrateswitches

basic-dms100

NTDMS-100basicrateswitches

basic-ni1

NationalISDN-1switches

primary-4ess

AT&T4ESSswitchtypefortheU.S.(ISDNPRIonly)

primary-5ess

AT&T5ESSswitchtypefortheU.S.(ISDNPRIonly)

primary-dms100

NTDMS-100switchtypefortheU.S.(ISDNPRIonly)

NewZealand

 

basic-nznet3

NewZealandNet3switches

3.      ISDN实现DDR(dial-on-demandrouting)实例:

设置如下:

Router1:

hostnamerouter1

userrouter2passwordcisco

!

isdnswitch-typebasic-net3

!

interfacebri0

ipaddress192.200.10.1255.255.255.0

encapsulationppp

dialermapip192.200.10.2namerouter2572

dialerload-threshold80

pppmultilink

dialer-group1

pppauthenticationchap

dialer-list1protocolippermit

!

Router2:

hostnamerouter2

userrouter1passwordcisco

!

isdnswitch-typebasic-net3

!

interfacebri0

ipaddress192.200.10.2255.255.255.0

encapsulationppp

dialermapip192.200.10.1namerouter1571

dialerload-threshold80 

pppmultilink

dialer-group1

pppauthenticationchap

dialer-list1protocolippermit

!

Cisco路由器同时支持回拨功能,我们将路由器Router1作为CallbackServer,Router2作为CallbackClient。

与回拨相关命令:

任务

命令

映射协议地址和电话号码,并在接口上使用在全局模式下定义的PPP回拨的映射类别。

dialermapprotocoladdressnamehostnameclassclassnamedial-string

设置接口支持PPP回拨

pppcallbackaccept

在全局模式下为PPP回拨设置映射类别

map-classdialerclassname

通过查找注册在dialermap里的主机名来决定回拨.

 dialercallback-server[username]

设置接口要求PPP回拨

pppcallbackrequest 

设置如下:

Router1:

hostnamerouter1

userrouter2passwordcisco

!

isdnswitch-typebasic-net3

!

interfacebri0

ipaddress192.200.10.1255.255.255.0

encapsulationppp

dialermapip192.200.10.2namerouter2classs3572

dialerload-threshold80

pppcallbackaccept

pppmultilink

dialer-group1

pppauthenticationchap

map-classdialers3

dialercallback-serverusername

dialer-list1protocolippermit

!

Router2:

hostnamerouter2

userrouter1passwordcisco

!

isdnswitch-typebasic-net3

!

interfacebri0

ipaddress192.200.10.2255.255.255.0

encapsulationppp

dialermapip192.200.10.1namerouter1571

dialerload-threshold80

pppcallbackrequest 

pppmultilink

dialer-group1

pppauthenticationchap

dialer-list1protocolippermit

!

相关调试命令:

debugdialer

debugisdnevent

debugisdnq921

debugisdnq931

debugpppauthentication

debugppperror

debugpppnegotiation

debugppppacket

showdialer

showisdnstatus

举例:

执行debugdialer命令观察router2呼叫router1,router1回拨router2的过程.

router1#debugdialer

router2#ping192.200.10.1

router1#

00:

03:

50:

%LINK-3-UPDOWN:

InterfaceBRI0:

1,changedstatetoup

00:

03:

50:

BRI0:

1:

PPPcallbackCallbackserverstartingtorouter2572

00:

03:

50:

BRI0:

1:

disconnectingcall

00:

03:

50:

%LINK-3-UPDOWN:

InterfaceBRI0:

1,changedstatetodown

00:

03:

50:

BRI0:

1:

disconnectingcall

00:

03:

50:

BRI0:

1:

disconnectingcall

00:

03:

51:

%LINK-3-UPDOWN:

InterfaceBRI0:

2,changedstatetoup

00:

03:

52:

callbacktorouter2alreadystarted

00:

03:

52:

BRI0:

2:

disconnectingcall

00:

03:

52:

%LINK-3-UPDOWN:

InterfaceBRI0:

2,changedstatetodown

00:

03:

52:

BRI0:

2:

disconnectingcall

00:

03:

52:

BRI0:

2:

disconnectingcall

00:

04:

05:

:

Callbacktimerexpired

00:

04:

05:

BRI0:

beginningcallbacktorouter2572

00:

04:

05:

BRI0:

Attemptingtodial572

00:

04:

05:

Freeingcallbacktorouter2572

00:

04:

05:

%LINK-3-UPDOWN:

InterfaceBRI0:

1,changedstatetoup

00:

04:

05:

BRI0:

1:

Nocallbacknegotiated

00:

04:

05:

%LINK-3-UPDOWN:

InterfaceVirtual-Access1,changedstatetoup

00:

04:

05:

dialerProtocolupforVi1

00:

04:

06:

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceBRI0:

1,changedstate

toup

00:

04:

06:

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceVirtual-Access1,chang

edstatetoup

00:

04:

11:

%ISDN-6-CONNECT:

InterfaceBRI0:

1isnowconnectedto572

#router1

4.    ISDN访问首都在线263网实例:

本地局部网地址为10.0.0.0/24,属于保留地址,通过NAT地址翻译功能,局域网用户可以通过ISDN上263网访问Internet。

263的ISDN电话号码为2633,用户为263,口令为263,所涉及的命令如下表:

任务

命令

指定接口通过PPP/IPCP地址协商获得IP地址

ipaddressnegotiated

指定内部和外部端口

ipnat{inside|outside}

使用ppp/pap作认证

pppauthenticationpapcallin

指定接口属于拨号组1

dialer-group1

定义拨号组1允许所有IP协议

dialer-list1protocolippermit

设定拨号,号码为2633

dialerstring2633 

设定登录263的用户名和口令

ppppapsent-username263password263

设定默认路由

iproute0.0.0.00.0.0.0bri0

设定符合访问列表2的所有源地址被翻译为bri0所拥有的地址

ipnatinsidesourcelist2interfacebri0overload

设定访问列表2,允许所有协议

access-list2permitany

具体配置如下:

hostnameCisco2503

!

isdnswitch-typebasic-net3

!

ipsubnet-zero

noipdomain-lookup

iprouting

!

interfaceEthernet0

ipaddress10.0.0.1255.255.255.0

ipnatinside

noshutdown

!

interfaceSerial0

shutdown

nodescription

noipaddress

!

interfaceSerial1

shutdown

nodescription

noipaddress

!

interfacebri0

ipaddressnegotiated

ipnatoutside

encapsulationppp

pppauthenticationpapcallin

pppmultilink

dialer-group1

dialerhold-queue10

dialerstring2633 

dialeridle-timeout120

ppppapsent-username263password263

nocdpenable

noipsplit-horizon

noshutdown

!

ipclassless

!

!

StaticRoutes

!

iproute0.0.0.00.0.0.0bri0

!

!

AccessControlList2

!

access-list2permitany

!

dialer-list1protocolippermit

!

!

DynamicNAT

!

ipnatinsidesourcelist2interfacebri0overload

snmp-servercommunitypublicro

!

lineconsole0

exec-timeout00

!

linevty04

!

end

5.      Cisco765M通过ISDN拨号上263

由于Cisco765的设置命令与我们常用的Cisco路由器的命令不同,所以以下列举了通过Cisco765上263访问Internet的具体命令行设置步骤。

>setsystemc765

c765>setmultidestinationon

c765>setswitchnet3

c765>setpppmultilinkon

c765>cdlan

c765:

LAN>setiproutingon

c765:

LAN>setipaddress10.0.0.1

c765:

LAN>setipnetmask255.0.0.0

c765:

LAN>setbridingoff

c765:

LAN>cd

c765>setuserremotenet

Newuserremotenetbeingcreated

c765:

remotenet>setiproutingon

c765:

remotenet>setbridgingoff

c765:

remotenet>setipframingnone

c765:

remotenet>setpppclientname263

c765:

remotenet>setppppasswordclient

EnternewPassword:

263

Re-TypenewPassword:

263

c765:

remotenet>setpppauthenticationoutnone

c765:

remotenet>setipaddress0.0.0.0

c765:

remotenet>setipnetmask0.0.0.0

c765:

remotenet>setpppaddressnegotiationlocalon

c765:

remotenet>setippaton

c765:

remotenet>setiproutedestination0.0.0.0/0gateway0.0.0.0

c765:

remotenet>setnumber2633

c765:

remotenet>setactive

命令描述如下:

任务

命令

设置路由器系统名称

setsystemc765

允许路由器呼叫多个目的地

setmultidestinationon

设置ISDN交换机类型为NET3

setswitchnet3

允许点到点间多条通道连接实现负载均衡

setpppmultilinkon

关掉桥接

setbridingoff

建立用户预制文件用于设置拨号连接参数-可以设置多个用户预制文件用于相同的物理端口对应于不同的连接。

setuserremotenet

使用PPP/IPCP

setipframingnone

设置上网用户帐号

setpppclientname263

设置上网口令

setppppasswordclient

EnternewPassword:

263

Re-TypenewPassword:

263

不用PPP/CHAP或PAP做认证

setpppauthenticationoutnone

允许地址磋商

setpppaddressnegotiationlocalon

设置地址翻译

setippaton

设置默认路由

setiproutedestination0.0.0.0/0gateway0.0.0.0

设置ISP的电话号码

setnumber2633

激活用户预制文件

setactive

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 职业教育 > 职业技术培训

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1