发布者:上海IT外包来源:http://www.lanmon.net点击数:3670
本实例通过华为的2631实现ISDN与DDN的互为备份,同时在线路上走模拟哑终端服务
Username:quidway
Password:
User quidway logged in .
bluestudy>en
Password:
Password:
bluestudy#show run
Now create configuration...
Current configuration
!
version 1.5.6
login async
login con
login telnet
user bluestudy service-type ppp password 0 bluestudy
user bluestudy1 service-type exec password 0 bluestudy
user quidway service-type exec password 0 quidway
router id 1.1.1.1
tty-server enable
tty-server app 0 192.168.0.2 9010 1 Sco
tty-server app 1 192.168.0.2 9010 1 Sco
tty-server app 2 192.168.0.2 9010 1 Sco
tty-server app 3 192.168.0.2 9010 1 Sco
tty-server app 4 192.168.0.2 9010 1 Sco
tty-server app 5 192.168.0.2 9010 1 Sco
tty-server app 6 192.168.0.2 9010 1 Sco
tty-server app 7 192.168.0.2 9010 1 Sco
tty-server source-ip 0 192.168.1.1
tty-server source-ip 1 192.168.1.1
tty-server source-ip 2 192.168.1.1
tty-server source-ip 3 192.168.1.1
tty-server source-ip 4 192.168.1.1
tty-server source-ip 5 192.168.1.1
tty-server source-ip 6 192.168.1.1
tty-server source-ip 7 192.168.1.1
dialer-list 1 protocol ip permit
logging console
hostname bluestudy
!
interface Aux0
async mode interactive
encapsulation ppp
!
interface Ethernet0
speed auto
duplex auto
no loopback
ip address 192.168.1.1 255.255.255.0
ip ospf enable area 0.0.0.14
!
interface Ethernet1
speed auto
duplex auto
no loopback
!
interface Serial0
clock-select DTECLK1
encapsulation ppp
backup interface Bri 0
ip address 192.168.251.38 255.255.255.252
ip ospf enable area 0.0.0.14
!
interface Serial1
encapsulation ppp
!
interface Async0
physical-layer async
no modem
no detect DSR-DTR
async mode tty 0 0 0
encapsulation ppp
!
interface Async1
physical-layer async
no modem
no detect DSR-DTR
async mode tty 1 0 1
encapsulation ppp
!
interface Async2
physical-layer async
no modem
no detect DSR-DTR
async mode tty 2 0 2
encapsulation ppp
!
interface Async3
physical-layer async
no modem
no detect DSR-DTR
async mode tty 3 0 3
encapsulation ppp
!
interface Async4
physical-layer async
no modem
no detect DSR-DTR
async mode tty 4 0 4
encapsulation ppp
!
interface Async5
physical-layer async
no modem
no detect DSR-DTR
async mode tty 5 0 5
encapsulation ppp
!
interface Async6
physical-layer async
no modem
no detect DSR-DTR
async mode tty 6 0 6
encapsulation ppp
!
interface Async7
physical-layer async
no modem
no detect DSR-DTR
async mode tty 7 0 7
encapsulation ppp
!
interface Bri0
encapsulation ppp
ppp chap host zhenbeifen
ip address 192.168.9.2 255.255.255.0
dialer in-band
dialer-group 1
dialer idle-timeout 300
dialer enable-timeout 5
dialer map ip 192.168.9.1 name bluestudy 12345678
dialer map ip 192.168.9.1 namebluestudy 12345679
!
interface Dialer0
ip unnumbered Ethernet0
!
exit
router ospf enable
!
exit
ip route 192.168.10.0 255.255.255.0 192.168.9.1 preference 220
!
end
分享到: