Você está na página 1de 11

Introduction

The Cisco 1700, 2600, and 3600 Series Routers support the Asymmetric Digital Subscriber Line (ADSL) W Interface Card (WIC). All the three platforms are configured in the same way. However, there are differenc the hardware and in the Cisco IOS Software release required for each one. Throughout this document the C 1700/2600/3600 is called the "Cisco ADSL WIC."

This document shows a Cisco ADSL WIC connected to a Cisco 6130 DSL Access Multiplexer (DSLAM). terminates on a Cisco 6400 Universal Access Concentrator (UAC). The Cisco ADSL WIC is configured as Dynamic Host Configuration Protocol (DHCP) server with PPP over ATM (PPPoA).

The Internet Service Provider (ISP) gives the subscriber a single IP address, 172.18.0.1, for Internet connectivity. However, the subscriber has a small network of PCs and wants to have Internet access for all devices.

The solution is to configure Network Address Translation (NAT) on the Cisco ADSL WIC. NAT is design for IP address simplification and conservation. It enables private IP internetworks that use nonregistered IP addresses to connect to the Internet. NAT operates on a router that usuallyconnects two networks. It transla the private (in this case the 10.0.0.0 network) addresses in the internal network to the legal (in this case 172.18.0.1) addresses before the packets are forwarded to another network. As apart of this function, NAT configured to advertise only one address (172.18.0.1) for the entire network. This provides additional secu by effectively hiding the entire internal network behind that address.

NAT has a dual function of security and address conservation that is implemented in remote access environments. An IP address of 10.0.0.1 is manually configured on the Ethernet interface of the Cisco ADS WIC. The Cisco ADSL WIC is configured to act as a DHCP server. It leases IP addresses to local LAN de attached to its Ethernet network.

This configuration shows NAT configured for the Ethernet and ATM interfaces. The Ethernet0 interface h IP address of 10.0.0.1 with a subnet mask of 255.0.0.0. NAT is configured for inside. This means that the interface is connected to the inside network sthat is subjected to NAT translation. The ATM interface "Dia has an IP address of 172.18.0.1 and a subnet mask of 255.255.0.0. NAT is configured for outside. This me that the interface is connected to an outside network, such as the Internet.

Prerequisites
Requirements

Before you attempt this configuration, ensure that you meet these requirements. To support the ADSL WIC the Cisco 2600/3600, thishardware is required:

2600: Chassis WIC slots, NM-2W 3600: NM-1FE1R2W, NM-1FE2W, NM-2FE2W, NM-2W Note: For the Cisco 3600, t these donot support the ADSL WIC: NM-1E1R2W, NM-1E2W, NM2E2W.

To support the ADSL WIC, these Cisco IOS Software releases are required:

Cisco IOS Software Release 12.1(5)YB (Plus versions only) on the Cisco 2600/3600. Cisco IOS Software Release IOS 12.1(3)XJ or later (Plus versions or ADSL feature set only) on the Cisco 1700. The ADSL feature set is identified by "y7" in the image name; for example, c1700-sy7 mz.121-3.XJ.bin.

Note: When you download the image for the Cisco 1700, make sure you select the image name of 1 Do not download a 1720 or a 1750 image. The features will not support the ADSL WIC.

Components Used
The information in this document is based on these software and hardware versions .

Cisco 6400 UAC-NRP IOS Software Release 12.1(3)DC1 Cisco 6400 UAC-NSP IOS Software Release 12.1(3)DB Cisco 6130 DSLAM-NI2 IOS Software Release 12.1(5)DA

The information presented in this document was created from devices in a specific lab environment. All of devices used in this document started with a cleared (default) configuration. If you are working in a live network, ensure that you understand the potential impact of any command before using it.

Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.

Configure
Note: To find additional information on the commands used in this document, use the Command Lookup Tool (registeredcustomers only) .

In this section, you are presented with the information to configure the features described in this document

Network Diagram
This document uses the network setup shown in this diagram .

Configuration

This document uses this configuration .


Cisco ADSL WIC
! version 12.1 service timestamps debug datetime msec service timestamps datetime msec ! hostname R1 ! ip subnet-zero ! ip dhcp excluded-address 10.0.0.1 !--- the DHCP pool does not lease this address; !--- it is used by interface FastEthernet0 ! ip dhcp pool poolname network 10.0.0.0 255.0.0.0 default-router 10.0.0.1 !--- default gateway is assigned to local devices

! interface FastEthernet0 ip address 10.0.0.1 255.0.0.0 no ip directed-broadcast no ip mroute-cache ! interface ATM0 no ip address no ip directed-broadcast no ip mroute-cache no atm ilmi-keepalive pvc 1/150 encapsulation aal5mux ppp dialer dialer pool-member 1 ! hold-queue 224 in ! interface Dialer0 ip address 172.18.0.1 255.255.0.0 ip nat outside no ip directed-broadcast encapsulation ppp dialer pool 1 dialer-group 2 ppp pap sent-username username password password ! ip nat inside source list 1 interface Dialer0 overload ip classless ip route 0.0.0.0 0.0.0.0 Dialer0 no ip http server ! access-list 1 permit 10.0.0.0 0.255.255.255 dialer-list 2 protocol ip permit ! end

Verify

There is currently no verification procedure available for this configuration.

Troubleshoot
There is currently no specific troubleshooting information available for this configuration.

Related Information

Cisco DSL Technical Support Technical Support - Cisco Systems

Introduction

This document describes how to recover the enable password and the enable secret passwords. These passwords protect access to privileged EXEC and configuration modes. The enable password password ca recovered, but theenable secret password is encrypted and must be replaced with a new password. Use the procedure described in this document in order to replace the enable secret password.

Prerequisites
Requirements
There are no specific requirements for this document.

Components Used
The information in this document is based on these hardware versions:

Cisco 1700 Series Router Cisco 1800 Series Router

The information in this document was created from the devices in a specific lab environment. All of the de used in this document started with a cleared (default) configuration. If your network is live, make sure that understand the potential impact of any command.

Related Products

Refer to Password Recovery Procedures for information on how to recover passwords for related products.

Conventions
Refer to Cisco Technical Tips Conventions for information on document conventions.

Step-by-Step Procedure
Follow these steps in order to recover your password: 1. Attach a terminal or PC with terminal emulation to the console port of the router. Use these terminal settings:
o o

9600 baud rate No parity

o o o

8 data bits 1 stop bit No flow control

Refer to these documents for information on how to cable and connect a terminal to the console p the AUX port:
o o o

Cabling Guide for Console and AUX Ports Connecting a Terminal to the Console Port on Catalyst Switches Connect a Terminal to Catalyst 2948G-L3, 4908G-L3, and 4840G Series Switches 2. If you can access the router, type show version at the prompt, and record the configuration register setting. See Example of Password Recovery Procedure in order to view the output of a show version command

Note: The configuration register is usually set to 0x2102 or 0x102. If you can no longer access th router (because of a lost login or TACACS password), you can safely assume that your configura register is set to 0x2102. 3. Use the power switch in order to turn off the router, and then turn the router back on. Important Notes:
o

In order to simulate this step on a Cisco 6400, pull out and then plug in the Node Route Processor (NRP) or Node Switch Processor (NSP) card. o In order to simulate this step on a Cisco 6x00 with NI-2, pull out and then plug in the NI-2 c 4. Press Break on the terminal keyboard within 60 seconds of power up in order to put the router into ROMMON.

If the break sequence does not work, refer to Standard Break Key Sequence Combinations During Password Recoveryfor other key combinations. 5. Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash. This step bypasses the startup configuration where the passwords are stored. 6. Type reset at the rommon 2> prompt. The router reboots, but ignores the saved configuration. 7. Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure. 8. Type enable at the Router> prompt. You are in enable mode and should see the Router# prompt. 9. Type configure memory or copy startup-config running-config in order to copy the nonvolatile (NVRAM) into memory.

