Professional Documents
Culture Documents
Bước 4: Bấm và giữ nút Mode trên switch đồng thời cắm điện cho switch. Nếu chế độ phục hồi
password được bật, chúng ta sẽ thấy thông báo sau
The system has been interrupted prior to initializing the flash file system. The following
commands will initialize the flash file system, and finish loading the operating system
software:
flash_init
load_helper
boot
switch: load_helper
switch: dir flash: //Đây là lệnh liệt kê các file cấu hình sẵn có trên switch
Đến đây, switch đã được khởi động lại với cấu hình default và không có password.
2 ĐẶT PASSWORD
Thực hiện các lệnh sau:
Switch> enable
Switch (config)# line vty from_port to_port //Đặt password cho truy cập từ xa
Switch (config)# password your_password
Switch(config-vlan)# end
Switch(config)# interface fastethernet 0/port //Dùng lệnh này nếu chỉ cấu hình cho 1 port
Switch(config…)# interface range fastethernet 0/first_port-last_port //Dùng lệnh này nếu chỉ cấu hình
cho 1 dải các cổng
Switch(config…)# end
Switch(config-if)# end
Switch(config-if)# end
Switch# show startup-config //Xem cấu hình được load khi khởi động