Код: Выделить всё
mycisco-dsl>enable
Password:
mycisco-dsl#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
mycisco-dsl(config)#ip route 0.0.0.0 0.0.0.0 82.208.82.17
mycisco-dsl(config)#exit
mycisco-dsl#
2d18h: %SYS-5-CONFIG_I: Configured from console by console
mycisco-dsl#wr
Building configuration...
[OK]
mycisco-dsl#ping 82.208.82.17
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 82.208.82.17, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
mycisco-dsl#show interfaces
ATM0 is up, line protocol is up
Hardware is PQUICC_SAR (with Alcatel ADSL Module)
Internet address is 82.208.82.19/29
MTU 1500 bytes, sub MTU 1500, BW 640 Kbit, DLY 80 usec,
reliability 0/255, txload 1/255, rxload 1/255
Encapsulation ATM, loopback not set
Encapsulation(s): AAL5 AAL2, PVC mode
10 maximum active VCs, 1024 VCs per VP, 0 current VCCs
VC Auto Creation Disabled.
VC idle disconnect time: 300 seconds
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: Per VC Queueing
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, 2 interface resets
0 output buffer failures, 0 output buffers swapped out
Ethernet0 is up, line protocol is up
Hardware is PQUICC Ethernet, address is 00b0.c28f.be61 (bia 00b0.c28f.be61)
Internet address is 10.52.1.7/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Half-duplex, 10Mb/s
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:03, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/100 (size/max)
5 minute input rate 1000 bits/sec, 1 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
227414 packets input, 16880407 bytes, 0 no buffer
Received 223387 broadcasts, 0 runts, 0 giants, 0 throttles
311 input errors, 0 CRC, 0 frame, 0 overrun, 311 ignored
0 input packets with dribble condition detected
31847 packets output, 3370257 bytes, 0 underruns
0 output errors, 3 collisions, 1 interface resets
0 babbles, 0 late collision, 5 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
mycisco-dsl#show run
Building configuration...
Current configuration : 1711 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname mycisco-dsl
!
logging queue-limit 100
enable secret 5 *SKIPPED*
!
*SKIPPED*
ip subnet-zero
no ip domain lookup
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool CLIENT
import all
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
lease 0 2
!
!
!
!
!
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
!
!
!
!
interface Ethernet0
ip address 192.168.1.7 255.255.255.0
hold-queue 100 out
!
interface ATM0
ip address 82.208.82.19 255.255.255.248
no atm ilmi-keepalive
dsl operating-mode auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 82.208.82.17
ip http server
!
access-list 23 permit 10.10.10.0 0.0.0.255
call rsvp-sync
!
voice-port 1
!
voice-port 2
!
voice-port 3
!
voice-port 4
!
!
line con 0
exec-timeout 120 0
stopbits 1
line vty 0 2
access-class 23 in
exec-timeout 120 0
password 7 00171605165E1F465E731F
login
length 0
line vty 3 4
access-class 23 in
exec-timeout 120 0
login local
length 0
!
scheduler max-task-time 5000
!
end
mycisco-dsl#