Asante Technologies 35516 user manual Copying Configuration Files to a Network Server

Page 35

4.2.2 Copying Configuration Files to a Network Server

You can copy configuration files from the router to a file server using TFTP. You might wish to back up a current configuration file to a server before changing its contents, thereby allowing you to later restore the original configuration file from the server.

Important! TFTP is not a secure protocol. Your server IP address and configuration file name will not be protected over the public Internet. Use TFTP only on a trusted LAN connection.

To specify that the running or startup configuration file be stored on a TFTP network server, use the following commands in the EXEC mode (Note: Copying the startup configuration file to the current running configuration merges the two files. It is recommended that you keep a copy of the start-up configuration file before merging the two in case you want to revert back to the original startup configuration):

Router# copy startup-config ?

running-configUpdate (merge with) current system configuration tftp:[//A.B.C.D/filename] Copy to tftp: file system

OR

Router# copy running-config ?

startup-configCopy to startup configuration tftp:[//A.B.C.D/filename] Copy to tftp: file system

Router# copy running-config tftp

Enter TFTP Server IP Address [A.B.C.D]? Enter file name 'my-config' to copy?

Reply to any prompts for additional information or confirmation. The prompts will depend on how much information has been provided in the copy command and the current setting of the file prompt command.

The command can also look like this example:

Router# copy running-config tftp://192.168.0.1/my-config

Upload file ‘my-config’ to 192.168.0.1 from running-config? [y/n] y

Accessing tftp://192.168.0.1/my-config...

[OK] 487 bytes copied in time <1 sec

4.2.3 Copying Configuration Files from a Network Server to the IC35516

You can copy configuration files from a TFTP server to the running configuration or startup configuration of the router. You may want to do this for one of the following reasons:

1.To restore a previously backed up configuration file.

2.To use the same configuration file for another router. For example, you may add another router to your network and want it to have a similar configuration to the original router. By copying the file to the new router, you can change the relevant parts rather than re-creating the whole file.

3.To load the same configuration commands onto all the routers in your network so that they all have the same configurations.

The copy tftp running-configcommand loads the configuration files into the router as if you were typing the commands in at the command line. The router does not erase the existing running configuration before adding the commands unless a command in the copied configuration file replaces a command in the existing configuration file. For example, if the copied configuration file contains a different IP address in a particular command than the existing configuration, the IP address in the copied configuration will be used. However, some commands in the existing configuration may not be replaced or negated. In this case, the resulting configuration file will be a mixture of the existing configuration file and the copied configuration file, with the copied configuration file having precedence.

35

Image 35
Contents IntraCore 35516 Series Technical Support IntraCore 35516 SeriesTable of Contents Page Introduction FeaturesLEDs Package ContentsGbic Front and Back Panel DescriptionsConsole Interface Management and ConfigurationRecommended Installation Tools Hardware Installation and SetupInstallation Overview Safety OverviewCooling and Airflow Installation into an Equipment RackPower Requirements Environmental RequirementsGigabit Interface Converters Installing a GbicSystem Information System up since 103443 Fri Feb 07 Installing the Optional Emergency Power SupplyRemoving a Gbic Gbic Care and Handling1 10/100/1000BaseT Ports Cabling Procedures Connecting PowerConnecting to the Network Connecting to a Console SetupGigabit Ethernet Ports Cabling Procedures User Access Verification Password Specifies a Hidden line password will follow Setting PasswordsUnencrypted cleartext line password Specifies an Unencrypted line password will followRouterconfig-if-veth1# Configuring an IP AddressSetting a Default IP Gateway Address Routerconfig# boot system flash bank1bank2 Restoring Factory DefaultsSystem Boot Parameters Command Show ? Purpose Understanding the Command Line Interface CLIUser Top User Exec Mode Access Each Command ModeCommand Purpose Privileged Top Privileged Exec ModeRouter enable Password Router# Command Exit end Ctrl-Z Purpose Global Configuration ModeCommand Purpose Router# configure terminal Interface Configuration Mode Route-Map Configuration Mode Router Configuration ModeCommand Help Purpose Advanced Features Supported within the Command ModeRouterconfig# route Ambiguous command. Routerconfig# Checking Command SyntaxRouterconfig# hostname ? Word This systems network name Routerconfig# routed rip Invalid input detected at markerRouterconfig# router Command incomplete. Routerconfig# Using CLI Command HistoryUsing the No and Default Forms of Commands Using Command-Line Editing Features and ShortcutsKeystrokes Purpose Moving Around on the Command LineCompleting a Partial Command Name Router# confTab Router# configureKeystrokes Purpose Press the Delete or Backspace Editing Command Lines that WrapRouter# co? configure copy Router# co Deleting EntriesControlling Capitalization Redisplaying the Current Command LineScrolling Down a Line or a Screen Transposing Mistyped CharactersRouterconfig-line# password Asante Passwords and Privileges CommandsEnable Password PasswordService Password-Encryption Managing the System Managing the System and Configuration FilesSetting the System Clock Changing the PasswordTest Connections with Ping Tests Enable the System LogDisplaying the Operating Configuration Trace Packet RoutesRouterconfig# hostname newname Newnameconfig# end Managing Configuration FilesConfiguring from the Terminal Configuration to NvramCopying Configuration Files to a Network Server Startup-config Configuring Snmp and Spanning TreeConfiguring Snmp Support Running-configDisable the Snmp Protocol Configuring Spanning Tree Protocol STPCreate or Modify Access Control for Snmp Community Routerconfig# duplicate-ip detectPriority Forward TimeHello Time Maximum AgePort Path Cost Routerconfig# mac-address-table aging-timeMAC Address Table Port PriorityClass Address or Range Status Configuring IPConfiguring IP Addressing Assign IP Addresses to Network InterfacesCidr Prefix Class C Equivalent Host Addresses Command PurposeAssign Multiple IP Addresses to Network Interfaces Secondary Establish Address ResolutionConfiguring IP Routing Define a Static ARP CacheRoute Source Default Distance Configuring Static RoutesNeighbor ip-address Configuring RIPEnable RIP Allow Unicast Updates for RIPRedistribute Routing Information Command Purpose Route-map map-tagdeny permit sequenceSpecify a RIP Version Set Metrics for Redistributed Routes Set Administrative DistanceFiltering Routing Information Generate a Default RouteSuppress Routing Updates through an Interface Command Purpose Offset-list access-list-name in out Adjust TimersEnable or Disable Split-horizon Manage Authentication KeysMonitor and Maintain RIP Configuring IP Multicast RoutingPurpose Ip igmp query-interval 1-65535 seconds Configuring IgmpModifying the Igmp Host-Query Message Interval Seconds CommandConfiguring the Router as a Statically Connected Member Changing the Igmp VersionNbr-timeout 35-8000 seconds Configuring DvmrpReport-interval Default value 180 secondsCommand Purpose Route-expire-time 20-4000 seconds Default value 200 secondsCreate a Standard Access List Using Access ListsDestination address to match. e.g Create an Expanded Access ListOperator greater then Creating an Access List with a NameApplying an Access List to an Interface Operator equal toCommand Purpose Router ospf Step Configuring OspfEnable Ospf Configure ABR TypeConfigure Ospf Network Type Configure CompatibilityConfigure Ospf Interface Parameters Command Purpose Neighbor ip-address priority number Configure Ospf for Non-broadcast NetworksConfigure Area Parameters Configure Ospf Not So Stubby Area NssaNot-advertised Configure Route Summarization between Ospf AreasCommand Purpose Area area-idvirtual-link router-idhello Create Virtual LinksRedistribute Routes into Ospf Control Default MetricsConfigure Route Calculation Timers Refresh Timer ConfigurationSuppress Routes on an Interface Change the Ospf Administrative DistancesPrevent Routes from being Advertised in Routing Updates Command Purpose Distance ospf external distance1 inter-areaName Router ip-addressVirtual Router Redundancy Protocol Vrrp Vrrp ConfigurationChange Irdp Parameters Configuring Icmp Router Discovery Protocol IrdpEnable Irdp Processing Monitoring and Maintaining the NetworkShow ip irdp Command Purpose Show arp interfaceShow access-lists access-list Show ip prefix-list prefix-list-nameCreating or Modifying a Vlan Vlan ConfigurationDeleting a Vlan Routerconfig# interface veth2 vlan Routerconfig-if-veth2#Routerconfig# no vlan Routerconfig# exit Router# show vlan Trunk Ieee 802.1Q Static AccessVlan Port Membership Modes Trunk allowed vlan add all except Command Purpose Routerconfig# vlan dot1q tag native3 Dot1q Tunnel Mode dot1q-tunnel Problem Possible Solutions Appendix A. Basic TroubleshootingStandards Compliance Appendix B. SpecificationsPhysical Characteristics Technical Support and WarrantyIntraCare Warranty Statement Appendix C. FCC Compliance and Warranty StatementsFCC Compliance Statement Important Safety Instructions Page Appendix D. Console Port Pin Outs Pin Number Signal NameAppendix E. Online Warranty Registration