C H A P T E R 9 Working With Configuration Files; Downloading Configuration Files To The Switch; Using A File From A Remote Server - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Managing Configuration Files
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
interface mgmt0
ip address 172.22.95.112 255.255.255.0
no shutdown
vsan database
vsan 2
clock summer-time Pacific 1 Sun Apr 02:00 5 Sun Oct 02:00 60
switchname switch112
Use the show startup-config command to view the startup configuration file.
switch# show startup-config
interface port-channel 98
interface fc1/1
channel-group 98 force
no shutdown
interface mgmt0
ip address 172.22.95.112 255.255.255.0
boot system system-237; ep-41
boot kickstart boot-237 ep-41
ip domain-name cisco.com

Downloading Configuration Files to the Switch

You can configure a switch in the Cisco MDS 9000 Family by using configuration files you create or
download from another switch. In addition, you can store configuration files on a bootflash device on
the supervisor module and you can configure the switch using a configuration stored on an external
CompactFlash disk.
Before you begin downloading a configuration file using a remote server, do the following:

Using a File From a Remote Server

To configure a switch in the Cisco MDS 9000 Family using a configuration file downloaded from a
remote server using TFTP, FTP, SCP, or SFTP, follow these steps:
Log into the switch through the console port or through a Telnet or SSH session.
Step 1
Configure the switch using the configuration file downloaded from the remote server using the
Step 2
copy scheme://url system:running-config command, where scheme is TFTP, FTP, SCP, or SFTP and url
is the path to the source file on the remote server.
The configuration file downloads and the commands are executed as the file is parsed line by line.
Use the following command to download a configuration file from a remote server to the running
configuration:
switch# copy scheme://url system:running-config
Cisco MDS 9000 Family CLI Configuration Guide
9-2
Ensure the configuration file to be downloaded is in the correct directory on the remote server.
Ensure that the permissions on the file are set correctly. Permissions on the file should be set to
world-read.
Ensure the switch has a route to the remote server. The switch and the remote server must be in the
same subnetwork if you do not have a router or default gateway to route traffic between subnets.
Check connectivity to the remote server using the ping command.
Chapter 9
Working with Configuration Files
OL-18084-01, Cisco MDS NX-OS Release 4.x

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents