分享
 
 
 

BRI-to-BRI

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

maui-soho-01 (1600)

maui-soho-01#show running-config

Building configuration...

Current configuration : 1656 bytes

!

version 12.1

no service single-slot-reload-enable

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname maui-soho-01

!

logging rate-limit console 10 except errors

aaa new-model

aaa authentication login default local

aaa authentication login NO_AUTHEN none

aaa authentication ppp default local

!--- basic AAA configuration for PPP calls

enable secret 5

!

username admin password

username maui-nas-05 password cisco

!--- username for remote router (maui-nas-05) and shared secret

!--- (used for CHAP authentication)

!--- Shared secret must be the same on both sides.

ip subnet-zero

!

isdn switch-type basic-ni

!

interface Loopback0

ip address 172.17.1.1 255.255.255.0

!--- The loopback address will be used by OSPF for the router ID.

!

interface Ethernet0

ip address 172.16.1.1 255.255.255.0

!

interface Serial0

no ip address

shutdown

no fair-queue

!

interface BRI0

!--- BRI interface used for DDR dialout

ip address 172.20.10.2 255.255.255.0

!--- IP address

!--- The remote address is in the same subnet.

encapsulation ppp

ip ospf demand-circuit

!--- This forces OSPF to keep the routing table intact when the DDR link

!--- is down. This should only be configured on one router for a

!--- point-to-point circuit.

dialer idle-timeout 900

!--- Idle timeout is set to 900 seconds (15 minutes).

!--- The link will be disconnected if there is no interesting traffic

!--- for 900 secs.

dialer map ip 172.20.10.1 name maui-nas-05 broadcast 5551111

dialer map ip 172.20.10.1 name maui-nas-05 broadcast 5551112

!--- dialer map statements for the remote router

!--- The name must match the one used by the remote router to identify

!--- itself. The broadcast keyword is required to send broadcast traffic

!--- over the link(for OSPF). The two different phone numbers correspond

!--- to the b-channels of the remote side. The multiple statements allow

!--- the router to dial the second number if the first number is busy.

dialer load-threshold 80 outbound

!--- This set the load level for traffic at which additional connections

!--- will be added to the Multilink PPP bundle.!--- Load level values range from 1 (unloaded) to 255 (fully loaded).

!--- The threshold in this case is 80/255 = 32%.

dialer-group 1

!--- apply interesting traffic definition from dialer-list 1

isdn switch-type basic-ni

isdn spid1 51255522220101 5552222

isdn spid2 51255522230101 5552223

ppp authentication chap

!--- Use chap authentication.

ppp multilink

!--- Use multilink to bring up both BRI channels.

!

router ospf 5

log-adjacency-changes

network 172.16.1.0 0.0.0.255 area 0

network 172.17.1.0 0.0.0.255 area 0

network 172.20.10.0 0.0.0.255 area 0

!

ip classless

ip route 172.20.0.0 255.255.0.0 172.20.10.0

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-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

exec-timeout 0 0

login authentication NO_AUTHEN

transport input none

line vty 0 4

!

endmaui-nas-05 (3640)

maui-nas-05#show running-config

Building configuration...

Current configuration:

!

version 12.1

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname maui-nas-05

!

aaa new-model

aaa authentication login default local

aaa authentication login NO_AUTHEN none

aaa authentication ppp default local

!--- basic AAA configuration for PPP calls

enable secret 5

!

username admin password 7

username maui-soho-01 password 7 cisco

!--- username for remote router (maui-soho-01) and shared secret

!--- (used for CHAP authentication)

!--- Shared secret must be the same on both sides.

ip subnet-zero

!

isdn switch-type basic-ni

!

interface Loopback0

ip address 172.22.1.1 255.255.255.0

!--- The loopback address is used by OSPF for the router ID.

!

interface Ethernet0/0

ip address 172.22.53.105 255.255.255.0

!

interface Ethernet0/1

no ip address

shutdown

!

interface BRI1/0

!--- BRI interface used to accept dialin

ip address 172.20.10.1 255.255.255.0

!--- IP address

!--- The remote address is in the same subnet.

encapsulation ppp

dialer idle-timeout 900

!--- Idle timeout is set to 900 seconds (15 minutes).

!--- Set this value to be equal to or higher than the idle-timeout on the

!--- client side. A higher idle-timeout permits the client side to

!--- determine when to bring down the link.

!

dialer map ip 172.20.10.2 name maui-soho-01 broadcast

!--- dialer map statement for the BRI interface of the remote router

!--- The name must be the one used by the remote router to identify

!--- itself. The broadcast keyword is required to send broadcast traffic

!--- over the link(for OSPF). Note: There is no phone number, as we are

!--- not configuring this side to dial. If you want this router to dial,

!--- add the remote side phone number to the dialer map statement

dialer-group 1

!--- apply interesting traffic definition from dialer-list 1

isdn switch-type basic-ni

isdn spid1 51255511110101 5551111

isdn spid2 51255511120101 5551112

ppp authentication chap

ppp multilink

!--- allow multilink connections

!

!

!

router ospf 5

network 172.20.10.0 0.0.0.255 area 0

network 172.22.1.0 0.0.0.255 area 0

network 172.22.53.0 0.0.0.255 area 0

default-information originate always

!--- transmit OSPF default information

!--- This may be required for remote router to use the BRI DDR link.

!

ip classless

ip route 0.0.0.0 0.0.0.0 Ethernet0/0

ip route 172.22.0.0 255.255.0.0 172.22.53.0

no ip http server

!

dialer-list 1 protocol ip permit

!--- All IP traffic is defined interesting.

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

!

line con 0

login authentication NO_AUTHEN

transport input none

line 97 102

line aux 0

line vty 0 4

!

end

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