Intel 10/100 manual Configuring the Snmp agent for IP, Commands used, To configure the Snmp agent

Page 25

C H A P T E R 2

Configuring and Managing the Switch

NOTE

If you don’t specify an IP configuration, the agent won’t respond to any in-band requests, including ping messages and network management applications.

Configuring the SNMP agent for IP

You can monitor and control the switch through any SNMP-compliant network management system (NMS). First, you must configure the SNMP agent by assigning an IP address.

In the diagram on page 20, a laptop is used to connect to the switch’s serial port. You must connect directly to the serial port for first-time IP configuration. See page 16 for more information on connecting to the switch via the serial port.

Commands used

set-ip-conf <ip address> <netmask> <broadcast address>

ping <ip address> <number0>

To configure the SNMP agent

1Set the IP configuration. Type the command:

set-ip-conf 192.1.1.64 255.255.255.0 192.1.1.255

IP address netmask broadcast address

Replace the numbers with those for your network. If the switch doesn’t have an IP configuration (default), then the specified IP configuration is used immediately and saved in NVRAM.

192.1.1.255 is the address of the router in the diagram on page 20.

If you previously assigned an IP configuration, the command changes only the NVRAM. To use the new parameters, reset the switch using the warm-resetcommand.

2Test the installation. Type the command:

SYS_console> ping 192.1.1.1 2

This example tests connectivity from the switch to the network administrator’s workstation (IP address 192.1.1.1). The option 2 tells the switch to send two requests. Use 0 for an endless ping. For more information on the ping command, see page 46.

3Download the MIB from Intel’s Customer Support World Wide Web site (http://support.intel.com). The file is compressed in the file SWCH2MIB.EXE.

4Compile the MIB into your NMS. See your NMS documentation for more information.

You can now access the switch remotely with your NMS or through Telnet.

21

Image 25
Contents User Guide First edition Contents Chapter Troubleshooting Check the LEDs for power and links Connect the network devices to the switchNext steps Optional Press Eand log into the Console Manager Baud Data bits No parity Stop bit Xon/Xoff flow controlOverview TopologyIntel Express 10/100 Fast Ethernet Switch Installation and SetupPort status LEDs Using the SwitchXmt RcvLink Management status LEDsUTP requirements Cabling RequirementsFiber optic requirements NIC RJ-45 MDI Straight-through vs. crossover cablesDetermining which cable to use Configuring the mixed 10 Mbps workgroup environment Typical ConfigurationsConfiguration guidelines A P T E R 1 Intel Express 10/100 Fast Ethernet Switch Full duplex and flow control between Express 10/100 switches General rule for Repeater count limitationsOne repeater hop for Configuring Accessing the Console Manager remotely Accessing the Console ManagerEntering commands Using the Console ManagerMeans you can type one of the following Vlan Console Manager command groups Sample Console Manager Session Procedures using this diagramCommands used Configuring the Snmp agent for IPTo configure the Snmp agent Set the IP configuration. Type the commandTo configure a port for full duplex Configuring a port for full duplexRecommended environments To create an Svlan Creating Virtual LANs VLANsTo create a VBD Create the two SVLANs. Type the commandsMonitoring traffic To check traffic on a port Detecting bad or poor quality cable Detecting faulty adapters or hub portsDetecting congested segments Detecting speed mismatchesStatistic Definitions Configuring and Managing the Switch Reference Group to display commands relevant to that groupConsole Commands Console Command-line SummarySystem Commands IP Commands Snmp Commands Virtual LAN Vlan Commands Switching Database CommandsSpanning Tree Commands Switching Statistics Commands Port Configuration CommandsHelp-kbd Console CommandsBanner LogoutSet-passwd System CommandsSys-stat Cold-reset Warm-resetGet-stst-level Set-stst-levelSet-line-slip Init-nvramGet-sw-file Set-sw-fileGet-tftp-srvr Set-rsw-fileSet-tftp-srvr Sw-dnldIP configuration IP CommandsSet-bootp Get-bootpSet-ip Set-ip-confSet-slip Get-slip-confSet-slip-conf Get-gatewPing Ping CommandsPing-stop Stops the active ping process. You can also press cCGet-arp-tbl Address Resolution Protocol ARP CommandsAdd-arp-entry Del-arp-entrySnmp community strings Snmp CommandsGet-comm Set-commGet-auth Snmp trap message commandsSet-auth Get-trapsAdd-trap Switching Database CommandsDel-trap Removes a station from the trap tableGet-lt-entry Database control commandsFF-FF-FF-FF-FF-FF Get-lt-16Del-lt-entry Find-lt-addrDel-lt-addr Add-lt-entryGet-lt-age Custom filteringSet-lt-age Add-cf-entry Get-lt-filterDel-cf-entry Vlan CommandsGet-nv-cftbl Displays the custom filter table stored in NvramGet-vbc-matrix Get-con-matrixDel-vbc-domain Set-vbc-domainGet-vbc-tbl Set-sec-vlanDisplays the table of defined SVLANs Get-svlan-tblSet-mon-port MonitorExample Spanning Tree CommandsSet-stp Get-stpGet-st-bcfg Get-st-syscfg Get-st-pcfgDisplays the spanning tree state for all ports Set-br-maxage Set-br-prioSet-br-hellot Set-prt-prio Set-br-fwdelSet-prt-enb Set-prt-pcostUse these commands to configure and display port settings Port Configuration CommandsDisplays the current port configuration Get-port-cfgSet-port-dplex Statistics CommandsSet-speed-sel Set-port-fctrlGet-colls-cnt Get-eth-cntGet-sdist-cnt Get-rmon-cntDisplays the Rmon statistics packet size histogram for port Get-br-cnt2905033 Bytes Received Get-mgm-brcnt Troubleshooting General Problems Troubleshooting Flow Control ProblemsIntel Express 10/100 Fast Ethernet Switch System Default ConfigurationPorts Not installed see Accessories on nextConsole Manager Spanning treeFeatures SpecificationsAccessories Status Indicators per portBoot and Configuration General IndicatorsConnector Interfaces Maximum Cabling DistancesPower Cord Specifications Electrical SpecificationsElectromagnetic Emissions and Safety Agency Approval AC line frequency 47Hz-63Hz Fuse 100-120V/4A 200-240V/2ASnmp and MIB Support Limited Hardware Warranty Limited Hardware Warranty Europe only Avertissement Warnung Displaying current state, 44 enabling or disabling IndexGet-bootpcommand Get-authcommandDatabase, switching Control commandsGet-slipcommand Get-port-cfgcommand, 22Get-stpcommand Get-trapscommandMIB Set-commcommandSet-stpcommand Set-slipcommandXmt Transmit LED How to access Troubleshooting Software updates Installation notesWorld Wide Web & Internet FTP Intel BBS