H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 536

Advertising
background image

50-4

Configuration procedure

1) Configure the TFTP server (PC)

Start the TFTP server and configure the working directory on the PC.

2) Configure the TFTP client (switch).

# Log in to the switching engine. (You can log in to the switching engine through the console port or by
telnetting the device. See Login in H3C WX3000 Series Unified Switches Switching Engine

Configuration Guide

.)

If available space on the flash memory of the device is not enough to hold the file to be uploaded, you
need to delete files not in use from the flash memory to make room for the file, and then upload the file
again. The files in use cannot be deleted.

# Enter system view

<device> system-view

[device]

# Configure the IP address of a VLAN interface on the device to be 1.1.1.1, and ensure that the port
through which the device connects with the PC belongs to this VLAN. (This example assumes that the
port belongs to VLAN 1.)

[device] interface Vlan-interface 1

[device-Vlan-interface1] ip address 1.1.1.1 255.255.255.0

[device-Vlan-interface1] quit

# Download the device configuration file named config.cfg from the TFTP server to the device.

<device> tftp 1.1.1.2 get config.cfg config.cfg

# After downloading the file, use the startup saved-configuration command to specify the
downloaded configuration file as the main configuration file for next startup, and restart the device.

<device>startup saved-configuration config.cfg main

Please wait........................................Done!

For information about the startup saved-configuration command and how to specify the startup file
for the device, refer to System Maintenance and Debugging in H3C WX3000 Series Unified Switches

Switching Engine Configuration Guide

and in H3C WX3000 Series Unified Switches Switching Engine

Command Reference

.

Advertising