Asante Technologies 35516 user manual Configuring Snmp and Spanning Tree, Configuring Snmp Support

Page 36

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 router.

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

Command

Purpose

 

 

copy tftp[[[//location]/directory]/filename]

Copy a file from a TFTP server to the router.

running-config

 

or

 

copy tftp[[[//location]/directory]/filename]

 

startup-config

 

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

In the following example, the software is configured from the file my-config at IP address 192.168.123.59:

Router# copy tftp://192.168.123.59/my-confg running-config

Download file ‘my-config’ from 192.168.123.59 to running-config? [y/n] y

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

[OK] 487 bytes copied in time <1 sec

Updating running-config...

To clear the saved configuration, use the following command from privileged mode:

Router# erase startup-config

4.3 Configuring SNMP and Spanning Tree

This section discusses the following tasks needed to configure Simple Network Management Protocol (SNMP) and Spanning Tree Protocol (STP).

4.3.1 Configuring SNMP Support

The Simple Network Management Protocol (SNMP) system consists of three parts: an SNMP manager, an SNMP agent, and a Management Information Base (MIB). SNMP is an application-layer protocol that allows SNMP manager and agent stations to communicate. SNMP provides a message format for sending information between an SNMP manager and an SNMP agent. The agent and MIB reside on the router. In configuring SNMP on the router, the relationship between the manager and the agent must be defined.

The SNMP agent gathers data from the MIB, which holds the information about device parameters and network data. The agent also responds to the manager’s requests to get or set data. An agent can also send unsolicited traps to the manager. Traps are messages alerting the SNMP manager to a specific event on the network. Such events include improper user authentication, restarts, link status (up or down), closing of a TCP connection, or loss of connection to a neighboring router. An SNMP manager can request a value from an agent, or store or change a value in that agent.

To configure support for SNMP on the router, perform the following tasks:

Create or Modify Access Control for SNMP Community

Establish the Contact and Location of SNMP Agent

Define SNMP Trap Operations

Disable the SNMP Agent

36

Image 36
Contents IntraCore 35516 Series IntraCore 35516 Series Technical SupportTable of Contents Page Features IntroductionPackage Contents LEDsFront and Back Panel Descriptions GbicManagement and Configuration Console InterfaceHardware Installation and Setup Installation OverviewSafety Overview Recommended Installation ToolsInstallation into an Equipment Rack Power RequirementsEnvironmental Requirements Cooling and AirflowInstalling a Gbic Gigabit Interface ConvertersInstalling the Optional Emergency Power Supply Removing a GbicGbic Care and Handling System Information System up since 103443 Fri Feb 07Connecting Power Connecting to the Network1 10/100/1000BaseT Ports Cabling Procedures Setup Gigabit Ethernet Ports Cabling ProceduresConnecting to a Console User Access Verification Password Setting Passwords Unencrypted cleartext line passwordSpecifies an Unencrypted line password will follow Specifies a Hidden line password will followConfiguring an IP Address Setting a Default IP Gateway AddressRouterconfig-if-veth1# Restoring Factory Defaults System Boot ParametersRouterconfig# boot system flash bank1bank2 Understanding the Command Line Interface CLI User Top User Exec ModeAccess Each Command Mode Command Show ? PurposePrivileged Top Privileged Exec Mode Router enable Password Router#Command Purpose Global Configuration Mode Command Purpose Router# configure terminalCommand Exit end Ctrl-Z Purpose Interface Configuration Mode Router Configuration Mode Route-Map Configuration ModeAdvanced Features Supported within the Command Mode Command Help PurposeChecking Command Syntax Routerconfig# hostname ? Word This systems network nameRouterconfig# routed rip Invalid input detected at marker Routerconfig# route Ambiguous command. Routerconfig#Using CLI Command History Using the No and Default Forms of CommandsUsing Command-Line Editing Features and Shortcuts Routerconfig# router Command incomplete. Routerconfig#Moving Around on the Command Line Completing a Partial Command NameRouter# confTab Router# configure Keystrokes PurposeEditing Command Lines that Wrap Router# co? configure copy Router# coDeleting Entries Keystrokes Purpose Press the Delete or BackspaceRedisplaying the Current Command Line Scrolling Down a Line or a ScreenTransposing Mistyped Characters Controlling CapitalizationPasswords and Privileges Commands Enable PasswordPassword Routerconfig-line# password AsanteService Password-Encryption Managing the System and Configuration Files Setting the System ClockChanging the Password Managing the SystemEnable the System Log Displaying the Operating ConfigurationTrace Packet Routes Test Connections with Ping TestsManaging Configuration Files Configuring from the TerminalConfiguration to Nvram Routerconfig# hostname newname Newnameconfig# endCopying Configuration Files to a Network Server Configuring Snmp and Spanning Tree Configuring Snmp SupportRunning-config Startup-configConfiguring Spanning Tree Protocol STP Create or Modify Access Control for Snmp CommunityRouterconfig# duplicate-ip detect Disable the Snmp ProtocolForward Time Hello TimeMaximum Age PriorityRouterconfig# mac-address-table aging-time MAC Address TablePort Priority Port Path CostConfiguring IP Configuring IP AddressingAssign IP Addresses to Network Interfaces Class Address or Range StatusCommand Purpose Assign Multiple IP Addresses to Network InterfacesCidr Prefix Class C Equivalent Host Addresses Establish Address Resolution Configuring IP RoutingDefine a Static ARP Cache SecondaryConfiguring Static Routes Route Source Default DistanceConfiguring RIP Enable RIPAllow Unicast Updates for RIP Neighbor ip-addressCommand Purpose Route-map map-tagdeny permit sequence Specify a RIP VersionRedistribute Routing Information Set Administrative Distance Set Metrics for Redistributed RoutesGenerate a Default Route Suppress Routing Updates through an InterfaceFiltering Routing Information Adjust Timers Enable or Disable Split-horizonManage Authentication Keys Command Purpose Offset-list access-list-name in outConfiguring IP Multicast Routing Monitor and Maintain RIPConfiguring Igmp Modifying the Igmp Host-Query Message IntervalPurpose Ip igmp query-interval 1-65535 seconds Command Configuring the Router as a Statically Connected MemberChanging the Igmp Version SecondsConfiguring Dvmrp Nbr-timeout 35-8000 secondsDefault value 180 seconds Command Purpose Route-expire-time 20-4000 secondsDefault value 200 seconds Report-intervalUsing Access Lists Create a Standard Access ListCreate an Expanded Access List Destination address to match. e.gCreating an Access List with a Name Applying an Access List to an InterfaceOperator equal to Operator greater thenConfiguring Ospf Enable OspfConfigure ABR Type Command Purpose Router ospf StepConfigure Compatibility Configure Ospf Interface ParametersConfigure Ospf Network Type Configure Ospf for Non-broadcast Networks Configure Area ParametersConfigure Ospf Not So Stubby Area Nssa Command Purpose Neighbor ip-address priority numberConfigure Route Summarization between Ospf Areas Command Purpose Area area-idvirtual-link router-idhelloCreate Virtual Links Not-advertisedControl Default Metrics Configure Route Calculation TimersRefresh Timer Configuration Redistribute Routes into OspfChange the Ospf Administrative Distances Prevent Routes from being Advertised in Routing UpdatesCommand Purpose Distance ospf external distance1 inter-area Suppress Routes on an InterfaceRouter ip-address NameVrrp Configuration Virtual Router Redundancy Protocol VrrpConfiguring Icmp Router Discovery Protocol Irdp Enable Irdp ProcessingMonitoring and Maintaining the Network Change Irdp ParametersCommand Purpose Show arp interface Show access-lists access-listShow ip prefix-list prefix-list-name Show ip irdpVlan Configuration Creating or Modifying a VlanRouterconfig# interface veth2 vlan Routerconfig-if-veth2# Routerconfig# no vlan Routerconfig# exit Router# show vlanDeleting a Vlan Static Access Vlan Port Membership ModesTrunk Ieee 802.1Q Command Purpose Routerconfig# vlan dot1q tag native 3 Dot1q TunnelTrunk allowed vlan add all except Mode dot1q-tunnel Appendix A. Basic Troubleshooting Problem Possible SolutionsAppendix B. Specifications Physical CharacteristicsTechnical Support and Warranty Standards ComplianceAppendix C. FCC Compliance and Warranty Statements FCC Compliance Statement Important Safety InstructionsIntraCare Warranty Statement Page Pin Number Signal Name Appendix D. Console Port Pin OutsAppendix E. Online Warranty Registration