分享
 
 
 

NM-8AM模块做异步拔号的配置

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

以下为在3640上对NM-8AM模块作远程异步拔号时的配置方法。

()中的为注释。

sCurrent configuration : 1251 bytes

!

version 12.2

service timestamps debug datetime msec

service timestamps log uptime

no service password-encryption

!

hostname cisco3640

!

boot system flash:c3640-i-mz.122-8.T

enable secret 5

!

username abc password 0 abc

!

( Usernames for local authentication of the call.! )

ip subnet-zero

!

no ip domain-lookup

ip domain-name cisco.com

!

async-bootp dns-server 5.5.5.1 5.5.5.2

!

(Specifies (for async clients) the IP address of domain name

server.)

!

!

interface Loopback0

ip address 1.1.1.1 255.255.255.0

!

interface Ethernet2/0

ip address 20.20.20.1 255.255.255.0

half-duplex

!

! (Unused interface configuration omitted.)

!

interface Group-Async1

!

( This group-async interface is the configuration template for all modems.! -- Individual async interface do not have to be configured since they! -- can be cloned from one managed copy.)

ip unnumbered Loopback0

encapsulation ppp

dialer in-band

dialer idle-timeout 600

!

( Sets Idle timer to 600 seconds (10 minutes,but default value is 120 seconds).

dialer-group 1

!

( Apply interesting traffic definition from dialer-list 1.! -- Note: The specified dialer-group number must be the same as! -- the dialer-list number; in this example, defined to be "1".! -- Interesting traffic specifies the packets that should reset the idle timer.)

async mode interactive

!

( If the async interface is to answer different connection types ! -- (exec,ppp,slip), use this command in conjunction with autoselect ppp! -- under the line configuration to auto detect the connection type.

To prevent users from establishing an "EXEC session" to the router.to use the command async modem dedicated instead.)

peer default ip address pool DIALIN

( Clients are assigned addresses from the ip address pool named "DIALIN".)

ppp authentication chap

group-range 1 8

( Modems/lines 1 to 8 are members of this group async interface.

If you want, for example, only 4 modems for incoming and the rest

for outgoing then configure the group range for any set of

four consecutive modems in the module.)

ip local pool DIALIN 10.1.1.1 10.1.1.10

( IP address pool for dialin clients.)

ip classless

ip route 0.0.0.0 0.0.0.0 20.20.20.100

ip http server

ip pim bidir-enable

!

!

dialer-list 1 protocol ip permit

( Specifies all IP traffic as interesting. Interesting traffic! -- specifies the packets that should reset the idle timer.! -- This is applied to interface Group-Async 1 using dialer-group 1.! -- Note: The specified dialer-list number must be the same as the! -- dialer-group number; in this example, defined to be "1".)

!

line con 0

password abc

line 1 8

( TTY lines for the NM-8AM Modems.

Note the line number range matched the group-range

under the group-async config.)

modem InOut

(Support incoming and outgoing modem calls.)

transport input all

autoselect ppp

(

Launch ppp if ppp packets are detected. This is used in conjunction

with async mode interactive under the group-async config.)

flowcontrol hardware

line aux 0

line vty 0 4

login

!

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有