精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>网络专区>>● CISCO>>维护经验>>RE:关于路由器之间拨号通信的问题!!!

主题:RE:关于路由器之间拨号通信的问题!!!
发信人: [email protected]()
整理人: sglzx(2001-08-20 21:43:10), 站内信件

一、 DDN设置
(一)、ROUTER A(CALLER)
Router#
Router#
Router#
Router#
Router#
Router#
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 pulsed for 5 seconds on reset
  LCP Closed
  Closed: IPCP, CDPCP
  Last input 00:03:09, output 00:03:22, 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
     15 packets input, 1184 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     1 input errors, 1 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     66 packets output, 1917 bytes, 0 underruns
     0 output errors, 0 collisions, 7 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#!*******************************************************
Router#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
 to down
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINK-3-UPDOWN: Interface Async9, changed state to down
Router#sh int a9
Async9 is up (spoofing), line protocol is up (spoofing)
  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 pulsed for 5 seconds on reset
  LCP Closed
  Closed: IPCP, CDPCP
  Last input 00:06:41, output 00:06:55, 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
     15 packets input, 1184 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     1 input errors, 1 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     66 packets output, 1917 bytes, 0 underruns
     0 output errors, 0 collisions, 7 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#sh int s0
Serial0 is down, line protocol is down
  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 Closed
  Closed: IPCP, CDPCP
  Last input 00:02:25, output 00:02:25, 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
     81 packets input, 3189 bytes, 0 no buffer
     Received 81 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     81 packets output, 3106 bytes, 0 underruns
     0 output errors, 0 collisions, 9 interface resets
     0 output buffer failures, 0 output buffers swapped out
     4 carrier transitions
     DCD=up  DSR=up  DTR=down  RTS=down  CTS=up
Router#$************************************************************
Router#ping 132.147.161.111

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 132.147.161.111, timeout is 2 second
s:
.....
Success rate is 0 percent (0/5)
Router#
%LINK-3-UPDOWN: Interface Async9, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Async9, changed state 
to up
Router#ping 132.147.161.111

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 132.147.161.111, timeout is 2 second
s:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 376/386/40
4 ms
Router#sh int a9
Async9 is up, line protocol is up
  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 pulsed for 5 seconds on reset
  LCP Open
  Open: IPCP, CDPCP
  Last input 00:00:10, output 00:00:10, output hang never
  Last clearing of "show interface" counters never
  Input queue: 1/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
     27 packets input, 2064 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     2 input errors, 2 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     77 packets output, 2514 bytes, 0 underruns
     0 output errors, 0 collisions, 7 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#sh int s0
Serial0 is down, line protocol is down
  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 Closed
  Closed: IPCP, CDPCP
  Last input 00:03:51, output 00:03:51, 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
     81 packets input, 3189 bytes, 0 no buffer
     Received 81 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     81 packets output, 3106 bytes, 0 underruns
     0 output errors, 0 collisions, 12 interface resets
     0 output buffer failures, 0 output buffers swapped out
     4 carrier transitions
     DCD=up  DSR=up  DTR=down  RTS=down  CTS=up
Router#!**************************************************************
***
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
 to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Async9, changed state 
to down
%LINK-5-CHANGED: Interface Async9, changed state to standby mode
Router#ping 132.147.161.111

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 132.147.161.111, timeout is 2 second
s:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 m
s
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:01, output 00:00:01, 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
     115 packets input, 5131 bytes, 0 no buffer
     Received 115 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     115 packets output, 5035 bytes, 0 underruns
     0 output errors, 0 collisions, 14 interface resets
     0 output buffer failures, 0 output buffers swapped out
     13 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 pulsed for 5 seconds on reset
  LCP Closed
  Closed: IPCP, CDPCP
  Last input 00:01:42, output 00:01:42, 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
     33 packets input, 2852 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     2 input errors, 2 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     82 packets output, 3019 bytes, 0 underruns
     0 output errors, 0 collisions, 8 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#
(二)、ROUTERB (CALLER)
Router#
Router#
Router#
Router#
Router#sh run
Building configuration...

