一、 DDN设置
(一)、ROUTER A(CALLER)
Router#sh run
Building configuration...
Current configuration:
!
version 11.3
no service passWord-encryption
!
hostname Router
!
enable secret 5 $1$rAk2$zromrvFspaNC7ICZihqcD/
enable password cisco
!
chat-script config-modem "" ATDT408 TIMEOUT 30 CONNECT \c
!
interface Ethernet0
ip address 132.147.160.111 255.255.255.0
no mop enabled
!
interface Serial0
backup delay 10 10
backup interface Async9
ip address 200.1.1.1 255.255.255.0
encapsulation ppp
no ip mroute-cache
clockrate 64000
!
interface Serial1
no ip address
shutdown
!
interface Async9
ip address 200.2.2.1 255.255.255.0
encapsulation ppp
dialer in-band
dialer map ip 200.2.2.2 modem-script config-modem 408
dialer-group 1
async mode dedicated
!
ip classless
ip route 132.147.161.0 255.255.255.0 200.1.1.2 10
ip route 132.147.161.0 255.255.255.0 200.2.2.2 100
dialer-list 1 protocol ip permit
!
line con 0
line 1 8
line aux 0
modem InOut
flowcontrol hardware
line vty 0 4
password cisco
login
!
end
Router#sh line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overru
ns
* 0 CTY - - - - - 0 0 0
/0
1 TTY 9600/9600 - - - - - 0 0 0
/0
2 TTY 9600/9600 - - - - - 0 0 0
/0
3 TTY 9600/9600 - - - - - 0 0 0
/0
4 TTY 9600/9600 - - - - - 0 0 0
/0
5 TTY 9600/9600 - - - - - 0 0 0
/0
6 TTY 9600/9600 - - - - - 0 0 0
/0
7 TTY 9600/9600 - - - - - 0 0 0
/0
8 TTY 9600/9600 - - - - - 0 0 0
/0
9 AUX 9600/9600 - inout - - - 0 0 0
/0
10 VTY - - - - - 0 0 0
/0
11 VTY - - - - - 0 0 0
/0
12 VTY - - - - - 0 0 0
/0
13 VTY - - - - - 0 0 0
/0
14 VTY - - - - - 0 0 0
/0
Router#sh line aux 0
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overru
ns
9 AUX 9600/9600 - inout - - - 0 0 0
/0
Line 9, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
Status: none
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out
Modem Callout, Modem RI is CD, Line is permanent async interface
Modem state: Idle
Modem hardware state: CTS* noDSR noDTR RTS
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session Dis
patch
00:10:00 never none n
ot set
Idle Session Disconnect Warning
never
Modem type is unknown.
Session limit is not set.
Time since activation: never
Editing is enabled.
History is enabled, history size is 10.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed transports are pad v120 telnet rlogin mop. Preferred is telne
t.
No output characters are padded
No special data dispatching characters
Router#sh s0
^
% Invalid input detected at '^' marker.
Router#sh int s0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 200.1.1.1/24
Backup interface Async9, kickin load not set, kickout load not set
failure delay 10 sec, secondary disable delay 10 sec
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/2
55
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Open
Open: IPCP, CDPCP
Last input 00:00:02, output 00:00:03, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1 (active/max active/threshold)
Reserved Conversations 0/0/64 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
49 packets input, 2127 bytes, 0 no buffer
Received 49 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
48 packets output, 1795 bytes, 0 underruns
0 output errors, 0 collisions, 4 interface resets
0 output buffer failures, 0 output buffers swapped out
3 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
Router#sh int a9
Async9 is standby mode, line protocol is down
Hardware is Async Serial
Internet address is 200.2.2.1/24
MTU 1500 bytes, BW 9 Kbit, DLY 100000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive not set
DTR is pul