Asante Technologies 35516 user manual Managing Configuration Files, Configuring from the Terminal

Page 34

4.2 Managing Configuration Files

This section discusses how to download configuration files from remote servers, and store configuration files on the router at system startup.

Configuration files contain the commands the router uses to customize the function of the IC35516. The setup command facility helps you create a basic configuration file. However, you can manually change the configuration by typing commands in a configuration mode.

Startup configuration files are used during system startup to configure the software. Running configuration files contain the current configuration of the software. The two configuration files can be different. For example, you may want to change the configuration for a short period rather than permanently. In this case, you would change the running configuration using the configure terminal command, but not save the configuration using the copy running-configstartup-configcommand. To change the startup configuration, you can either save the running configuration file to the startup configuration using the copy running-configstartup-configcommand, or copy commands from a file server to the startup configuration (copy tftp startup config command) without affecting the running configuration.

4.2.1 Configuring from the Terminal

The configuration files are stored in the following places:

The running configuration is stored in RAM

The startup configuration is stored in nonvolatile random-access memory (NVRAM)

To enter the configuration mode, enter the configure terminal command at the privileged EXEC prompt. The software accepts one configuration command per line. You can enter as many configuration commands as you want.

You can add comments to a configuration file describing the commands you have entered. Precede a comment with an exclamation point (!).

Use the following commands to configure the software from the terminal.

Command

Purpose

 

 

configure terminal

Enters global configuration mode and select the

 

terminal option.

 

 

Router(config)#

The global configuration prompt. Enter the

 

necessary configuration commands.

 

 

End or press Ctrl-Z (^Z)

Exits global configuration mode.

 

 

Copy running-config startup-

Saves the configuration file to your startup

config

configuration. On most platforms, this step saves the

 

configuration to NVRAM.

In the following example, the hostname command is used to change the hostname from "Router" to "new_name". By pressing Ctrl-Z (^Z) or entering the end command, the user quits the global configuration mode. Finally, the copy running-configstartup-configcommand saves the current configuration to the startup configuration.

Router# configure terminal

Router(config)# hostname new_name

new_name(config)# end

new_name# copy running-config startup-config

When the startup configuration is in NVRAM, it stores the current configuration information in text format as configuration commands, recording only non-default settings. The memory is checksummed to guard against corrupted data.

34

