• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Làm sao để đổi password Router?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Liebones
    Router của thuộc hãng nào ? Nếu thuộc dong Cisco chỉ cần vào chế độ Config mức Enable là thay đổi được.
    Router Cisco 1700. Bạn có thể xem lại phần thao tác của mình ở trang 1 và xem nguyên nhân tại sao mà mình không đổi được password của Router khi telnet được không? Cảm ơn bạn!

    Comment


    • #17
      Không có dòng lệnh này: "no password" cho nên nó sẽ báo cú pháp sai. Có đúng ko?
      Câu này có nghĩa là gì nhỉ? : "% Invalid input detected at '^' marker."

      Comment


      • #18
        Quote:

        Router> enable ==>vô privilege mode
        Router# conf t ==> vô global configuration mode
        Router(config)# line vty 0 4 ==> vô line config mode. Router cho phép 1 lúc 5 telnet session tương ứng với line vty 0 --> 4
        Router(config-line)# login ==> hỏi password lúc login
        Router(config-line)# password [password]==> cho phép telnet vào router

        Sau khi config xong, bạn nhớ trở về privilege mode (nhấn Ctrl_Z), sau đó dùng lệnh copy run start để lưu cấu hình lại.

        Hope this help

        Thân mến,


        Cảm ơn các bạn!
        Mình đã làm như trên nhưng ko được. Mình đang xài Router Cisco 1700. Sau khi hoàn tất các lệnh mình dùng lệnh copy run start thì nó hỏi như sau: Destination filename [startup-config]?. Hihi..đến đây vì không biết làm gì nữa (vì các bạn không chỉ mà ) nên mình Enter luôn. Sau khi Enter nó báo như sau:
        Building configuration...


        Như vậy là được chứ, có thể dùng lệnh wr (write memory) thay lệnh copy run conf startup config.
        Nếu như không thích bạn có thể xoá toàn bộ rồi cấu hình từ đầu.

        Comment


        • #19
          Crack password 2500

          chỉ em cách crack password router 2500 với các bác ơi ! cảm ơn nhiều luôn :lol:

          Comment


          • #20
            Qui trình khôi phục password (password recovery)

            I. Đối với Cisco 1600, 1700 and 2600 Series Routers:

            1. Vào HyperTerminal (Private Edition 5.0 or higher) console.

            2. Tắt router, sau đó bật lại. Nhấn Ctrl-Break trong vòng 60 giây

            monitor: command "boot" aborted due to user interrupt
            rommon 1 >

            3. Dùng lệnh confreg để đổi nội dung thanh ghi sang 2142.

            rommon 1 >confreg 0x2142

            4. Reboot the router with the reset command.

            rommon 2 >reset

            5. Sau khi reboot, dùng Ctrl-C để vào user mode:

            router>

            6.

            router>enable
            router#copy startup-config running-config

            7.

            router>enable
            router#show startup-config

            8. Đặt lại password mới:

            router#config term
            router(config)#enable secret newpassword
            router(config)#enable password newpassword
            router(config)#line con 0
            router(config-line)#login
            router(config-line)#password newpassword
            router(config)#line aux 0
            router(config-line)#login
            router(config-line)#password newpassword
            router(config)#line vty 0 4
            router(config-line)#login
            router(config-line)#password newpassword

            9. #copy run start

            10. Khôi phục giá trị thanh ghi về 0x2102

            router#config term
            router(config)#config-register 0x2102
            router(config)#exit
            router#copy running-config startup-config

            11. Kiểm tra nội dung thanh ghi

            router#show version
            Cisco Internetwork Operating System Software
            IOS (tm) C2600 Software (C2600-DO3S-M), Version 12.0(5)T1, RELEASE
            SOFTWARE (fc1)
            Copyright (c) 1986-1999 by cisco Systems, Inc.
            Compiled Tue 17-Aug-99 13:18 by cmong
            Image text-base: 0x80008088, data-base: 0x80CB67B0
            ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
            1 FastEthernet/IEEE 802.3 interface(s)
            2 Low-speed serial(sync/async) network interface(s)
            32K bytes of non-volatile configuration memory.
            8192K bytes of processor board System flash (Read/Write)

            Configuration register is 0x2142 (will be 0x2102 at next reload)


            II. Cisco 2500 Series Routers:

            1. Thiết lập HyperTerminal (Private Edition 5.0 or higher) console .

            2. Tắt routers, sau đó bật lại. Nhấn CTRL-BREAK trong vòng 60 giây.

            Abort at 0x10EA884 (PC)
            >

            3. Đổi nội dung thanh ghi thành 0x2142

            >o/r 0x2142 (lower case of the letter O for o/r and zero for 0x2142)

            4. Reboot router

            >i

            5. Nhấn Ctrl-C để vào user mode khi router khởi động lại

            router>

            6. Vào enable mode

            router>enable
            router#copy startup-config running-config
            7. Thực hiện các lệnh show running-config or show startup-config
            router#show startup-config

            8.

            router#config term
            router(config)#enable secret newpassword
            router(config)#enable password newpassword
            router(config)#line con 0
            router(config-line)#login
            router(config-line)#password newpassword
            router(config)#line aux 0
            router(config-line)#login
            router(config-line)#password newpassword
            router(config)#line vty 0 4
            router(config-line)#login
            router(config-line)#password newpassword

            9. Copying the startup-configuration to running-configuration. Thực hiện lệnh no shutdown trên tất cả các interface được dùng.

            10. Chuyển nội dung thanh ghi về giá trị ban đầu. Lưu cấu hình

            router#config term
            router(config)#config-register 0x2102
            router#copy running-config startup-config

            11. Kiểm tra thanh ghi có giá trị là 2102 bằng lệnh show version

            router#show version
            Cisco Internetwork Operating System Software
            IOS (tm) 2500 Software (C2500-D-L), Version 12.0(4), RELEASE SOFTWARE
            (fc1)
            Copyright (c) 1986-1999 by cisco Systems, Inc.
            ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
            BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE
            SOFTWARE (fc1)
            1 Ethernet/IEEE 802.3 interface(s)
            2 Serial network interface(s)
            1 ISDN Basic Rate interface(s)
            32K bytes of non-volatile configuration memory.
            8192K bytes of processor board System flash (Read ONLY)
            Configuration register is 0x2142 (will be 0x2102 at next reload)

            12. Reboot the router.
            router#reload
            Email : vnpro@vnpro.org
            ---------------------------------------------------------------------------------------------------------------
          Trung Tâm Tin Học VnPro
          149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
          Tel : (08) 35124257 (5 lines)
          Fax: (08) 35124314

          Home page: http://www.vnpro.vn
          Support Forum: http://www.vnpro.org
          - Chuyên đào tạo quản trị mạng và hạ tầng Internet
          - Phát hành sách chuyên môn
          - Tư vấn và tuyển dụng nhân sự IT
          - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

          Network channel: http://www.dancisco.com
          Blog: http://www.vnpro.org/blog

          Comment


          • #21
            Admin oi ! Hinh nhu không phải router 2500 series nào cũng làm như trên đuợc đâu. Điển hình là cái 2501:
            1. Cấu hình Hyper Terminal vớii các thộng số như bình thường.
            2. Ctrl - Break trong lúc router khởi động.
            3 Tai rommon
            >o
            >o
            Configuration register = 0x2102 at last boot
            Bit# Configuration register option settings:
            15 Diagnostic mode disabled
            14 IP broadcasts do not have network numbers
            13 Boot default ROM software if network boot fails
            12-11 Console speed is 9600 baud
            10 IP broadcasts with ones
            08 Break disabled
            07 OEM disabled
            06 Ignore configuration enabled
            03-00 Boot file is cisco2-2500 (or 'boot system' command)


            >o\r 0x2142
            >i (to restart router)

            Sau khi restart:
            Router#conf terminal
            Enter configuration commands, one per line. End with CNTL/Z.
            Router(config)#conf
            Router(config)#config-register 0x2102 (trả về giá trị default)
            Router(config)#

            Lưu cấu hình.

            Comment


            • #22
              Originally posted by calvin
              Hainchain vô trang web http://www.cisco.com/warp/public/474/ tham khảo nhé.
              Thx Calvin, tài liệu rất hay! :P

              Comment


              • #23
                Re: Làm sao để đổi password Router?

                Originally posted by notme
                Các bạn cho mình hỏi, mình có một Router và khi mình Telnet đến nó thì nó hỏi pass, mình thấy cái pass này dùng cũng đã lâu quá rồi nên mình muốn đổi nó, vậy mình cần phải đánh lệnh gì? Mong các bạn chỉ từng bước cụ thể. Cảm ơn nhiều!
                Nếu muốn đổi password bạn đánh lệnh này sau khi vào global configuration mode
                username username password password

                Chúc thành công

                Comment


                • #24
                  Khi bạn telnet tới nó nó hỏi password, bạn muốn đổi nó thì dùng lệnh sau :
                  line vty 0 4
                  login
                  password xxxxxx
                  end
                  write

                  Comment


                  • #25
                    notme ơi , làm như bác ttp là đúng rồi đấy nhưng vấn để cuối cùng thì bạn lại không làm được đó là lúc Router hỏi về Destination Filename [start up config] đó, bạn đã làm thế nào tiếp để mà không đuợc? nói rõ đi !

                    Comment


                    • #26
                      RE: Làm sao để đổi password Router?

                      tôi thấy bài này post lên đã cũ rối , nhưng hôm nay tôi mới đọc , và thấy vẫn chưa hài lòng lắm , nên xin mạo muội cho thêm cái ý kiến :
                      Trước hết bạn phải mô tả chính xác việc login bằng telnet thì quá trình hỏi password là như thế nào :
                      1 / Nếu bạn phài nhập username và password để login vào thì do router của bãn cấu hình theo dạng : aaa authentication login default local (bạn sh conf lên để check thử), lúc này bạn phải đổi password theo user :
                      #conf t
                      <config>#username <youruser> password <yourpass>
                      <config>exit
                      #wr mem
                      2/ Neu như mới telnet vào thì router hỏi password liền thì đó là password cấu hình cho vty
                      bạn làm như sau :
                      #conf t
                      #line vty 0 4
                      #login
                      #password <yourpass>
                      #exit
                      #wr mem
                      Ban không cần phải reboot lại router , chỉ cấn thóat ra ngòai và telnet lại là OK

                      Comment


                      • #27
                        Hi Sao không xem theo dây
                        Cisco is a worldwide technology leader. Our purpose is to power an inclusive future for all through software, networking, security, computing, and more solutions.
                        Hugo cưỡi đà điểu đi nào !
                        Nhớ đừng lạc đường đấy nhé !!
                        Tel : 0918.417454

                        Comment


                        • #28
                          RE: Làm sao để đổi password Router?

                          Mình thấy hình như thiếu login

                          >en
                          #conf t
                          #line vty 0 4
                          #password *****
                          #login
                          #exit
                          #Ctril + Z
                          #copy run start [Enter]
                          #{gì file name đó} cứ [enter]
                          #reload

                          --- Chú ý: minh config cái này qua Consle

                          nhưng nếu telnet config cũng không sao đâu

                          Comment


                          • #29
                            hey,
                            mình chỉ co thể recovery password khi router o conf register la 0x2142
                            ko biết khi đổi password có cần phải đổi conf reg từ 0x2102 sang 0x2142 ko nhi?
                            Su huynh experienced rồi trả lòi dùm Thủy hen.
                            ********************************
                            Truong Thanh Thuy
                            University of Southern California
                            Computer Engineering & Computer Science

                            Email: thuyusc@gmail.com
                            Phone: 08.44585659
                            ********************************

                            Comment


                            • #30
                              RE: Làm sao để đổi password Router?

                              xin chào thuy

                              Nội dung thanh ghi là 0x2142 có nghĩa là bỏ qua nội dunh thanh ghi khi router khởi động lại. Nếu chỉ đổi password thuần túy thì không cân thay đổi nội dung thanh ghi

                              cám ơn
                              Nguyễn Hữu Hòa, CCNA
                              CCNP in progress

                              Comment

                              • Working...
                                X