Intel 10/100 manual Snmp Commands, Snmp community strings, Get-comm, Set-comm

Page 51

C H A P T E R 3

Intel Express 10/100 Fast Ethernet Switch

SNMP Commands

Use these commands to configure the SNMP agent itself — access and trap configuration.

SNMP community strings

SNMP community strings authenticate access to the Management Information Base (MIB). Community strings function as “passwords” embedded in every SNMP packet. The community string must match a community strings configured in the switch before the message can be processed. There are two community strings, one for the two types of access:

read mode permits read access to all the objects in the MIB, but doesn’t allow write access.

write mode permits read and write access to all objects in the MIB.

get-comm

get-comm {readwrite*}

Displays the SNMP community string for a given access mode (read or write). If the access mode is specified as *, both read and write community strings are displayed.

SYS_console> get-comm *

Current read community is: < public >

Current write community is: < private >

set-comm

set-comm {readwrite} <community-string>

Specifies the SNMP community string for either of the two access modes (read and write).

SYS_console> set-comm write password

New write community is: < password >

48

Image 51
Contents User Guide First edition Contents Chapter Troubleshooting Connect the network devices to the switch Check the LEDs for power and linksNext 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 SetupRcv Using the SwitchPort status LEDs XmtLink Management status LEDsCabling Requirements UTP 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 Repeater count limitations General rule forOne repeater hop for Configuring Accessing the Console Manager remotely Accessing the Console ManagerUsing the Console Manager Entering commandsMeans you can type one of the following Vlan Console Manager command groups Sample Console Manager Session Procedures using this diagramSet the IP configuration. Type the command Configuring the Snmp agent for IPCommands used To configure the Snmp agentConfiguring a port for full duplex To configure 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 speed mismatches Detecting faulty adapters or hub portsDetecting bad or poor quality cable Detecting congested segmentsStatistic Definitions Configuring and Managing the Switch Reference Group to display commands relevant to that groupConsole Command-line Summary Console CommandsSystem Commands IP Commands Snmp Commands Virtual LAN Vlan Commands Switching Database CommandsSpanning Tree Commands Switching Statistics Commands Port Configuration CommandsLogout Console CommandsHelp-kbd BannerSystem Commands Set-passwdSys-stat Set-stst-level Warm-resetCold-reset Get-stst-levelSet-sw-file Init-nvramSet-line-slip Get-sw-fileSw-dnld Set-rsw-fileGet-tftp-srvr Set-tftp-srvrIP configuration IP CommandsSet-ip-conf Get-bootpSet-bootp Set-ipGet-gatew Get-slip-confSet-slip Set-slip-confStops the active ping process. You can also press cC Ping CommandsPing Ping-stopDel-arp-entry Address Resolution Protocol ARP CommandsGet-arp-tbl Add-arp-entrySet-comm Snmp CommandsSnmp community strings Get-commGet-traps Snmp trap message commandsGet-auth Set-authRemoves a station from the trap table Switching Database CommandsAdd-trap Del-trapGet-lt-entry Database control commandsFF-FF-FF-FF-FF-FF Get-lt-16Add-lt-entry Find-lt-addrDel-lt-entry Del-lt-addrCustom filtering Get-lt-ageSet-lt-age Add-cf-entry Get-lt-filterDisplays the custom filter table stored in Nvram Vlan CommandsDel-cf-entry Get-nv-cftblGet-vbc-matrix Get-con-matrixSet-sec-vlan Set-vbc-domainDel-vbc-domain Get-vbc-tblMonitor Get-svlan-tblDisplays the table of defined SVLANs Set-mon-portExample Spanning Tree CommandsGet-stp Set-stpGet-st-bcfg Get-st-pcfg Get-st-syscfgDisplays the spanning tree state for all ports Set-br-prio Set-br-maxageSet-br-hellot Set-prt-pcost Set-br-fwdelSet-prt-prio Set-prt-enbGet-port-cfg Port Configuration CommandsUse these commands to configure and display port settings Displays the current port configurationSet-port-fctrl Statistics CommandsSet-port-dplex Set-speed-selGet-colls-cnt Get-eth-cntGet-br-cnt Get-rmon-cntGet-sdist-cnt Displays the Rmon statistics packet size histogram for port2905033 Bytes Received Get-mgm-brcnt Troubleshooting General Problems Troubleshooting Flow Control ProblemsIntel Express 10/100 Fast Ethernet Switch System Default ConfigurationSpanning tree Not installed see Accessories on nextPorts Console ManagerStatus Indicators per port SpecificationsFeatures AccessoriesMaximum Cabling Distances General IndicatorsBoot and Configuration Connector InterfacesAC line frequency 47Hz-63Hz Fuse 100-120V/4A 200-240V/2A Electrical SpecificationsPower Cord Specifications Electromagnetic Emissions and Safety Agency ApprovalSnmp and MIB Support Limited Hardware Warranty Limited Hardware Warranty Europe only Avertissement Warnung Displaying current state, 44 enabling or disabling IndexControl commands Get-authcommandGet-bootpcommand Database, switchingGet-trapscommand Get-port-cfgcommand, 22Get-slipcommand Get-stpcommandMIB Set-commcommandSet-slipcommand Set-stpcommandXmt Transmit LED Troubleshooting Software updates Installation notes How to accessWorld Wide Web & Internet FTP Intel BBS