Image 34
Contents IntraCore 35516 Series IntraCore 35516 Series Technical SupportTable of Contents Page Features IntroductionPackage Contents LEDsFront and Back Panel Descriptions GbicManagement and Configuration Console InterfaceSafety Overview Hardware Installation and SetupInstallation Overview Recommended Installation ToolsEnvironmental Requirements Installation into an Equipment RackPower Requirements Cooling and AirflowInstalling a Gbic Gigabit Interface ConvertersGbic Care and Handling Installing the Optional Emergency Power SupplyRemoving a Gbic System Information System up since 103443 Fri Feb 07Connecting to the Network Connecting Power1 10/100/1000BaseT Ports Cabling Procedures Gigabit Ethernet Ports Cabling Procedures SetupConnecting to a Console User Access Verification Password Specifies an Unencrypted line password will follow Setting PasswordsUnencrypted cleartext line password Specifies a Hidden line password will followSetting a Default IP Gateway Address Configuring an IP AddressRouterconfig-if-veth1# System Boot Parameters Restoring Factory DefaultsRouterconfig# boot system flash bank1bank2 Access Each Command Mode Understanding the Command Line Interface CLIUser Top User Exec Mode Command Show ? PurposeRouter enable Password Router# Privileged Top Privileged Exec ModeCommand Purpose Command Purpose Router# configure terminal Global Configuration ModeCommand Exit end Ctrl-Z Purpose Interface Configuration Mode Router Configuration Mode Route-Map Configuration ModeAdvanced Features Supported within the Command Mode Command Help PurposeRouterconfig# routed rip Invalid input detected at marker Checking Command SyntaxRouterconfig# hostname ? Word This systems network name Routerconfig# route Ambiguous command. Routerconfig#Using Command-Line Editing Features and Shortcuts Using CLI Command HistoryUsing the No and Default Forms of Commands Routerconfig# router Command incomplete. Routerconfig#Router# confTab Router# configure Moving Around on the Command LineCompleting a Partial Command Name Keystrokes PurposeDeleting Entries Editing Command Lines that WrapRouter# co? configure copy Router# co Keystrokes Purpose Press the Delete or BackspaceTransposing Mistyped Characters Redisplaying the Current Command LineScrolling Down a Line or a Screen Controlling CapitalizationPassword Passwords and Privileges CommandsEnable Password Routerconfig-line# password Asante Service Password-Encryption Changing the Password Managing the System and Configuration FilesSetting the System Clock Managing the SystemTrace Packet Routes Enable the System LogDisplaying the Operating Configuration Test Connections with Ping TestsConfiguration to Nvram Managing Configuration FilesConfiguring from the Terminal Routerconfig# hostname newname Newnameconfig# endCopying Configuration Files to a Network Server Running-config Configuring Snmp and Spanning TreeConfiguring Snmp Support Startup-configRouterconfig# duplicate-ip detect Configuring Spanning Tree Protocol STPCreate or Modify Access Control for Snmp Community Disable the Snmp ProtocolMaximum Age Forward TimeHello Time PriorityPort Priority Routerconfig# mac-address-table aging-timeMAC Address Table Port Path CostAssign IP Addresses to Network Interfaces Configuring IPConfiguring IP Addressing Class Address or Range StatusAssign Multiple IP Addresses to Network Interfaces Command PurposeCidr Prefix Class C Equivalent Host Addresses Define a Static ARP Cache Establish Address ResolutionConfiguring IP Routing SecondaryConfiguring Static Routes Route Source Default DistanceAllow Unicast Updates for RIP Configuring RIPEnable RIP Neighbor ip-addressSpecify a RIP Version Command Purpose Route-map map-tagdeny permit sequenceRedistribute Routing Information Set Administrative Distance Set Metrics for Redistributed RoutesSuppress Routing Updates through an Interface Generate a Default RouteFiltering Routing Information Manage Authentication Keys Adjust TimersEnable or Disable Split-horizon Command Purpose Offset-list access-list-name in outConfiguring IP Multicast Routing Monitor and Maintain RIPModifying the Igmp Host-Query Message Interval Configuring IgmpPurpose Ip igmp query-interval 1-65535 seconds Changing the Igmp Version CommandConfiguring the Router as a Statically Connected Member SecondsConfiguring Dvmrp Nbr-timeout 35-8000 secondsDefault value 200 seconds Default value 180 secondsCommand Purpose Route-expire-time 20-4000 seconds Report-intervalUsing Access Lists Create a Standard Access ListCreate an Expanded Access List Destination address to match. e.gOperator equal to Creating an Access List with a NameApplying an Access List to an Interface Operator greater thenConfigure ABR Type Configuring OspfEnable Ospf Command Purpose Router ospf StepConfigure Ospf Interface Parameters Configure CompatibilityConfigure Ospf Network Type Configure Ospf Not So Stubby Area Nssa Configure Ospf for Non-broadcast NetworksConfigure Area Parameters Command Purpose Neighbor ip-address priority numberCreate Virtual Links Configure Route Summarization between Ospf AreasCommand Purpose Area area-idvirtual-link router-idhello Not-advertisedRefresh Timer Configuration Control Default MetricsConfigure Route Calculation Timers Redistribute Routes into OspfCommand Purpose Distance ospf external distance1 inter-area Change the Ospf Administrative DistancesPrevent Routes from being Advertised in Routing Updates Suppress Routes on an InterfaceRouter ip-address NameVrrp Configuration Virtual Router Redundancy Protocol VrrpMonitoring and Maintaining the Network Configuring Icmp Router Discovery Protocol IrdpEnable Irdp Processing Change Irdp ParametersShow ip prefix-list prefix-list-name Command Purpose Show arp interfaceShow access-lists access-list Show ip irdpVlan Configuration Creating or Modifying a VlanRouterconfig# no vlan Routerconfig# exit Router# show vlan Routerconfig# interface veth2 vlan Routerconfig-if-veth2#Deleting a Vlan Vlan Port Membership Modes Static AccessTrunk Ieee 802.1Q 3 Dot1q Tunnel Command Purpose Routerconfig# vlan dot1q tag nativeTrunk allowed vlan add all except Mode dot1q-tunnel Appendix A. Basic Troubleshooting Problem Possible SolutionsTechnical Support and Warranty Appendix B. SpecificationsPhysical Characteristics Standards ComplianceFCC Compliance Statement Important Safety Instructions Appendix C. FCC Compliance and Warranty StatementsIntraCare Warranty Statement Page Pin Number Signal Name Appendix D. Console Port Pin OutsAppendix E. Online Warranty Registration