Allied Telesis at-8116 manual Snmp Commands, Snmp Community String Commands, Get-comm

Page 37

Chapter 8

SNMP Commands

This chapter contains a description of the commands available under the CLI to set and display the SNMP Agent IP and SNMP parameters and databases. Type <SNMP> to view SNMP related commands.

SNMP Community String Commands

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

read - mode gives read access to all the objects in the MIB, but does not allow write access

write - mode gives read and write access to all objects in the

MIB

get-comm

get-comm {readwrite*}

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

SYS_console>get-comm *

Current read community is: < public >

Current write community is: < private >

8-1

Image 37
Contents E R ’ S G U I D E Page Table of Contents Appendix B Rmon Administrative InterfaceAdministrative Interface Network Management Systems Accessing the Snmp AgentSystem Requirements Software Requirements VT100 Terminal SettingsAccessing the Command Line Interface Remotely Testing the InstallationPage Features of the Command Line Interface Command Line InterfaceSYSconsole pin Command pin not found Entering CommandsGet-comm read write Get-comm read Get-comm writeSYSconsole ping 129.1.1.7 ? ping IP traffic generator System Commands System CommandsSYSconsolesystem SYSconsoleget-c? Command get-c not found Command Line Interface Structure2Commands Matching get-c SYSconsole? Commands GroupsHelp-kbd Console CommandsSYSconsolehelp-kbd Console Function KeysBanner LoginClear LogoutSet-attr-msg Set-attr-promptSet-attr-text Set-passwdConsole Commands Sys-stat System CommandsSYSconsole System CommandsCold-reset Warm-resetGet-stst-level Set-stst-level levelGet-sw-file Init-nvramSet-sw-file Get-tftp-srvrSet-fg-param Sw-dnldStart-fg Stop-fg Get-ip IP CommandsSet-ip Set-ipIPaddressGet-ip-cfg If no IP Config. is definedSet-ip-cfg Set-ip-cfg IPaddress netmask broadcastClear-ip-cfg Get-gatew SYSconsoleget-gatew Default gateway address isSet-gatew Set-gatew IPaddressGet-arp-tbl Address Resolution CommandsDel-arp-entry SYSconsoleget-arp-tbl IfIndex IpAddress194.090.136.126 Add-arp-entryPing Ping CommandsPing-stop SYSconsoleping 194.90.136.23Echo Requests SYSconsoleping 194.90.136.20Echo Responses Ping process press CR for prompt SYSconsole Ping-stop Stop the active ping Process Echo responses Ping process pressPage Snmp Community String Commands Snmp CommandsGet-comm Get-comm readwriteSet-comm Snmp Trap Message CommandsGet-auth Set-authAdd-trap Get-trapsGet-rmon-state Del-trapSYSconsoledel-trap SYSconsoleget-rmon-stateLock Switching Database CommandsGet-lt-entry Learning TableSYStelnetget-lt-16 Get-lt-16SYStelnetfind-lt-addr 0060e8112265 Find-lt-addrSYSconsolefind-lt-addr Del-lt-entryMAC Address 01-02-03-04-05-06 not in LT Del-lt-entry indexAdd-lt-entry Del-lt-addrGet-lt-age SYSconsoledel-lt-entrySet-lt-age runnvramall agingtime Set-lt-ageSYSconsoleset-lt-age all Page Type vlan to view the related commands SYSconsolevlan Virtual LAN CommandsGet-con-matrix Virtual Broadcast Domains VBC========================== SYSconsoleget-con-matrixSet-vbc-domain Set-vbc-domain runnvramall portlist Del-vbc-domainSet-vbc-domain all Del-vbc-domain runnvram domainidSYSconsoleget-vbc-matrix Get-vbc-matrixSet-sec-vlan Security VLANsSvlan Groups LANs 0 0 0 0 0 0 0 1 1 1 1 1 1 Del-sec-vlan3 4 5 6 7 8 9 0 1 Del-sec-vlan runnvram lanidGet-svlan-tbl runnvram Get-svlan-tblSYSconsoleget-svlan-tbl run + + + + + + + + SYSconsoleGet-svlan-matrix runnvram SYSconsoleget-svlan-matrix run Get-svlan-matrixPage Set-mon-port Port Monitoring CommandsStop-mon Get-nv-monClear-nv-mon Save-monGet-port-cfg Port Configuration CommandsSYSconsoleget-port-cfg Set-port-dplex portnumber halffull Set-port-dplexSYSconsoleset-port-dplex 2 full Set-port-state Set-speed-selSet-aggr-mode SYSconsoleset-aggr-modePage Clr-cnt Switching Statistics CommandsGet-eth-cnt Switching Statistics Commands Get-rmon-cnt Get-colls-cntGet-sdist-cnt SYSconsoleget-colls-cnt============================================= Get-mgm-brcnt15637 1123754 Set-stp enabledisable Spanning Tree CommandsGet-stp Set-stpGet-st-pcfg Get-st-bcfgGet-st-syscfg Set-br-prioSet-prt-enb Set-prt-prioSet-prt-pcost Page Configuring the AT-8116 Snmp Agent Using an Snmp ManagerSYSconsoleset-gatew New read community Read publicPage Software Troubleshooting Page Software Downloading Tftp Client Download ProcedureRequirements Tftp Server Download Procedure System Default Values System DefaultsPage Table C-1 Console Commands Command Line ReferenceTable C-2 System Commands Table C-4SNMP Commands Table C-3IP CommandsTable C-6 Virtual LAN Commands Table C-5 Switching Database CommandsTable C-8Switching Statistics Commands Table C-7Port Configuration CommandsTable C-9Spanning Tree Commands