被叫端:
version 12.2
service tamps debug uptime
service tamps log uptime
no service password-encryption
!
hostname hhxl
!
enable secret 5 $1$uuGq$fCD/leZeVIyncyGCVbrN2.
enable password
!
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
login
!
end
主叫端:
version 12.2
service tamps debug uptime
service tamps log uptime
no service password-encryption
!
hostname mazq-nsl
!
enable secret 5 $1$0wCB$fe28wtOYMtoJk.OodCJbN0
enable password
!
username hhxl password 0
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
文章转载地址: