Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual page 570

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Working with Configuration Files on the Switch
This example shows how to configure the switch using a configuration file downloaded from a TFTP
server:
Console> (enable) copy tftp config
IP address or name of remote host []? 172.20.52.3
Name of file to copy from []? dns-config.cfg
Configure using tftp:dns-config.cfg (y/n) [n]? y
/
Finished network download.
>>
>> set ip dns server 172.16.10.70 primary
172.16.10.70 added to DNS server table as primary server.
>> set ip dns server 172.16.10.140
172.16.10.140 added to DNS server table as backup server.
>> set ip dns enable
DNS is enabled
>> set ip dns domain corp.com
Default DNS domain name set to corp.com
Console> (enable)
Configuring the Switch Using a File on a Flash Device
To configure a switch using a configuration file stored on a Flash device in the Flash file system, perform
these steps:
Log into the switch through the console port or a Telnet session.
Step 1
Locate the configuration file using the cd and dir commands (for more information, see
Step 2
"Working With the Flash File
Configure the switch using the configuration file stored on the Flash device using the copy file-id config
Step 3
command.
The commands are executed as the file is parsed line-by-line.
This example shows how to configure the switch using a configuration file stored on a Flash device:
Console> (enable) copy slot0:dns-config.cfg config
Configure using slot0:dns-config.cfg (y/n) [n]? y
Finished network download.
>>
>> set ip dns server 172.16.10.70 primary
172.16.10.70 added to DNS server table as primary server.
>> set ip dns server 172.16.10.140
172.16.10.140 added to DNS server table as backup server.
>> set ip dns enable
DNS is enabled
>> set ip dns domain corp.com
Default DNS domain name set to corp.com
Console> (enable)
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
26-4
(134 bytes)
System").
(134 bytes)
Chapter 26
Working with Configuration Files
Chapter 24,
78-13315-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents