ccna實驗-1


 

 

路由器1

 

System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

Copyright (c) 2000 by cisco Systems, Inc.

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

 

Self decompressing the p_w_picpath :

########################################################################## [OK]

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           cisco Systems, Inc.

          

170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco Internetwork Operating System Software

IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2005 by cisco Systems, Inc.

Compiled Wed 27-Apr-04 19:01 by miwang

 

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

.

Processor board ID JAD05190MTZ (4292891495)

M860 processor: part number 0, mask 49

Bridging software.

X.25 software, Version 3.0.0.

2 FastEthernet/IEEE 802.3 interface(s)

32K bytes of non-volatile configuration memory.

63488K bytes of ATA CompactFlash (Read/Write)

 

 

         --- System Configuration Dialog ---

 

Continue with configuration dialog? [yes/no]: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

Copyright (c) 2000 by cisco Systems, Inc.

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

 

Self decompressing the p_w_picpath :

########################################################################## [OK]

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           cisco Systems, Inc.

          

170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco Internetwork Operating System Software

IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2005 by cisco Systems, Inc.

Compiled Wed 27-Apr-04 19:01 by miwang

 

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

.

Processor board ID JAD05190MTZ (4292891495)

M860 processor: part number 0, mask 49

Bridging software.

X.25 software, Version 3.0.0.

2 FastEthernet/IEEE 802.3 interface(s)

4 Low-speed serial(sync/async) network interface(s)

32K bytes of non-volatile configuration memory.

63488K bytes of ATA CompactFlash (Read/Write)

 

 

         --- System Configuration Dialog ---

 

Continue with configuration dialog? [yes/no]: mo

% Please answer 'yes' or 'no'.

Continue with configuration dialog? [yes/no]:

% Please answer 'yes' or 'no'.

Continue with configuration dialog? [yes/no]: no

 

 

Press RETURN to get started!

 

 

 

Router>

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#ho

Router(config)#hostname ppp-a

ppp-a(config)#u

ppp-a(config)#username ppp-b ?

  password   Specify the password for the user

  privilege  Set user privilege level

  secret     Specify the secret for the user

  <cr>

ppp-a(config)#username ppp-b ps

ppp-a(config)#username ppp-b pas

ppp-a(config)#username ppp-b password cisco?

LINE 

ppp-a(config)#username ppp-b password cisco ?

  <cr>

ppp-a(config)#username ppp-b password cisco

ppp-a(config)#int s1/0

ppp-a(config-if)#en

ppp-a(config-if)#encapsulation ppp ?

  <cr>

ppp-a(config-if)#encapsulation ppp

ppp-a(config-if)#ppp au

ppp-a(config-if)#ppp authentication chap ?

  pap  Password Authentication Protocol <PAP>

  <cr>

ppp-a(config-if)#ppp authentication chap

ppp-a(config-if)#end

 

%SYS-5-CONFIG_I: Configured from console by console

ppp-a#

ppp-a#

ppp-a#sh int s1/0

Serial1/0 is administratively down, line protocol is down (disabled)

  Hardware is HD64570

  MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation PPP, loopback not set, keepalive set (10 sec)

  LCP Closed

  Closed: LEXCP, BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP

  Last input never, output never, 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/0/256 (active/max active/max total)

     Reserved Conversations 0/0 (allocated/max allocated)

     Available Bandwidth 96 kilobits/sec

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

     0 packets input, 0 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

     0 packets output, 0 bytes, 0 underruns

     0 output errors, 0 collisions, 1 interface resets

     0 output buffer failures, 0 output buffers swapped out

     0 carrier transitions

     DCD=down  DSR=down  DTR=down  RTS=down  CTS=down

ppp-a#

 

 

 

路由器2

 

System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

Copyright (c) 2000 by cisco Systems, Inc.

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

 

Self decompressing the p_w_picpath :

########################################################################## [OK]

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           cisco Systems, Inc.

          

170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco Internetwork Operating System Software

IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2005 by cisco Systems, Inc.

Compiled Wed 27-Apr-04 19:01 by miwang

 

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

.

Processor board ID JAD05190MTZ (4292891495)

M860 processor: part number 0, mask 49

Bridging software.

X.25 software, Version 3.0.0.

2 FastEthernet/IEEE 802.3 interface(s)

32K bytes of non-volatile configuration memory.

63488K bytes of ATA CompactFlash (Read/Write)

 

 

         --- System Configuration Dialog ---

 

Continue with configuration dialog? [yes/no]: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

