• 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.

ASA trong GNS3 không console Putty được (help)

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

  • #16
    Bạn đã giải quyết được problem chưa? Mấy tuần rồi tui ko vào forum nên giờ mới thấy post của bạn.

    Trong bài viết trên, ở phần "boot config disk0:/.private/startup-config" mình phải config ở global mode (bài hướng dẫn chắc tác giả lầm). Khi show run bạn phải thấy câu lệnh này.

    Ngoài ra, khi cấu hình câu lênh này, tui bị báo lỗi : "ERROR: Unable to set this url, file has non-ASCII characters". Nếu bạn bị lỗi này thì cấu hình phải đúng theo thứ tự sau:

    -conf t
    ciscoasa(config)# boot config disk0:/.private/startup-config
    ERROR: Unable to set this url, file has non-ASCII characters
    ciscoasa(config)#
    ciscoasa(config)#
    ciscoasa(config)# copy run di
    ciscoasa(config)# copy run disk0:/.pri
    ciscoasa(config)# copy run disk0:/.private/st
    ciscoasa(config)# copy run disk0:/.private/startup-config

    Source filename [running-config]?

    Destination filename [/.private/startup-config]?

    %Warning:There is a file already existing with this name
    Do you want to over write? [confirm]
    Cryptochecksum: 96e6c3e3 f9916b99 4b06b088 0ea27ee1

    789 bytes copied in 4.740 secs (197 bytes/sec)
    ciscoasa(config)# boo
    ciscoasa(config)# boot con
    ciscoasa(config)# boot config dis
    ciscoasa(config)# boot config disk0:/.private/st
    ciscoasa(config)# boot config disk0:/.private/startup-config
    ciscoasa(config)#

    Link: http://firewallengineer.wordpress.co...ii-characters/
    Còn theo trong đây: http://forum.gns3.net/topic2405.html thì:

    if asa lose the system startup-config at boot
    five reasons,
    you forget to do in system mode
    boot config disk0:/.private/startup-config
    copy running-config disk0:/.private/startup-config
    click file --> save in gns3
    you type the wrong letter
    you don't follow the save order (think in logical)

    if asa lose the multiple context startup-config at boot
    five reasons
    you forget to set context initial path in the system mode
    config-url disk0:/.private/context.cfg
    you forget to save context startup-config in each context mode
    copy running-config startup-config
    you forget to click file --> save in gns3
    you type the wrong letter
    you don't follow the save order (think in logical)


    TÚM VÁY LẠI: PHẢI CÓ ĐƯỢC CÂU LỆNH BOOT TRÊN TRONG FILE START-UP.

    Hope this helps
    Last edited by hell13; 27-06-2012, 04:43 AM.

    Comment


    • #17
      Originally posted by hell13 View Post
      Bạn đã giải quyết được problem chưa? Mấy tuần rồi tui ko vào forum nên giờ mới thấy post của bạn.

      Trong bài viết trên, ở phần "boot config disk0:/.private/startup-config" mình phải config ở global mode (bài hướng dẫn chắc tác giả lầm). Khi show run bạn phải thấy câu lệnh này.

      Ngoài ra, khi cấu hình câu lênh này, tui bị báo lỗi : "ERROR: Unable to set this url, file has non-ASCII characters". Nếu bạn bị lỗi này thì cấu hình phải đúng theo thứ tự sau:

      -conf t
      ciscoasa(config)# boot config disk0:/.private/startup-config
      ERROR: Unable to set this url, file has non-ASCII characters
      ciscoasa(config)#
      ciscoasa(config)#
      ciscoasa(config)# copy run di
      ciscoasa(config)# copy run disk0:/.pri
      ciscoasa(config)# copy run disk0:/.private/st
      ciscoasa(config)# copy run disk0:/.private/startup-config

      Source filename [running-config]?

      Destination filename [/.private/startup-config]?

      %Warning:There is a file already existing with this name
      Do you want to over write? [confirm]
      Cryptochecksum: 96e6c3e3 f9916b99 4b06b088 0ea27ee1

      789 bytes copied in 4.740 secs (197 bytes/sec)
      ciscoasa(config)# boo
      ciscoasa(config)# boot con
      ciscoasa(config)# boot config dis
      ciscoasa(config)# boot config disk0:/.private/st
      ciscoasa(config)# boot config disk0:/.private/startup-config
      ciscoasa(config)#

      Link: http://firewallengineer.wordpress.co...ii-characters/
      Còn theo trong đây: http://forum.gns3.net/topic2405.html thì:

      if asa lose the system startup-config at boot
      five reasons,
      you forget to do in system mode
      boot config disk0:/.private/startup-config
      copy running-config disk0:/.private/startup-config
      click file --> save in gns3
      you type the wrong letter
      you don't follow the save order (think in logical)

      if asa lose the multiple context startup-config at boot
      five reasons
      you forget to set context initial path in the system mode
      config-url disk0:/.private/context.cfg
      you forget to save context startup-config in each context mode
      copy running-config startup-config
      you forget to click file --> save in gns3
      you type the wrong letter
      you don't follow the save order (think in logical)


      TÚM VÁY LẠI: PHẢI CÓ ĐƯỢC CÂU LỆNH BOOT TRÊN TRONG FILE START-UP.

      Hope this helps

      ok bạn

      để mình thử lại xem nhé. Nếu không được mình nhờ bạn support online nhé

      Comment


      • #18
        Originally posted by lengocdat View Post
        ok bạn

        để mình thử lại xem nhé. Nếu không được mình nhờ bạn support online nhé
        Đối với mình thì chỉ sử dụng câu lệnh này để lưu copy running-config disk0:/.private/startup-config để lưu ( có khả năng báo lỗi nhưng bạn có thể test bằng cách cấu hình bằng một vài lệnh rùi dùng câu lệnh đó để lưu rùi restart để kiểm chứng)

        ===========
        CTY TNHH TM-DV NetViet
        Website: www.netvietco.net
        Email : Info@netvietco.net
        Tel : (+84) 36-028-860
        Vice Director : Mr. Lê Văn Bé Em
        CCNP , CCNPsecurity ,
        JNCIA-ER, JNCIA-EX, JNCIA-JUNOS, JNCIS-ER, JNCIS-SEC
        Yahoo: BeEmITmaster
        Mail primary: BeEm@netvietco.net

        Phone number : +84.932.746.646

        Comment


        • #19
          Originally posted by lenguyen1988 View Post
          Đối với mình thì chỉ sử dụng câu lệnh này để lưu copy running-config disk0:/.private/startup-config để lưu ( có khả năng báo lỗi nhưng bạn có thể test bằng cách cấu hình bằng một vài lệnh rùi dùng câu lệnh đó để lưu rùi restart để kiểm chứng)

          Hi Bạn !

          mình đã lưu cấu hình được rồi nhưng gặp một vấn đề nhỏ như thế này bạn support mình với nhé

          Click image for larger version

