[Cisco Switch] File config.text khác gì startup-config ?


Trên các dòng switch của Cisco (29xx, 35xx …), khi khởi động, hệ điều hành sẽ đọc file config.text. Vậy file này khác gì với file startup-config ?

Chúng ta cùng kiểm tra 1 vài dấu hiệu sau:

1. Nhập lệnh show flash:dir nvram: ;không có file config.text , file startup-config  có dung lượng là 0 byte

2. Nhập lệnh copy running-config startup-config ; chúng ta thấy xuất hiện file config.text có cùng dung lượng như file startup-config

3. Nhập lệnh erase startup-config, sau đó show flash: dir nvram: ; mất file config.text, file startup-config (0 byte)

hoặc nhập lệnh delete flash:config.text, sau đó show flash:, dir nvram: ; mất file config.text, file startup-config (x byte)

nhưng sau khi khởi động lại switch, file startup-config có dung lượng là 0 byte.

Vậy 2 file này liên quan với nhau như thế nào ?

Đây là ý kiến của Mr. Tony Chen:

“I could be wrong but I will give it a try here. The way that I understood the catalyst switch is cisco purchased the catalyst from Grand Junction Networks. Config.text is the left over config from the original design. Cisco wants to standardize the interface to make it all look like IOS. They tweak it and when the switch starts the config.text are copied and become the startup-config.”

29 Tháng năm, 2018

Chưa có bình luận, hãy trở thành người đầu tiên!

Để lại một bình luận

2020 © Learns.vn.

Login

  • Họ tên (bắt buộc)

    Họ tên

  • Địa chỉ

    Địa chỉ

  • Tóm tắt thông tin

    Tóm tắt thông tin

  • Facebook

    Facebook profile link

  • Twitter

    Twitter profile link

  • Chuyên môn

    Kỹ năng chuyên môn

  • Register
Create an Account Back to login/register