آقا راست میگی .من معذرت میخواهم.اما با کمک شما راه میفتم.درست باید زحمت بیشتری بکشم .اما میخوام زودتر به نتیجه برسم. ببخشید .اما من یک سری مطالبی تهیه کردم اگه میشه یک نگاهی بیندازید:
در رابطه با controller ,int serial, line ,int async-group در تنظیمات router و access server باید توضیح بدم که :
برای اینکه سرویس isdn را بتونید به کاربران خود ارایه بدید نیاز دارید تا روی as خود تنظیماتی داشته باشید.و هر کدام از این تنظیمات مخصوص یکی از لایه های isdn است.
شما میدانید که یک pri isdn دارای تعدادی channel هست که شماره 15در e1 و 23 در t1 برای D هست.
و رفتار و عملکرد B ها به وسیله تنظیمات D کنترل میشه.
ما ابتدا باید controller خود را تنظیم کنیم تا به وسیله اون تنظیمات سطح فیزیکی مثل framing,line code,timeslots,clock source و اینجور تنظیمات مربوط به این سطح را انجام بدیم.
Configuring ISDN PRI
Step
Command
Purpose
1
5300> enable
Password: <password>
5300#
Enter enable mode.
Enter the password.
You have entered enable mode when the prompt changes to 5300#.
2
5300# config term
Enter configuration commands, one per line. End
with CNTL/Z.
5300(config)#
Enter global configuration mode. You have entered global configuration mode when the prompt changes to 5300(config)#.
3
5300(config)# isdn switch-type [primary-4ess | primary-5ess | primary-dms100 |
primary-net5 | primary-ntt | primary-ts014]
Enter your telco's switch type.
4
5300(config)# controller [t1 | e1][0 | 1 | 2 | 3]
5300(config-controller)#
Enter controller configuration mode to configure your controller port. The controller ports are labeled 0 through 3 on the quad T1/PRI and quad E1/PRI cards.
5
5300(config-controller)# framing [esf | sf | crc4 | nocrc4]
Enter your telco's framing type.
6
5300(config-controller)# linecode [ami | b8zs | hdb3]
Enter your telco's line code type.
7
5300(config-controller)# clock source line primary
Enter the clock source for the line. Configure other lines as clock source secondary or clock source internal. Note that only one PRI can be clock source primary and only one PRI can be clock source secondary.
8
5300(config-controller)# pri-group timeslots [1-24 | 1-31]
Configure all channels for ISDN. Enter pri-group timeslots 1-24 for T1. If E1, enter pri-group timeslots 1-31.
وقتی ما این کار را کردیم یک serial int به وجود میاید که وجود خارجی نداره اما برای تنظیم D channel لازم هست یعنی ما تنظیمات سیگنالینگ کانال D را باید در مد این سریال اینترفیس انجام بدیم. تنظیمات مختلفی بسته به شبکه ما موجود هست که بعضی هاش اینها هست:
Configuring the D Channels for Modem Signaling
Configure the ISDN D channels, which carry the control and signaling information for ISDN calls, for each ISDN PRI line.
Configuring the D Channels for Modem Signaling
Step
Command
Purpose
1
5300> enable
Password: <password>
5300#
Enter enable mode.
Enter the password.
You have entered enable mode when the prompt changes to 5300#.
2
5300# config term
Enter configuration commands, one per line. End
with CNTL/Z.
5300(config)#
Enter global configuration mode. You have entered global configuration mode when the prompt changes to 5300(config)#.
3
5300(config)# interface serial [0:15 | 0:23]
5300(config-if)#
Enter serial interface configuration mode. After you have configured the controller, a corresponding D channel serial interface is created instantly. For example, serial interface 0:23 is the D channel for controller 0. You must configure each serial interface to receive incoming and send outgoing modem signaling.
4
5300(config-if)# ip address 172.16.253.254 255.255.255.0
Assign an IP address and subnet mask to the interface.
5
5300(config-if)# isdn incoming-voice modem
Configure all incoming voice calls to go to the modems.
6
5300(config-if)# dialer-group 1
Assign the serial interface to dialer group 1. The dialer group number is used with the dialer-list command to determine which packets will be meet the criteria specified by the dialer-list command and activate the ISDN connection.
7
5300(config-if)# encapsulationppp
Changes the default to encapsulation ppp so you can enter ppp commands.
8
5300(config-if)# ppp multilink
Enable PPP1 multilink on the serial interface.
9
5300(config-if)# ppp authentication chap pap
Enable CHAP2 and PAP3 authentication on the serial interface.
10
5300(config-if)# peer default ip address pool default
Support dial-in PC clients.
11
5300(config-if)# Ctrl-Z
5300#
%SYS-5-CONFIG_I: Configured from console by console
Return to enable mode.
This message is normal and does not indicate an error
وقتی ما این تنظیمات را انجام دادیم طبق گفته cisco ما باید بتونیم توی یک test مشاهده کنید که اگر با یک تلفن شماره e1 رو گرفتید internal modem ما (به قول خودمون سوت میزنه یعنی) صدا میده.
اما برای اینکه بتوان از یک remote client که داره از یک مودم استفاده میکنه به as ما وصل شد و از سرویس های مختلف استفاده کرد هنوز تنظیمات دیگری لازم هست که مربوط به مودم ها هست.
پس تنظیمات line ,async-group مربوط به مودم های ما هست.اینکه من در بالا گفته بودم در pri از serial 0:15 استفاده میشه و در cas از async-group این رومیرسونه که من دچار اشتباه مفهومی بودم.
در هر دو نوع از async-group استفاده میشه چون مربوط به مودم هامون هست.
اینکه من گفتم اگر برای سیگنالینگ هست پس چرا 15 تا؟؟؟
این هم نشون میده من این دستور را نفهمیدم. 15 یک رنج را مشخص نمیکنه بلکه شماره کانال D شماست. اگر از T1 استفاده میکردیم باید جای 15 از 23 استفاده میکردیم.
خوب میریم سراغ تنظیمات مودم هامون.برای اینکار از دستور line start end باید استفاده کرد که به جای start و end باید رنج دلخواه از شماره مودم های اینترنال رو استفاده کنیم .یعنی ممکن هست ما بخواهیم مودم هایی را که دارید مثلا به 2 طریق تنظیم کنید مثلا یک دسته فقط dialin باشند در حالی که اون یکی inout باشه توی این مد هم دستورات مختلفی هست که دوستان خیلی هاش را توی همین سایت توضیح دادن.
بعد از این نوبت به async-group میرسه این تعریف را از cisco بخوانیم:
The group-async interface is a template, which is used to control the configuration of all the async interfaces on the access server. Async interfaces are lines that are running in PPP mode. An async interface uses the same number as its corresponding line. Configuring the asynchronous interfaces as a group-async saves you time and configuration file size.
هان طور که در بالا میبینیم async group همان مودم های شما هست که در مد ppp کار میکنند. پس در این مد باید تنظیمات مربوطه را تنظیم کرد باید بدونیم که ppp روی چه لایه ای از مدلosi کار میکنه و خودش از چند لایه تشکیل شده و چه امکاناتی را در اختیار ما میگذارد.
این جوری ما تنظیمات مربوط بهpri isdn را انجام دادیم برای cas هم تا اونجایی که من میدونم شبیه به همین هست (البته 2 بخش آخر) و تفاوت هایی توی سیگنالینگ داره که باعث تفاوت در تنظیمات بعضی قسمت ها از جمله controller میشه که مثلا time slot ها را باید با دستور متفاوتی تنظیم کنی و ......
به تعریف زیر که سامان توی همین سایت تعریف کرده دقت کنیم:
CAS (Channel Associated Signaling): In-band signaling, when the signaling data is sent on the same channel as the data
حالا با اجازه دوستان چند تا سوال میپرسم.امااگرجواب بدید ممنون میشم اگر هم نه سعی میکنم برم دنبالش و نتیجه را همین جا بزارم.
1- کسی توضیحاتی در مورد r2-signaling داره؟؟
البته خودم این را دارم ولی دقیق تر و بیشتر میخواهم: R2 signaling is an international signaling standard that is common to channelized E1 networks. You can configure a channelized E1 interface to support different types of R2 signaling, which is used in older analog telephone networks.
2- تفاوت دقیق ds0-group و cas-group را اگر ممکن هست دقیقا توضیح بدید(لطفا) البته من این توضیحات را دارم اما بازم شک دارم:
cas-group (E1 controller)
To configure channel-associated signaling (CAS) on an E1 controller, use the cas-group command in
controller configuration mode. To disable CAS for one or more time slots, use the no form of this
command.
cas-group channel timeslots range type signal
no cas-group channel timeslots range type signal
ds0-group (controller e1)
To define E1 channels for compressed voice calls and the channel-associated signaling (CAS) method
by which the router connects to the PBX or PSTN, enter the ds0-group command in controller
configuration mode. To remove the group and signaling setting, use the no form of this command.
ds0-group channel timeslots range type signal
no ds0-group channel timeslots range type signal