Asante Technologies IC36240 user manual Switch# copy running-config Tftp

Page 42

The following is an example of copying the running-config for use on the switch.

Switch# copy running-config

?

 

startup-config

Copy to

startup configuration

tftp:[//A.B.C.D/filename]

Copy to

tftp: file system

Switch# 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 prompt depends 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:

Switch# 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

5.2.3 Copying Configuration Files from a Network Server to the Switch

You can copy configuration files from a TFTP server to the running configuration or startup configuration of the switch. 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 switch. For example, you may add another switch to your network and want it to have a similar configuration to the original switch. By copying the file to the new switch, you can change the relevant parts rather than re-creating the whole file.

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

The copy tftp running-configcommand loads the configuration files into the switch as if you were typing the commands in at the command line. The switch 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 is 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.

In order to restore a configuration file to an exact copy of a file stored on a server, you need to copy the configuration file directly to the startup configuration (using the copy tftp startup-configcommand) and reload the switch.

To copy a configuration file from a TFTP server to the switch, use one of the following commands in EXEC mode:

Command

Purpose

 

 

copy tftp:[[[//location]/directory]/filename] running-config

Copy a file from a TFTP server to the switch.

copy tftp:[[[//location]/directory]/filename] startup-config

 

 

 

Reply to any switch prompts for additional information or confirmation. Additional prompts depend on how much information is provided in the copy command and the current setting of the file prompt command.

42

Asante IntraCore IC36240

User’s Manual

Image 42
Contents IntraCore IC36240 Series Layer 2+ Gigabit Ethernet Switch User’s Manual IntraCore IC36240Table of Contents Password Service Password-Encryption Snmp Configuration Commands Trunk Ieee 802.1q Technical Support and Warranty Features IntroductionPackage Contents Front and Back Panel DescriptionsLEDs LEDManagement and Configuration Console InterfaceHardware Installation and Setup Installation OverviewSafety Overview Power Requirements Installing into an Equipment RackRecommended Installation Tools Environmental RequirementsInstalling the Optional External Power Supply SFP Mini Gbic PortsEquipment Rack Guidelines Connecting Power Connecting to the Network1 10/100/1000BaseT Ports Cabling Procedures Gigabit Ethernet Ports Cabling Procedures Pin Number Pair Number & Wire ColorsAsante IntraCore IC36240 Initial Software Setup Connecting to a ConsoleConnecting to a PC User Access Verification PasswordPasswords and Privileges Commands Privileges CommandsEnable Password Password Service Password-EncryptionUsername Command Login SecurityConfiguring an IP Address Password and login CommandsSetting a Default IP Gateway Address Restoring Factory DefaultsSystem Boot Parameters Switchconfig# ip default-gatewayAccess Each Command Mode Understanding the Command Line Interface CLIUser Top User Exec Mode Document ConventionsPrivileged Top Privileged Exec Mode Command Show ? PurposeGlobal Configuration Mode Command Exit End Ctrl-Z Purpose Switch# configureInterface Configuration Mode Spanning-Tree Configuration ModeAdvanced Features Supported within the Command Mode Vlan Configuration ModeSpanning-tree mst configuration Command Help Purpose Example of Context Sensitive HelpChecking Command Syntax Switch# configure ?Using Command-Line Editing Features and Shortcuts Using CLI Command HistoryUsing the No and Default Forms of Commands Keystrokes/Command PurposeMoving Around on the Command Line Completing a Partial Command NameKeystrokes Purpose Editing Command Lines That Wrap Redisplaying the Current Command Line Deleting EntriesScrolling Down a Line or a Screen Transposing Mistyped Characters Controlling CapitalizationKeystrokes Switch# clock ? Managing the System and Configuration FilesSetting the System Clock Switch# clock set 092930 28 January Switch# reload crSpecifying the Hostname Changing the PasswordTesting Connections with Ping Tests Enabling the System Log Configuring from the Terminal Managing Configuration Files Displaying the Operating Configuration Switch# show running-configCopying Configuration Files to a Network Server Newname# copy running-config startup-configSwitch# copy startup-config ? Switch# copy running-config Switch# copy running-config TftpSwitch# copy running-config tftp//192.168.0.1/my-config Access Control Configuring SnmpAuthentication Switch# copy tftp//192.168.123.59/my-confg running-configCreate or Modify Access Control for Snmp Community Security LevelsSupport Command Purpose Snmp-server community string view Establish the Contact and Location of the Snmp AgentConfiguring Spanning Tree Snmp Configuration CommandsSpanning Tree Parameters Spanning-tree mst?Port Priority Spanning Tree Port ConfigurationRapid Spanning Tree Protocol Rstp Port Path CostRapid Convergence Configuring Switch/Bridge PrioritySwitchconfig# spanning-tree priority priority Enabling Rapid Spanning TreeConfiguring Port Path Cost Configuring Link TypeConfiguring an Edge Port Configuring Port PriorityMultiple Spanning-Tree MST Configuring Vlan VlanSwitchconfig# mac-address-table aging-time MAC Address TableShow mac-address-table Configuring IP Assign IP Addresses to SwitchClass Address or Range Status Establish Address Resolution Define a Static ARP CacheIgmp Overview Configuring IgmpManaging IP Multicast Traffic Forwarding Unknown Multicast PacketsCommand Purpose Ip igmp query-max-response-time Using Access ListsSwitchconfig-if-veth1#ip igmp query-interval Host-query messagesUsing a Classification ACL Asante IntraCore IC36240 Create a Standard Access List Create a MAC Access List Create an Expanded Access ListSwitchconfig# mac access-list standard Access-list 101 deny tcp ? Access-list 101 ?Access-list 101 deny ? Access-list 101 deny tcp 192.168.123.0 0.0.0.255 ?Access-list ? Creating an Access List with a NameApplying an Access List to an Interface Access-list standard ?Configuring Common Access Lists Switchconfig# access-list 110 permit udp any any eqAccess-list 101 deny ip any any Vlan Configuration Creating or Modifying a VlanSwitch# show vlan Switchconfig-vlan#port-member delete ethDeleting a Vlan Static Access Vlan Port Membership ModesTrunk Ieee 802.1q Command Purpose Switchconfig# vlan dot1q tag native Switchconfig# endMonitoring Weighted Fair Queuing Lists Quality of Service ConfigurationConfiguring Weighted Fair Queuing Priority QueuingDefining the Priority List Configuring Traffic Shaping for an InterfaceTraffic Shaping Monitoring Priority Queuing ListsMonitoring the Traffic Shaping Configuration Configuring Rate LimitConfiguring Traffic Shaping for an Access List Generic Traffic Shaping ExampleAsante IntraCore IC36240 Configuring the Switch Using the GUI Main Configuration MenuInformation Screens Front Panel Information ScreenAssign IP Addresses to Switch General Information ScreenClass Address or Range Status Port Configuration Menu Individual Port Configuration ScreenAsante IntraCore IC36240 Press go Spanning Tree Protocol Configuration STP Port Configuration Global STP Bridge Configuration Snmp Configuration Asante IntraCore IC36240 Address Table Screen Asante IntraCore IC36240 Asante IntraCore IC36240 Vlan Configuration Asante IntraCore IC36240 Click Apply Igmp Configuration Asante IntraCore IC36240 Asante IntraCore IC36240 Web CLI Screen System Clock Menu Save Appendix a Basic Troubleshooting Problem Possible SolutionsEnvironmental Range Appendix B SpecificationsPhysical Characteristics PerformanceTechnical Support and Warranty Standards ComplianceAppendix C FCC Compliance and Warranty Statements FCC Compliance Statement Important Safety InstructionsIntraCare Warranty Statement Appendix D Online Warranty Registration Access List IndexIgmp LED Safety Priority Queuing Vlan