Professional Documents
Culture Documents
Lab 2-5: Làm Viê ̣C Với TFTP Server
Lab 2-5: Làm Viê ̣C Với TFTP Server
Mô tả
Backup các file cấu hình của switch vào TFTP server
Nạp lại file backup từ TFTP server.
Thực hiêṇ
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname ALSwitch
ALSwitch(config)#int vlan 1
ALSwitch(config-if)#ip address 10.1.1.251 255.255.255.0
ALSwitch(config-if)#no shut
3. Cấu hình cho port gắn với TFTP server ở access mode (giả sử là port f0/9)
ALSwitch(config-if)#int f0/9
ALSwitch(config-if)#switchport mode access
ALSwitch(config-if)#switchport access vlan 1
ALSwitch(config-if)#no shut
ALSwitch(config-if)#
01:38:36: %LINK-3-UPDOWN: Interface FastEthernet0/9, changed
state to up
01:38:36: %LINK-3-UPDOWN: Interface FastEthernet0/9, changed
state to up
ALSwitch#ping 10.1.1.10
ALSwitch#show flash
Directory of flash:/
2 -rwx 1645824 Mar 01 1993 00:27:37 bootfile
4 -rwx 1180 Mar 01 1993 00:26:01 config.text
8 -rwx 976 Mar 01 1993 00:41:54 config.old
9 -rwx 17 Jan 01 1970 00:00:20 env_vars
3612672 bytes total (1960448 bytes free)
ALSwitch#
9. Copy biến môi trường vào tftp server để xem tham số
File Switch2900XL.bin có kích thước giống file c2900XL-c3h2s-mz-120.5.2-XU.bin có sẵn
trong flash
ALSwitch#sh flash
Directory of flash:/