具体配置: ! interface serial 0 ip address 131.108.126.1 255.255.255.0 dialer in-band dialer-group 1 ! dialer map ip 131.108.126.2 55551234 ! dialer idle-timeout 300 dialer backup example A) 同步V.25bits方式 configuration for routerA: interface serial 10:0 backup delay 0 10 backup interface serial 110 ip address 16.217.30.2 255.255.255.252 ! interface serial 110 ip address 16.30.16.81 255.255.255.25.0 encapsulation ppp dialer in-band dialer string 8292 dialer-group 1 pulse-time 1 ! dilar-list 1 PRotocol ip permit B) 辅助口作拨号备份 configuration for routerA: chat-script mydial “””atdt 8292” timeout 60 “connect” ! interface serial 0 backup delay 0 0 backup interface async1 ip address 16.3.1.1 255.255.255.0 encapsulation ppp ! interface async1 ip address 16.3.2.1 255.255.255.0 encapsulation ppp keepalive 9 async default routing async dynamic address async dynamic routing async mode dedicated dialer string 8292 dialer-group 1 ! dialer-list 1 protocol ip permit ! line aux 0 script dialer mydial modeinout transport output none stopbits 1 flowcontrol hardware speed 9600 subinterface example (frame realay) configuration for routerA: interface serial 0 encapsulation frame-relay interface serial 0.1 multipoint ip address 11.10.11.1 255.255.255.0 frame-relay interface-dlci 41 frame-relay interface-dlci42
configuration for routerC: interface serial 0 encapsulation frame-relay interface serial 0.1 point-point ip address 11.10.16.2 255.255.255.0 frame-realy interface-dlci 46
configuration for routerB:
interface serial 0 encapsulation frame-relay interface serial 0.1 multipoint ip address 11.10.11.3 255.255.255.0 frame-relay interface-dlci 43 frame-relay interface-dlci 44 ! interface serial 0.2 point-point ip address 11.10.13.1 255.255.255.0 frame-realy interface-dlci 48
frame relay switching example configuration for routerA: frame-relay switching no ip address frame-relay encapsulation frame-relay route 163 tun0 43 frame-relay intf-type dce ! interface serial0 ip address 131.108.100.1 255.255.255.0 ! interface tu 0 tunnel source serial 1 tunnel destintion 131.108.13.2
configuration for routerB: frame-relay switching ! interface serial 0 no Ip address frame-relay encapsulation frame-relay router 9 tun0 43 frame-relay interface-type dce ! int tu 0 tunnel source serial 1 tunnel destination 131.108.100.1
configuration for router: interface serial 0 ip address 131.108.100.1 255.255.255.0 encapsulation X.25 X.25 address 041673226839 x.25 htc 16 x.25 map ip 131.108.100.2 041675222222 int s 0.1 ip address 131.108.101.1 255.255.255.0 x.25 mapip 131.108.101.2 041674222222 ! ip router 131.108.100.0 255.255.255.0 131.108.100.2 ip router 131.108.101.0 255.255.255.0 131.108.101.2