Name:	AS3.JPG
Views:	1
Size:	49.2 KB
ID:	205783Click image for larger version

Name:	AS1.JPG
Views:	1
Size:	46.6 KB
ID:	205784Click image for larger version

Name:	AS2.JPG
Views:	1
Size:	57.7 KB
ID:	205785

          Comment


          • #20
            Originally posted by lengocdat View Post
            Hi Bạn !

            mình đã lưu cấu hình được rồi nhưng gặp một vấn đề nhỏ như thế này bạn support mình với nhé

            [ATTACH=CONFIG]4557[/ATTACH][ATTACH=CONFIG]4558[/ATTACH][ATTACH=CONFIG]4559[/ATTACH]
            ý bạn muốn hỏi gì về những o màu đỏ

            ===========
            CTY TNHH TM-DV NetViet
            Website: www.netvietco.net
            Email : Info@netvietco.net
            Tel : (+84) 36-028-860
            Vice Director : Mr. Lê Văn Bé Em
            CCNP , CCNPsecurity ,
            JNCIA-ER, JNCIA-EX, JNCIA-JUNOS, JNCIS-ER, JNCIS-SEC
            Yahoo: BeEmITmaster
            Mail primary: BeEm@netvietco.net

            Phone number : +84.932.746.646

            Comment


            • #21
              Originally posted by lenguyen1988 View Post
              ý bạn muốn hỏi gì về những o màu đỏ
              Uh. O màu đỏ có chữ Failed đó bạn

              Comment


              • #22
                Originally posted by lengocdat View Post
                Uh. O màu đỏ có chữ Failed đó bạn
                Trong ASA :

                1. Để interface hoat động thì đặt tên cho cổng đó:
                interface g0/0
                nameif Tên cổng (Inside)
                2. Nó sẽ tự động bật securit-level nếu ko thì bạn tự set :
                security-level 100
                3.Đặt địa chỉ IP cho cổng đó :
                IP address 192.168.1.1 255.255.255.0
                4. Bật cổng đó lên bằng :
                No shutdow

                5. Còn việc lưu thì tôt nhất bạn dùng lệnh này để đảm bảo:
                Copy running-config disk0:/.private/startup-config
                Đôi với câu lênh luu cấu hình chắc đa số mọi người ko để ý tới khi ASA khởi động no chỉ ra cách luu cấu hình ( nên đa số mọi người bở ngở vói việc lưu cấu hình của asa) :
                Nó báo :
                Please note to use the following command under ASA to save your configs:
                ciscoasa(config)# boot config disk0:/.private/startup-config
                ciscoasa(config)# copy running-config disk0:/.private/startup-config

                Click image for larger version