Important: Do not type copy running-config startup-config or write. These commands erase y startup configuration.

10. Type show running-config.

The show running-config command shows the configuration of the router. In this configuration, the shutdowncommand appears under all interfaces, which indicates all interfaces are currently s down. In addition, the passwords (enable password, enable secret, vty, console passwords) are in an encrypted or unencrypted format. You can reuse unencrypted passwords. You must change encrypted passwords to a new password. 11. Type configure terminal. The hostname(config)# prompt appears. 12. Type enable secret <password> in order to change the enable secret password. For example:
13. hostname(config)#enable secret cisco 14.

15. Issue the no shutdown command on every interface that you use.

If you issue a show ip interface brief command in privilege EXEC mode, every interface that you to use should display up up. For example: Router#show ip interface brief 16. Type config-register <configuration_register_setting>. Where configuration_register_setting is the value you recorded in step 2 or 0x2102 . For example:
17. hostname(config)#config-register 0x2102 18.

19. Press Ctrl-z or end in order to leave the configuration mode. The hostname# prompt appears. 20. Type write memory or copy running-config startup-config in order to commit the changes.

Example of Password Recovery Procedure

This section provides an example of the password recovery procedure. This example was created with a Ci 2600 Series Router. Even if you do not use a Cisco 2600 Series Router, this output provides an example of you should experience on your product.
Router>enable Password: Password: Password: % Bad secrets Router>show version Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-IS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 07-Dec-99 02:21 by phanguye Image text-base: 0x80008088, data-base: 0x80C524F8 ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Router uptime is 3 minutes System returned to ROM by abort at PC 0x802D0B60

System image file is "flash:c2600-is-mz.120-7.T" cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory. Processor board ID JAB031202NK (3878188963) M860 processor: part number 0, mask 49 Bridging software. X.25 software, Version 3.0.0. Basic Rate ISDN software, Version 1.1. 2 Ethernet/IEEE 802.3 interface(s) 2 Serial(sync/async) network interface(s) 1 ISDN Basic Rate interface(s) 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash partition 1 (Read/Write) 8192K bytes of processor board System flash partition 2 (Read/Write) Configuration register is 0x2102 Router>

!--- The router was just powercycled, and during bootup a !--- break sequence was sent to the router. ! *** System received an abort due to Break Key *** signal= 0x3, code= 0x500, context= 0x813ac158 PC = 0x802d0b60, Vector = 0x500, SP = 0x80006030 rommon 1 > confreg 0x2142 You must reset or power cycle for new config to take effect rommon 2 > reset System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Copyright (c) 1999 by cisco Systems, Inc. TAC:Home:SW:IOS:Specials for info C2600 platform with 32768 Kbytes of main memory program load complete, entry point: 0x80008000, size: 0x6fdb4c Self decompressing the image : ############################### ############################################################## ############################################################## ############################################################## ############################### [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-IS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 07-Dec-99 02:21 by phanguye Image text-base: 0x80008088, data-base: 0x80C524F8 cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory.

