精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>网络专区>>● CISCO>>配置样例>>这是完整的完全调试好的ISDN备份DDN的脚本,给大家参考

主题:这是完整的完全调试好的ISDN备份DDN的脚本,给大家参考
发信人: mcman(我吖!)
整理人: firphoenix(2002-11-17 16:10:12), 站内信件
被叫端:
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname hhxl
!
enable secret 5 $1$uuGq$fCD/leZeVIyncyGCVbrN2.
enable password cisco
!
username nsl password 0 nsl
ip subnet-zero
!
isdn switch-type basic-net3
!
interface Ethernet0/0
 ip address 192.168.8.201 255.255.255.0
 no ip mroute-cache
 half-duplex
!
interface Serial0/0
 ip address 10.0.0.1 255.255.255.0
 no ip mroute-cache
!
interface BRI0/0
 ip address 20.0.0.1 255.255.255.0
 encapsulation ppp
 dialer rotary-group 1
 isdn switch-type basic-net3
 no cdp enable
!
interface Ethernet0/1
 ip address 192.168.10.201 255.255.255.0
 no ip mroute-cache
 half-duplex
!
interface Dialer1
 ip address 20.0.0.1 255.255.255.0
 encapsulation ppp
 dialer in-band
 dialer map ip 20.0.0.3 name nsl broadcast 36173819
 dialer-group 1
 no cdp enable
 ppp authentication chap
 ppp multilink
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0
ip route 0.0.0.0 0.0.0.0 20.0.0.3 150
ip http server
no ip pim bidir-enable
!
dialer-list 1 protocol ip permit
snmp-server community public RO
!
line con 0
line aux 0
line vty 0 4
 password cisco
 login
!
end
主叫端:
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname mazq-nsl
!
enable secret 5 $1$0wCB$fe28wtOYMtoJk.OodCJbN0
enable password cisco
!
username hhxl password 0 cisco
ip subnet-zero
!
no ip domain-lookup
!
isdn switch-type basic-net3
!
interface Ethernet0/0
 ip address 192.168.2.201 255.255.255.0
 no ip mroute-cache
 full-duplex
!
interface Serial0/0
 backup delay 1 5
 backup interface Dialer1
 ip address 10.0.0.3 255.255.255.0
 no ip mroute-cache
 no fair-queue
!
interface BRI0/0
 bandwidth 128
 no ip address
 encapsulation ppp
 dialer rotary-group 1
 isdn switch-type basic-net3
 no cdp enable
!
interface Ethernet0/1
 ip address 192.168.3.201 255.255.255.0
 no ip mroute-cache
 half-duplex
!
interface Dialer1
 bandwidth 128
 ip address 20.0.0.3 255.255.255.0
 encapsulation ppp
 no ip mroute-cache
 dialer in-band
 dialer map ip 20.0.0.1 name nsl broadcast 87654321
 dialer load-threshold 1 outbound
 dialer-group 1
 no cdp enable
 ppp authentication chap
 ppp multilink
!
no ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0
ip route 0.0.0.0 0.0.0.0 20.0.0.1 150
no ip http server
ip pim bidir-enable
!
dialer-list 1 protocol ip permit
!
line con 0
line aux 0
line vty 0 4
 password cisco
 login
!
end

[关闭][返回]