Current configuration:
!
version 11.3
no service password-encryption
!
hostname Router
!
enable secret 5 $1$ywCg$Hm9E3ga.xYAbzVTEvPpT3.
enable password cisco
!
!
interface Ethernet0
 ip address 132.147.161.111 255.255.255.0
 no mop enabled
!
interface Serial0
 ip address 200.1.1.2 255.255.255.0
 encapsulation ppp
 no ip mroute-cache
!
interface Serial1
 no ip address
 shutdown
!
interface Async1
 ip address 200.2.2.2 255.255.255.0
 encapsulation ppp
 async mode dedicated
 pulse-time 60
!
ip classless
ip route 132.147.160.0 255.255.255.0 200.1.1.1
ip route 132.147.160.0 255.255.255.0 200.2.2.1 2
!
line con 0
line aux 0
 flowcontrol hardware
line vty 0 4
 password cisco
 login
!
end

Router#sh line aux 0
 Tty Typ     Tx/Rx     A Modem  Roty AccO AccI  Uses    Noise   Overru
ns
A  1 AUX   9600/9600   -    -      -    -    -     0        0        0
/0

Line 1, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
Status: Ready, Active, Async Interface Active
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out
  Line is permanent async interface
Modem state: Ready
Line is running PPP for address 200.2.2.1.
0 output packets queued, 1 input packets.
 Async Escape map is 00000000000000000101000000000000
Modem hardware state: CTS* DSR*  DTR 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 line
 Tty Typ     Tx/Rx     A Modem  Roty AccO AccI  Uses    Noise   Overru
ns
*  0 CTY               -    -      -    -    -     0        0        0
/0
A  1 AUX   9600/9600   -    -      -    -    -     0        0        0
/0
   2 VTY               -    -      -    -    -     0        0        0
/0
   3 VTY               -    -      -    -    -     0        0        0
/0
   4 VTY               -    -      -    -    -     0        0        0
/0
   5 VTY               -    -      -    -    -     0        0        0
/0
   6 VTY               -    -      -    -    -     0        0        0
/0

Router#sh int s0
Serial0 is up, line protocol is up
  Hardware is HD64570
  Internet address is 200.1.1.2/24
  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:05, output 00:00:05, 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
     74 packets input, 2733 bytes, 0 no buffer
     Received 74 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     75 packets output, 3093 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 a1
Async1 is up, line protocol is up
  Hardware is Async Serial
  Internet address is 200.2.2.2/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 pulsed for 60 seconds on reset
  LCP Open
  Open: IPCP, CDPCP
  Last input 00:05:23, output 00:00:10, output hang never
  Last clearing of "show interface" counters never
  Input queue: 1/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
     33 packets input, 1125 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     31 packets output, 2888 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#!**************************************************************

Router#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
 to down
%LINK-3-UPDOWN: Interface Serial0, changed state to down
Router#sh int a9
               ^
% Invalid input detected at '^' marker.

Router#sh int a1
Async1 is up, line protocol is up
  Hardware is Async Serial
  Internet address is 200.2.2.2/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 pulsed for 60 seconds on reset
  LCP Open
  Open: IPCP, CDPCP
  Last input 00:07:20, output 00:00:07, output hang never
  Last clearing of "show interface" counters never
  Input queue: 1/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
     33 packets input, 1125 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     33 packets output, 3454 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#wr
Building configuration...
[OK]
Router#sh int s0
Serial0 is down, line protocol is down
  Hardware is HD64570
  Internet address is 200.1.1.2/24
  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 Closed
  Closed: IPCP, CDPCP
  Last input 00:02:15, output 00:02:15, 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
     81 packets input, 3106 bytes, 0 no buffer
     Received 81 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     81 packets output, 3189 bytes, 0 underruns
     0 output errors, 0 collisions, 9 interface resets
     0 output buffer failures, 0 output buffers swapped out
     4 carrier transitions
     DCD=down  DSR=down  DTR=up  RTS=up  CTS=down
Router#!************************************************************
Router#sh int a1
Async1 is up, line protocol is up
  Hardware is Async Serial
  Internet address is 200.2.2.2/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 pulsed for 60 seconds on reset
  LCP Open
  Open: IPCP, CDPCP
  Last input 00:00:35, output 00:00:35, output hang never
  Last clearing of "show interface" counters never
  Input queue: 1/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
     44 packets input, 1722 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     46 packets output, 4617 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#sh int s0
Serial0 is down, line protocol is down
  Hardware is HD64570
  Internet address is 200.1.1.2/24
  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 Closed
  Closed: IPCP, CDPCP
  Last input 00:04:17, output 00:04:17, 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
     81 packets input, 3106 bytes, 0 no buffer
     Received 81 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     81 packets output, 3189 bytes, 0 underruns
     0 output errors, 0 collisions, 13 interface resets
     0 output buffer failures, 0 output buffers swapped out
     4 carrier transitions
     DCD=down  DSR=down  DTR=up  RTS=up  CTS=down
Router#ping 200.2.2.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.2.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 380/387/40
8 ms
Router#!**************************************************************
******
Router#
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
 to up
Router#sh int a1
Async1 is up, line protocol is up
  Hardware is Async Serial
  Internet address is 200.2.2.2/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 pulsed for 60 seconds on reset
  LCP Open
  Open: IPCP, CDPCP
  Last input 00:00:54, output 00:00:54, output hang never
  Last clearing of "show interface" counters never
  Input queue: 1/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, 2227 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     52 packets output, 5405 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
Router#sh int s0
Serial0 is up, line protocol is up
  Hardware is HD64570
  Internet address is 200.1.1.2/24
  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:00, output 00:00:00, 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
     97 packets input, 3606 bytes, 0 no buffer
     Received 97 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     98 packets output, 3979 bytes, 0 underruns
     0 output errors, 0 collisions, 14 interface resets
     0 output buffer failures, 0 output buffers swapped out
     7 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up
Router#ping 200.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 m
s
Router#
(三)、Hayes modem的设置
1、RouterA(caller)

at
OK
at&v
ACTIVE PROFILE: B1 B16 B30 B41 B52 B60 B70 B75 B80 E1 L2 M1 N1 P Q0 V1
 W0 X4
Y0 &A0 &B1 &C1 &D3 &G0 &K3 &L0 &Q5 &R0 &S0 &T4 &U0 &X0 &Y0      S00:00
0 S02:043
S03:013 S04:010 S05:008 S06:002 S07:050 S08:002 S09:006 S10:014 S11:09
5 S12:050
S25:005 S26:001 S36:007 S37:000 S38:020 S46:002 S48:007

STORED PROFILE 0: B1 B16 B30 B41 B52 B60 B70 B75 B80 E1 L2 M1 N1 P Q0 
V1 W0 X4
Y0 &A0 &B1 &C1 &D3 &G0 &K3 &L0 &Q5 &R0 &S0 &T4 &U0 &X0  S00:000 S02:04
3 S06:002
S07:050 S08:002 S09:006 S10:014 S11:095 S12:050 S25:005 S26:001 S36:00
7 S37:000
S38:020 S46:002 S48:007 S108:001

STORED PROFILE 1: B1 B16 B30 B41 B52 B60 B70 B75 B80 E1 L2 M1 N1 P Q0 
V1 W0 X4
Y0 &A0 &B1 &C0 &D0 &G0 &K3 &L0 &Q5 &R0 &S0 &T4 &U0 &X0  S00:000 S02:04
3 S06:002
S07:050 S08:002 S09:006 S10:014 S11:095 S12:050 S25:005 S26:001 S36:00
7 S37:000
S38:020 S46:002 S48:007 S108:001

TELEPHONE NUMBERS:
&Z0=402
&Z1=
&Z2=
&Z3=

OK
AT&FS0=1&C1&D3&W
2、RouterB(Server中心)
at&fe0q1&w或
at&fs0=1&d3&w





--
※ 来源:.网易虚拟社区北京站 http://bj.netease.com.[FROM: 202.96.44.100]

[关闭][返回]