第13章异步接口配置
第13章 异步接口配置
13.1异步接口配置 13.1.1物理层配置 1. Modem配置 Branch(config)#line 33 Branch(config-line) #modem autoconfigure type hayes_optima
13.1 异步接口配置 13.1.1 物理层配置 1.Modem配置 Branch(config)#line 33 Branch(config-line)#modem autoconfigure type hayes_optima
图13-1-1命令 show modemcap的输出 Branch#show modemcap default codex 3260 usr courier usr sportster hayes optima dobal village telebit t3000 microcom hdms microcom server 4 nec v110 nec piafs microcom mimIc mica
图13-1-1 命令show modemcap的输出 Branch#show modemcap default codex_3260 usr_courier usr_sportster hayes_optima global_village viva telebit_t3000 microcom_hdms microcom_server nec_v34 nec_v110 nec_piafs cisco_v110 microcom_mimic mica nextport
Branch(config)# line 33 Branch(config-line ) #modem autoconfigure discovery Mar 1 00: 00: 43.767: TTY104: detection speed(115200)response---OK- *Mar 1 00: 00: 43. 767: TTY104: Modem type is microcom mimic Mar 100: 00: 43.771: TTY104: Modem command --at&f- *Mar 100: 00: 46.343: TTY104: Modem configuration succeeded *Mar 1 00: 00: 46.343: TTY104: Detected modem speed 9600 *Mar 1 00: 00: 46.343: TTY104: Done with modem configuration 图13-1-2路由器自动发现调制解调器类型
Branch(config)#line 33 Branch(config-line)#modem autoconfigure discovery 图13-1-2 路由器自动发现调制解调器类型 *Mar 1 00:00:43.767: TTY104: detection speed (115200) response ---OK--- *Mar 1 00:00:43.767: TTY104: Modem type is microcom_mimic *Mar 1 00:00:43.771: TTY104: Modem command: --AT&F— *Mar 1 00:00:46.343: TTY104: Modem configuration succeeded *Mar 1 00:00:46.343: TTY104: Detected modem speed 9600 *Mar 1 00:00:46.343: TTY104: Done with modem configuration
show line Center#tshow line 97 Tty Typ Tx/Rx A Modem Roty AccO Accl Uses Noise Overruns Int 97 TTY inout 000/0 Line 97, Location: Type Length: 24 lines Width: 80 columns Status: No Exit Banner. Modem Detected. CTS Raised Capabilities: Modem Callout, Modem RI iS CD, Line is permanent async interface, Modem autoconfigure Integrated modem Modem state: Idle modem(slot/port): 3/0, csm state: IDLE STATE bchan num -1 csm status(0): CSM STATUS UNLOCKED Modem hardware state: CTS noDSR DTR rtS. Modem Configured Modem type is microcom mimic 图13-1-3路由器自动发现的调制解调器类型
show line 图13-1-3 路由器自动发现的调制解调器类型 Center#show line 97 Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int 97 TTY - inout - - - 0 0 0/0 - Line 97, Location: "", Type: "" Length: 24 lines, Width: 80 columns Status: No Exit Banner, Modem Detected, CTS Raised Capabilities: Modem Callout, Modem RI is CD, Line is permanent async interface, Modem Autoconfigure, Integrated Modem Modem state: Idle modem(slot/port):3/0, csm_state:IDLE_STATE, bchan_num:-1 csm_status(0): CSM_STATUS_UNLOCKED Modem hardware state: CTS noDSR DTR RTS, Modem Configured …… …… Modem type is microcom_mimic. …… ……
2.设置接口速率 Center(config-line)#speed 115200
2.设置接口速率 Center(config-line)#speed 115200
3.设置流量控制方法 Center(config-line)#flowcontrol hardware
3.设置流量控制方法 Center(config-line)#flowcontrol hardware
4.设置停止位位数 Center(config-line)#stopbits 1
4.设置停止位位数 Center(config-line)#stopbits 1
5.设置允许的数据流向 Center (config-line)# modem inout
5.设置允许的数据流向 Center(config-line)#modem inout
6.定义线路允许的协议 Center(config-line)#transport input all
6.定义线路允许的协议 Center(config-line)#transport input all