Академический Документы
Профессиональный Документы
Культура Документы
Introduction
This document describes how to use the Trivial File Transfer Protocol (TFTP) Configuration Save and Restore feature on a BPX/IGX without using Cisco WAN Manager (CWM). Switch software releases earlier than 9.3.30 use a proprietary protocol for communication between the nodes and CWM only (see Saving and Restoring Configurations on IPX, IGX, and BPX Nodes. Switch software release 9.3.30 and later contain the TFTP Configuration Save and Restore feature, employs standard TFTP for saving and restoring switch configurations and can be used with any workstation rather than just with CWM. With LAN connectivity, TFTP Configuration Save and Restore is approximately nine times faster than Proprietary Save/Restore for a single node operation. With IP Relay connectivity, TFTP Configuration Save and Restore is approximately the same as the Proprietary Save/Restore.
Prerequisites
Requirements
Readers of this document should be knowledgeable of the IGX/BPX.
Components Used
The information in this document is based on the software and hardware versions below. All BPX/IGX hardware and revisions.
All software running in the network should be 9.3.30 or later. Workstation with both TFTP server and client software installed.
Conventions
For more information on document conventions, see the Cisco Technical Tips Conventions.
Note: For PathName, do not add the directory you just created. NodeName: nodename | *. Use an asterisk ( * ) in nodename, if you want to save all node configurations. BackUpID: The backupid you created in Creating a Backup Directory and Files. The following example illustrates the correct format: Correct Format for Text Files
unixserver% more dnld.savecnf TFTP_REQUEST IP:172.16.156.80 PathName:/usr/users/svplus NodeName:bpx5 BackUpID:test unixserver% more dnld.loadcnf TFTP_REQUEST IP:172.16.156.80 PathName:/usr/users/svplus NodeName:bpx5 BackUpID:test
2. On the IGX/BPX, use the cnffwswinit ipaddress command, where ipaddress is the IP address of the UNIX workstation, to configure the address of the machine that will send the TFTP start file to the node. Note: You can use the ifconfig a command at your UNIX workstation prompt to obtain the IP address of the UNIX workstation.
Verifying the Save and Restore Feature is Enabled, Clearing the RAM Buffer, and Configuring TFTP Sessions
You must verify that the Configuration Save/Restore feature is enabled, verify that the RAM buffer is clear, and configure TFTP sessions before saving your configuration. Complete the following steps: 1. On the switch, use the cnfswfunc command to verify that the Configuration Save/Restore feature is enabled. Note: The Configuration Save/Restore feature is an option that is not enabled unless you have purchased it. Contact your account team if you would like to purchase this option. The following example illustrates a Configuration Save/Restore feature is enabled. Using the cnfswfunc Command
bpx5 TN Index Status 1 2 3 4 5 6 Enabled Enabled Disabled Disabled Enabled Disabled Cisco Function BPX 8620 9.3.36 Nov. 3 20nn 09:51 GMT
Configuration Save/Restore ForeSight Multiple VTs (1 session enabled) Virtual Trunks ABR standard with VSVD Priority Bumping
Disabled
Virtual Ports
2. Use the dspcnf command to verify that the RAM buffer is clear. If the RAM buffer is not clear, proceed to Step 3; if the RAM buffer is clear proceed to Step 4. The following example illustrates that the RAM buffer is clear. Using the dspcnf Command
bpx5 Node bpx5 bpx7 TN Cisco BPX 8620 9.3.36 Nov. 3 2002 09:49 GMT Backup ID Revision Date/Time (GMT) Status Clear Clear
3. If the RAM buffer is blocked by firmware, use the getfwrev cardtype 0.0 command to clear the buffer. 4. If you want to save multiple nodes at the same time, use the cnfsysparm 26 command to ensure the total number of simultaneous sessions can meet your requirement. The default number of simultaneous sessions is 4, but the feature allows for up to 15 TFTP Configuration Save/Restore operations. The following example illustrates that the number of nodes configured for simultaneous TFTP Configuration Save and Restore is four (the default). Using the cnfsysparm 26 Command
b86207b TN Cisco BPX 8620 9.3.36 SystemWide Parameters Nov. 7 2002 12:29 GMT
23 24 25 26
Enable Connection Deroute Delay feature............................ Interval Statistics polling rate for ATM VCs....................... Interval Statistics polling rate for ports on IPX/IGX 8400 nodes... Num of Nodes doing Simultaneous TFTP Cnfg Save/Restore.............
No 5 5 4
Note: For large networks with IP Relay connectivity, the TFTP traffic should be divided evenly across as many gateways as possible. Use the cnfnodeparm 57 nodenumberofgatewaynode command to specify the gateway node.
1. Initiate the save config command sequence from the TFTP workstation. The following example illustrates saving a configuration on a single node: Saving the Configuration on a Single Node
unixserver% tftp 172.16.156.15 < this is the IP address of bpx5 tftp> bin < Enables binary mode tranfer tftp> tr < Optional, but this command helps to see that the transfer is working Packet tracing on. tftp> put dnld.savecnf < The command to transfer the file created above to the IGX/BPX sent WRQ <file=dnld.savecnf, mode=octet> received ACK <block=0> sent DATA <block=1, 88 bytes> received ACK <block=1> Sent 88 bytes in 0.0 seconds tftp> quit unixserver%
2. Use the dspcnf command on the single node to save the configuration. In the following example you can see that the configuration is being saved: Using the dspcnf Command to View Saving a Single Node Configuration
bpx5 TN Cisco BPX 8620 9.3.36 Nov. 3 2002 10:02 GMT Node Backup ID Revision Date/Time (GMT) Status bpx5 test 9.3.36 10/18/02 18:19:53 Saving on 172.16.156.80 < being saved!! bpx7 clear
In the following example, you can see that the configuration is savedindicated by the word complete in the command output: Using the dspcnf Command to View a Complete Save of a Single Node Configuration
bpx5 TN Cisco BPX 8620 9.3.36 Nov. 3 2002 10:02 GMT Node Backup ID Revision Date/Time (GMT) Status bpx5 test 9.3.36 10/18/02 18:19:53 Save on 172.16.156.80 complete <complete!! bpx7 clear
3. Use the dsplog command to verify that the single node configuration is saved by viewing the switch log. In the following example, you can see that the configuration is saved as indicated by the switch log:
Using the dsplog Command to Verify a Single Node Configuration Save in the Switch Log
bpx5 TN Cisco BPX 8620 9.3.36 Most recent log entries (most recent at top) Class Description Info Configuration upload to 172.16.156.80 complete Info Configuration captured Last Command: dsplog Nov. 3 2002 10:02 GMT
Create a new dnld.loadcnf file using the procedure in the Creating and Configuring a TFTP Start File section. 3. Use the tftp command to transfer the file to the switch.
The following example shows the proper procedure for the file transfer: Transferring the File to the Switch
unixserver% tftp 172.16.156.15 < switch bpx5's ip address tftp> bin tftp> tr Packet tracing on. tftp> put dnld.loadcnf sent WRQ <file=dnld.loadcnf, mode=octet> received ACK <block=0> sent DATA <block=1, 88 bytes> received ACK <block=1> Sent 88 bytes in 0.1 seconds tftp> quit
4. Use the dspcnf command on the switch side to verify that the loading is in progress. The following example shows that the loading you performed in Step 3 is in progress: Using the dspcnf Command to Verify Loading in Progress
bpx5 TN Cisco BPX 8620 9.3.36 Nov. 3 2002 10:30 GMT Node Backup ID Revision Date/Time (GMT) Status bpx5 test 9.3.36 10/20/02 15:31:42 Loading from 172.16.156.80 <in progress! bpx7 Clear
5. Use the dspcnf command again to verify that the loading is complete. The following example shows that the loading you performed in Step 3 is complete: Using the dspcnf Command to Verify Loading is Complete
bpx5 TN Cisco BPX 8620 9.3.36 Nov. 3 2002 10:30 GMT Node Backup ID Revision Date/Time (GMT) Status bpx5 test 9.3.36 10/20/02 15:31:42 Load from 172.16.156.80 complete <complete! bpx7 Clear
Here is where the node rebuilds. 2. After the node completes rebuilding, log back in and use the dspcnf command to verify that your configuration is restored. The following example shows the proper procedure for verifying that your configuration is restored: Output Screen After Login to Switch
bpx5 Node bpx5 bpx7 TN Cisco BPX 8620 9.3.36 Nov. 3 20nn 17:58 GMT Backup ID Revision Date/Time (GMT) Status test 9.3.36 10/20/02 17:43:07 Configuration restore completee Clear
Here is where the node rebuilds. 2. After the node completes rebuilding, log back in and use the dspcnf command to verify that your configuration is restored. Using the dspcnf Command to Verify a Complete Configuration Restoration
bpx5 Node bpx5 bpx7 TN Cisco Backup ID Revision test 9.3.36 test 9.3.36 BPX 8620 9.3.36 Nov. 3 2002 17:58 GMT Date/Time (GMT) Status 10/20/02 17:43:07 Configuration restore complete 10/20/02 17:43:07 Configuration restore complete
You have completed saving and restoring a configuration on a BPX/IGX from a TFTP workstation without CWM.
Related Information
How to Save and Restore Configurations on BPX/IGX WAN Switches Using the CLI without CWM Cisco WAN Switching Solutions Cisco Documentation Guide to New Names and Colors for WAN Switching Products Downloads WAN Switching Software Technical Support Cisco Systems
Contacts & Feedback | Help | Site Map 2009 2010 Cisco Systems, Inc. All rights reserved. Terms & Conditions | Privacy Statement | Cookie Policy | Trademarks of Cisco Systems, Inc.