Copyright (c) 2000 by cisco Systems, Inc.

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

 

Self decompressing the p_w_picpath :

########################################################################## [OK]

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           cisco Systems, Inc.

          

170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco Internetwork Operating System Software

IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2005 by cisco Systems, Inc.

Compiled Wed 27-Apr-04 19:01 by miwang

 

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory

.

Processor board ID JAD05190MTZ (4292891495)

M860 processor: part number 0, mask 49

Bridging software.

X.25 software, Version 3.0.0.

2 FastEthernet/IEEE 802.3 interface(s)

4 Low-speed serial(sync/async) network interface(s)

32K bytes of non-volatile configuration memory.

63488K bytes of ATA CompactFlash (Read/Write)

 

 

         --- System Configuration Dialog ---

 

Continue with configuration dialog? [yes/no]: no

 

 

Press RETURN to get started!

 

 

 

Router>

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#ho

Router(config)#hostname ppp-b

ppp-b(config)#us

ppp-b(config)#username pp

ppp-b(config)#username ppp-a pas

ppp-b(config)#username ppp-a password cisco?

LINE 

ppp-b(config)#username ppp-a password cisco ?

  <cr>

ppp-b(config)#username ppp-a password cisco

ppp-b(config)#int s1/0

ppp-b(config-if)#en

ppp-b(config-if)#encapsulation ppp?

ppp 

ppp-b(config-if)#encapsulation ?

  frame-relay  Frame Relay networks

  hdlc         Serial HDLC synchronous

  ppp          Point-to-Point protocol

ppp-b(config-if)#encapsulation ppp ?

  <cr>

ppp-b(config-if)#encapsulation ppp

ppp-b(config-if)#?

  bandwidth          Set bandwidth informational parameter

  cdp                CDP interface subcommands

  clock              Configure serial interface clock

  crypto             Encryption/Decryption commands

  custom-queue-list  Assign a custom queue list to an interface

  delay              Specify interface throughput delay

  description        Interface specific description

  encapsulation      Set encapsulation type for an interface

  exit               Exit from interface configuration mode

  fair-queue         Enable Fair Queuing on an Interface

  frame-relay        Set frame relay parameters

  hold-queue         Set hold queue depth

  ip                 Interface Internet Protocol config commands

  keepalive          Enable keepalive

  mtu                Set the interface Maximum Transmission Unit (MTU)

  no                 Negate a command or set its defaults

  ppp                Point-to-Point Protocol

  priority-group     Assign a priority group to an interface

  service-policy     Configure QoS Service Policy

  shutdown           Shutdown the selected interface

  tx-ring-limit      Configure PA level transmit ring limit

  zone-member        Apply zone name

ppp-b(config-if)#ppp ?

  authentication  Set PPP link authentication method

  pap             Set PAP authentication parameters

ppp-b(config-if)#ppp a

ppp-b(config-if)#ppp authentication ?

  chap  Challenge Handshake Authentication Protocol <CHAP>

  pap   Password Authentication Protocol <PAP>

ppp-b(config-if)#ppp authentication chap ?

  pap  Password Authentication Protocol <PAP>

  <cr>

ppp-b(config-if)#ppp authentication chap

ppp-b(config-if)#end

 

%SYS-5-CONFIG_I: Configured from console by console

ppp-b#

ppp-b#sh int s1/0

Serial1/0 is administratively down, line protocol is down (disabled)

  Hardware is HD64570

  MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation PPP, loopback not set, keepalive set (10 sec)

  LCP Closed

  Closed: LEXCP, BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP

  Last input never, output never, 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/0/256 (active/max active/max total)

     Reserved Conversations 0/0 (allocated/max allocated)

     Available Bandwidth 96 kilobits/sec

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

     0 packets input, 0 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

     0 packets output, 0 bytes, 0 underruns

     0 output errors, 0 collisions, 1 interface resets

     0 output buffer failures, 0 output buffers swapped out

     0 carrier transitions

     DCD=down  DSR=down  DTR=down  RTS=down  CTS=down

ppp-b#

 

 

注意的是:最後少了一句:no shutdown  把端口打開。

 

 

Ppp  分兩層控制,一個是NCP,數據方面的。 一個是LCP,邏輯控制方面。

 

 

Ppp 最大的賣點是它的驗證,CHAP 加密驗證。另一個是明文密碼PAP驗證。

CHAP 用的是MD5散列生成器,再哈希一個值。

HASH 不可逆的。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章