分享
 
 
 

AUX 拨号配置实例

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

配置实例:

maui-rtr-10 (Client)

maui-rtr-10#show running-config

Building configuration...

Current configuration:

!

version 12.1

service timestamps debug datetime msec

service timestamps log datetime msec

no service passWord-encryption

!

hostname maui-rtr-10

!

aaa new-model

aaa authentication login default local

aaa authentication login NO_AUTHEN none

aaa authentication ppp default local

!--- This is the basic AAA configuration for ppp calls

enable secret 5

!

username admin password 0

username maui-rtr-11 password 0 cisco

!--- Username for remote router (maui-rtr-11) and shared secret password Shared

!--- secret (used for CHAP authentication)must be the same on both sides

!

ip subnet-zero

!

chat-script Dialout ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 45 CONNECT \c

!--- chat script named "Dialout" is used for the backup dialout.

modemcap entry MY_USR_MODEM:MSC=&F1S0=1

!--- Modemcap named "MY_USR_MODEM" will be applied to the AUX port line interface.

!--- This modemcap was created using the command:

!--- modemcap edit MY_USR_MODEM miscellaneous &F1S0=1

!--- Refer to the Modem-Router Connection Guide for more information

!

interface Loopback0

ip address 172.17.1.1 255.255.255.0

!

interface Ethernet0/0

ip address 172.16.1.1 255.255.255.0

no keepalive

!

interface Serial0/0

no ip address

shutdown

no fair-queue

!

interface Serial0/1

!--- Primary Link

ip address 192.168.10.2 255.255.255.252

encapsulation ppp

clockrate 64000

ppp authentication chap

!

interface Async65

!--- Async interface corresponding to the AUX Port(backup link)

!--- This was determined using the show line command

ip unnumbered Loopback0

!--- This assigns the loopback 0 ip address to this interface.

!--- The central router will have a dialer map to this loopback address

encapsulation ppp

dialer in-band

!--- Allow DDR on this interface

dialer idle-timeout 30

!--- idle timeout(in seconds)for this link

!--- dialer watch checks the status of the primary link

!--- every time the idle-timeout eXPires

dialer watch-disable 15

!--- delays disconnecting the backup interface (for 15 seconds)after

!--- the primary interface is found to be up

dialer map ip 172.22.1.1 name maui-rtr-11 broadcast 84007

!--- dialer map for the AUX Port interface of the central router

!--- Remember that the central router's AUX port is unnumbered to its Loopback 0

dialer map ip 172.22.53.0 name maui-rtr-11 broadcast 84007

!--- map statement for the route/network being watched

!--- address must exactly match the network configured with

!--- the dialer watch-list command

!--- dials the phone number specified when the watched route disappears

dialer watch-group 8

!--- Enable dialer watch on this backup interface

!--- Watch the route specified with dialer watch-list 8

dialer-group 1

!--- apply interesting traffic defined in dialer-list 1

async default routing

!--- permit routing over the async interface

!--- this is required for a routing protocol to run across the async link

async mode interactive

ppp authentication chap

!

router ospf 5

network 172.16.1.0 0.0.0.255 area 0

network 172.17.1.0 0.0.0.255 area 0

network 192.168.10.0 0.0.0.3 area 0

!

ip classless

no ip http server

!

Access-list 101 remark Define Interesting Traffic

access-list 101 deny ospf any any

!--- Mark OSPF as uninteresting

!--- This will prevent OSPF hellos from keeping the link up

access-list 101 permit ip any any

!

dialer watch-list 8 ip 172.22.53.0 255.255.255.0

!--- define the route to be watched

!--- this exact route(including subnet mask) must exist in the routing table

dialer-list 1 protocol ip list 101

!--- interesting traffic is defined by access-list 101

!--- This is applied to BRI0 using dialer-group 1

!

line con 0

login authentication NO_AUTHEN

transport input none

line Aux 0

!--- line configuration for the AUX port

exec-timeout 0 0

!--- disable exec timeout on the interface

autoselect ppp

script dialer Dialout

!--- Use the chat script named "Dialout" for outgoing calls.

modem InOut

!--- enable incoming and outgoing calls

modem autoconfigure type MY_USR_MODEM

!--- Apply the modemcap MY_USR_MODEM (configured previously) to initalize the modem.

transport input all

stopbits 1

!--- Improve throughput by redUCing async framing overhead.

speed 115200

!--- AUX port on the 2600 supports a speed of 115200.

!--- Note: If you are routing through the AUX port, each character generates a

!--- processor interrupt. This is an abnormally high load on the CPU, which can be

!--- resolved by using a lower AUX port speed.

flowcontrol hardware

!--- This configures RTS/CTS flow control.

line vty 0 4

!

no scheduler allocate

end

maui-rtr-11 (Central Site)

maui-rtr-11#show running-config

Building configuration...

Current configuration:

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname maui-rtr-11

!

aaa new-model

aaa authentication login default local

aaa authentication login NO_AUTHEN none

aaa authentication ppp default local

!--- This is the basic AAA configuration for ppp calls

enable secret 5

!

username admin password 0

username maui-rtr-10 password 0 cisco

!--- Username for remote router (maui-rtr-10) and shared secret!--- Shared secret(used for CHAP authentication) must be the same on both sides

!

memory-size iomem 30

!

ip subnet-zero

!

modemcap entry MY_USR_MODEM:MSC=&F1S0=1

!--- Modemcap (MY_USR_MODEM) will be applied to the AUX port line interface

!--- This modemcap was created using the command:

!--- modemcap edit MY_USR_MODEM miscellaneous &F1S0=1

!--- Refer to the Modem-Router Connection Guide for more information

!

interface Loopback0

ip address 172.22.1.1 255.255.255.0

!

interface FastEthernet0/0

!--- Interface to corporate network

ip address 172.22.53.105 255.255.255.0

no keepalive

duplex auto

speed auto

!

!

!

interface Serial0/1

!--- Primary Link

ip address 192.168.10.1 255.255.255.252

encapsulation ppp

ppp authentication chap

!

interface Serial0/2

no ip address

shutdown

!

interface Async65

!--- Async interface corresponding to the AUX Port(backup link)

!--- This was determined using the show line command

ip unnumbered Loopback0

!--- Use Loopback 0 address for this interface

!--- The remote router will have a dialer map to this loopback address

encapsulation ppp

dialer in-band

dialer idle-timeout 900

dialer map ip 172.17.1.1 name

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
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- 王朝網路 版權所有