Name:	Untitled.jpg
Views:	2
Size:	20.2 KB
ID:	205798

                ===========
                CTY TNHH TM-DV NetViet
                Website: www.netvietco.net
                Email : Info@netvietco.net
                Tel : (+84) 36-028-860
                Vice Director : Mr. Lê Văn Bé Em
                CCNP , CCNPsecurity ,
                JNCIA-ER, JNCIA-EX, JNCIA-JUNOS, JNCIS-ER, JNCIS-SEC
                Yahoo: BeEmITmaster
                Mail primary: BeEm@netvietco.net

                Phone number : +84.932.746.646

                Comment


                • #23
                  Originally posted by lenguyen1988 View Post
                  Trong ASA :

                  1. Để interface hoat động thì đặt tên cho cổng đó:
                  interface g0/0
                  nameif Tên cổng (Inside)
                  2. Nó sẽ tự động bật securit-level nếu ko thì bạn tự set :
                  security-level 100
                  3.Đặt địa chỉ IP cho cổng đó :
                  IP address 192.168.1.1 255.255.255.0
                  4. Bật cổng đó lên bằng :
                  No shutdow

                  5. Còn việc lưu thì tôt nhất bạn dùng lệnh này để đảm bảo:
                  Copy running-config disk0:/.private/startup-config
                  Đôi với câu lênh luu cấu hình chắc đa số mọi người ko để ý tới khi ASA khởi động no chỉ ra cách luu cấu hình ( nên đa số mọi người bở ngở vói việc lưu cấu hình của asa) :
                  Nó báo :
                  Please note to use the following command under ASA to save your configs:
                  ciscoasa(config)# boot config disk0:/.private/startup-config
                  ciscoasa(config)# copy running-config disk0:/.private/startup-config

                  [ATTACH=CONFIG]4599[/ATTACH]
                  Hi Bn !

                  Dạo này mình bận quá chưa vào 4rum đọc bài của bạn được. Mình sẽ check trên LAB rồi sẽ trả lời cho bạn sau nhé

                  Cám ơn bạn rất nhiều đã dành thời gian hỗ trợ đến cùng cho mình

                  Comment

                  Working...
                  X