Processor board ID JAB031202NK (3878188963) M860 processor: part number 0, mask 49 Bridging software. X.25 software, Version 3.0.0. Basic Rate ISDN software, Version 1.1. 2 Ethernet/IEEE 802.3 interface(s) 2 Serial(sync/async) network interface(s) 1 ISDN Basic Rate interface(s) 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash partition 1 (Read/Write) 8192K bytes of processor board System flash partition 2 (Read/Write) --- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]: n Press RETURN to get started! 00:00:19: %LINK-3-UPDOWN: Interface BRI0/0, changed state to up 00:00:19: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up 00:00:19: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up 00:00:19: %LINK-3-UPDOWN: Interface Serial0/0, changed state to down 00:00:19: %LINK-3-UPDOWN: Interface Serial0/1, changed state to down 00:00:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0, changed state to down 00:00:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up Router> 00:00:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up 00:00:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down 00:00:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to down 00:00:50: %SYS-5-RESTART: System restarted -Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-IS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 07-Dec-99 02:21 by phanguye 00:00:50: %LINK-5-CHANGED: Interface BRI0/0, changed state to administratively down 00:00:52: %LINK-5-CHANGED: Interface Ethernet0/0, changed state to administratively down 00:00:52: %LINK-5-CHANGED: Interface Serial0/0, changed state to administratively down 00:00:52: %LINK-5-CHANGED: Interface Ethernet0/1, changed state to administratively down 00:00:52: %LINK-5-CHANGED: Interface Serial0/1, changed state to administratively down 00:00:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to down 00:00:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to down Router> Router>enable Router#copy startup-config running-config Destination filename [running-config]? 1324 bytes copied in 2.35 secs (662 bytes/sec) Router# 00:01:24: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0:1, changed state to down 00:01:24: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0/0:2, changed state to down Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable secret < password > Router(config)#^Z 00:01:54: %SYS-5-CONFIG_I: Configured from console by console Router#show ip interface brief Interface IP-Address OK? Method Status Protocol

Ethernet0/0 10.200.40.37 YES TFTP administratively down down Serial0/0 unassigned YES TFTP administratively down down BRI0/0 193.251.121.157 YES unset administratively down down BRI0/0:1 unassigned YES unset administratively down down BRI0/0:2 unassigned YES unset administratively down down Ethernet0/1 unassigned YES TFTP administratively down down Serial0/1 unassigned YES TFTP administratively down down Loopback0 193.251.121.157 YES TFTP up up Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface Ethernet0/0 Router(config-if)#no shutdown Router(config-if)# 00:02:14: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up 00:02:15: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up Router(config-if)#interface BRI0/0 Router(config-if)#no shutdown Router(config-if)# 00:02:26: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down 00:02:26: %LINK-3-UPDOWN: Interface BRI0/0:2, changed state to down 00:02:26: %LINK-3-UPDOWN: Interface BRI0/0, changed state to up 00:02:115964116991: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0/0, TEI 68 changed to up Router(config-if)#^Z Router# 00:02:35: %SYS-5-CONFIG_I: Configured from console by console Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router#show version Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-IS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 07-Dec-99 02:21 by phanguye Image text-base: 0x80008088, data-base: 0x80C524F8 ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Router uptime is 3 minutes System returned to ROM by abort at PC 0x802D0B60 System image file is "flash:c2600-is-mz.120-7.T" cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory. Processor board ID JAB031202NK (3878188963) M860 processor: part number 0, mask 49 Bridging software. X.25 software, Version 3.0.0. Basic Rate ISDN software, Version 1.1. 2 Ethernet/IEEE 802.3 interface(s) 2 Serial(sync/async) network interface(s) 1 ISDN Basic Rate interface(s) 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash partition 1 (Read/Write) 8192K bytes of processor board System flash partition 2 (Read/Write) Configuration register is 0x2142 Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#config-register 0x2102 Router(config)#^Z 00:03:20: %SYS-5-CONFIG_I: Configured from console by console Router#show version Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-IS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Tue 07-Dec-99 02:21 by phanguye Image text-base: 0x80008088, data-base: 0x80C524F8

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Router uptime is 3 minutes System returned to ROM by abort at PC 0x802D0B60 System image file is "flash:c2600-is-mz.120-7.T" cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory. Processor board ID JAB031202NK (3878188963) M860 processor: part number 0, mask 49 Bridging software. X.25 software, Version 3.0.0. Basic Rate ISDN software, Version 1.1. 2 Ethernet/IEEE 802.3 interface(s) 2 Serial(sync/async) network interface(s) 1 ISDN Basic Rate interface(s) 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash partition 1 (Read/Write) 8192K bytes of processor board System flash partition 2 (Read/Write) Configuration register is 0x2142 (will be 0x2102 at next reload) Router#

Você também pode gostar