| 步骤 |
命令 |
目的 |
| 1 |
Router> enablePassword: <password>
Router# |
键入enable命令和口令来访问具有优先权的EXEC命令。当提示符变为Router# 时表示已经进入到特权EXEC模式 |
| 2 |
Router# config terminal
Enter configuration commands,
one per line.End with Ctrl-Z.
Router(config)# |
进入全局配置模式。当提示符变为Router(config)#时表示已经进入到全局配置模式 |
| 3 |
Router(config)#controller t1 ? <0-3> Controller unitnumber |
通过指定想配置的T1控制器进入控制器配置模式,T1控制器使用了controller t1全局 |
| |
Router(config)#controller t1 1
Router(config-controller)# |
配置命令。键入?显示在下一命令行必须键入的内容。在这个例子中,必须键入0~3中的一个控制器单元代码。当提示符变为Router(config-controller)#时表示已经进入到控制器配置模式 |
| 4 |
Router(config-controller)#?Controller
configuration commands:cablelength Specify thecable length for a DS1linkcas-groupConfigure thespecified timeslots forCAS (Channel AssociateSignals)channel-groupSpecify thetimeslots to channelgroup mapping for aninterfaceclockSpecify the clocksource for a DS1 linkdefaultSet a command toits defaultsdescriptionControllerspecific |
键入?显示可用于T1控制器的所有控制器配置命令的一个列表 |
| |
descriptionds0ds0 commandsexitExit from controllerconfiguration modefdlSpecify the FDLstandard for a DS1 datalinkframingSpecify the typeof FraminghelpDescription of theinteractive help systemlinecodeSpecify the lineencoding method for a DS1linkloopbackPut the entire T1line into loopback noNegate a command or setits defaultspri-group Configure thespecified timeslots forPRIshutdownShut down a DS1link (send Blue Alarm) |
| 5 |
Router(config-controller)#
Router(config-controller)# cas-group ?<0-23>Channel number
Router(config-controller)# cas-group |
键入想配置给控制器的命令。在这个例子中,使用了cas-group命令。键入?显示在下一命令行必须键入的内容。在这个例子中,必须键入0~23中的一个信道代码。由于<cr>未被显示,它表明必须键入更多的关键词来完成整个命令 |
| 6 |
Router(config-controller)# cas-group1 ?
timeslotsList oftimeslots in the cas-group
Router(config-controller)# cas-group 1 |
在键入信道代码之后,键入?显示在下一命令行上必须键入的内容。在这个例子中,键入Timeslots关键词 |
| 7 |
Router(config-controller)# cas-group 1timeslots ? <1-24>List of timeslotswhich comprise the cas-group
Router(config-controller)# cas-group 1timeslots |
键入Timeslots关键词之后,键入?显示在下一命令行上必须键入的内容。在这个例子中,必须键入1~24的一个时间槽列表。必须指定时间槽范围(例如1~24),用逗号分开独立的时间槽(例如1,3,5),或者合并两个时间槽(例如1~3,8,17~24)。第16时间槽在命令行中未被指定是因为它被保留用于传输信道信令由于<cr>未被显示,它表明必须键入更多的关键词来完成整个命令 |
| 8 |
Router(config-controller)# cas-group 1timeslots 1-24 ?
serviceSpecify the typeof service
typeSpecify the type ofsignaling
Router(config-controller)# cas-group 1timeslots 1-24 |
在键入时间槽范围之后,键入?显示在下一命令行上必须键入的内容。在这个例子中,必须键入service或type关键词。由于<cr>未被显示,它表明必须键入更多的关键词来完成整个命令 |
| 9 |
Router(config-controller)# cas-group 1timeslots 1-24 type ?
e&m-fgbE & M Type II FGBe&m-fgdE & M Type IIFGDe&m-immediate-startE & MImmediate Startfxs-group-startFXSGround Startfxs-loop-startFXS LoopStartsas-ground-startSASGround Startsas-loop-startSAS LoopStartRouter(config-controller)# cas-group 1timeslots 1-24 type |
在这个例子中,键入了type关键词。在键入了type关键词之后,键入?显示在下一命令行中必须显示的内容。在这个例子中,必须键入一个信令类型。由于<cr>未被显示,它表明必须键入更多的关键词来完成整个命令 |
| 10 |
Router(config-controller)# cas-group 1timeslots 1-24 typee&m-fgb ?
dtmfDTMF tone signalingmfMF tone signalingserviceSpecify the typeof service |
在这个例子中,键入了e&m-fgb关键词。在键入了e&m-fgb关键词之后,键入?显示在下一命令行中必须显示的内容。在这个例子中,键入dtmf,mf或service关键词指示与信道相联系的信令类型,它可用于e&m-fgb |
| |
<cr>
Router(config-controller)# cas-group 1timeslots 1-24 typee&m-fgb |
信令类型。由于显示出<cr>,它表明可以键入更多的关键词或者键入<cr>完成整个命令 |
| 11 |
Router(config-controller)# cas-group 1timeslots 1-24 typee&m-fgb dtmf ?
dnisDNIS addr infoprovisionedserviceSpecify the typeof service |
在这个例子中,键入了dtmf关键词。在键入了dtmf关键词之后,键入?显示在下一命令行中必须显示的内容。在这个例子中,可以键入dnis或service关键词来指明可用于语音 |
| |
<cr>
Router(config-controller)# cas-group
1 timeslots 1-24 typee&m-fgb dtmf |
信令的选项。由于显示出<cr>,它表明可以键入更多的关键词或者键入<cr>完成整个命令 |
| 12 |
Router(config-controller)# cas-group 1timeslots 1-24 typee&m-fgb dtmf
Router(config-controller)# |
在这个例子中,键入<cr>完成整个命令 |