Allied Telesis at-8116 manual Snmp Trap Message Commands, Set-comm, Get-auth, Set-auth

Page 38

SNMP Commands

set-comm

set-comm {readwrite} <community-string>

This command lets you specify the SNMP community string for each of the two access modes: read and write.

SYS_console>set-comm write password

New write community is: < password >

SYS_console>

SNMP Trap Message Commands

When the Switch detects an extraordinary event, it generates a trap. A trap is a notification message that may be sent to predefined Network Manager Stations. A trap event may be a reset (cold or warm), detection of an interface link status change, an SNMP authentication failure due to an incorrect community string, etc.

The SNMP trap commands let you manage:

Whether or not the device issues an authentication trap

The list of selected SNMP Manager Stations to which the switch-generated traps will be sent by the SNMP agent. The list has a maximum capacity of five entries.

get-auth

Displays the Authentication Trap mode: enabled or disabled.

set-auth

set-auth {enabledisable}

This command allows the user to modify the Authentication Trap mode. The default value is enable, meaning that the switch will generate authentication traps. Changing the mode to disable will prevent the switch from sending authentication traps.

8-2

Image 38
Contents E R ’ S G U I D E Page Table of Contents Appendix B Administrative Interface RmonAdministrative Interface System Requirements Accessing the Snmp AgentNetwork Management Systems VT100 Terminal Settings Software RequirementsTesting the Installation Accessing the Command Line Interface RemotelyPage Command Line Interface Features of the Command Line InterfaceGet-comm read write Entering CommandsSYSconsole pin Command pin not found Get-comm read Get-comm writeSYSconsole ping 129.1.1.7 ? ping IP traffic generator SYSconsolesystem System CommandsSystem Commands 2Commands Matching get-c Command Line Interface StructureSYSconsoleget-c? Command get-c not found Commands Groups SYSconsole?SYSconsolehelp-kbd Console CommandsHelp-kbd Console Function KeysClear LoginBanner LogoutSet-attr-text Set-attr-promptSet-attr-msg Set-passwdConsole Commands System Commands Sys-statSystem Commands SYSconsoleGet-stst-level Warm-resetCold-reset Set-stst-level levelSet-sw-file Init-nvramGet-sw-file Get-tftp-srvrStart-fg Sw-dnldSet-fg-param Stop-fg Set-ip IP CommandsGet-ip Set-ipIPaddressSet-ip-cfg If no IP Config. is definedGet-ip-cfg Set-ip-cfg IPaddress netmask broadcastClear-ip-cfg Set-gatew SYSconsoleget-gatew Default gateway address isGet-gatew Set-gatew IPaddressDel-arp-entry Address Resolution CommandsGet-arp-tbl SYSconsoleget-arp-tbl IfIndex IpAddressAdd-arp-entry 194.090.136.126Ping-stop Ping CommandsPing SYSconsoleping 194.90.136.23Echo Responses Ping process press CR for prompt SYSconsole SYSconsoleping 194.90.136.20Echo Requests Echo responses Ping process press Ping-stop Stop the active ping ProcessPage Get-comm Snmp CommandsSnmp Community String Commands Get-comm readwriteGet-auth Snmp Trap Message CommandsSet-comm Set-authGet-traps Add-trapSYSconsoledel-trap Del-trapGet-rmon-state SYSconsoleget-rmon-stateSwitching Database Commands LockLearning Table Get-lt-entryGet-lt-16 SYStelnetget-lt-16Find-lt-addr SYStelnetfind-lt-addr 0060e8112265MAC Address 01-02-03-04-05-06 not in LT Del-lt-entrySYSconsolefind-lt-addr Del-lt-entry indexGet-lt-age Del-lt-addrAdd-lt-entry SYSconsoledel-lt-entrySYSconsoleset-lt-age all Set-lt-ageSet-lt-age runnvramall agingtime Page Virtual LAN Commands Type vlan to view the related commands SYSconsolevlanVirtual Broadcast Domains VBC Get-con-matrixSYSconsoleget-con-matrix ==========================Set-vbc-domain all Del-vbc-domainSet-vbc-domain Set-vbc-domain runnvramall portlist Del-vbc-domain runnvram domainidGet-vbc-matrix SYSconsoleget-vbc-matrixSvlan Groups Security VLANsSet-sec-vlan 3 4 5 6 7 8 9 0 1 Del-sec-vlanLANs 0 0 0 0 0 0 0 1 1 1 1 1 1 Del-sec-vlan runnvram lanidSYSconsoleget-svlan-tbl run Get-svlan-tblGet-svlan-tbl runnvram + + + + + + + + SYSconsoleGet-svlan-matrix Get-svlan-matrix runnvram SYSconsoleget-svlan-matrix runPage Stop-mon Port Monitoring CommandsSet-mon-port Get-nv-monSave-mon Clear-nv-monSYSconsoleget-port-cfg Port Configuration CommandsGet-port-cfg SYSconsoleset-port-dplex 2 full Set-port-dplexSet-port-dplex portnumber halffull Set-aggr-mode Set-speed-selSet-port-state SYSconsoleset-aggr-modePage Get-eth-cnt Switching Statistics CommandsClr-cnt Switching Statistics Commands Get-sdist-cnt Get-colls-cntGet-rmon-cnt SYSconsoleget-colls-cnt15637 1123754 Get-mgm-brcnt============================================= Get-stp Spanning Tree CommandsSet-stp enabledisable Set-stpGet-st-syscfg Get-st-bcfgGet-st-pcfg Set-br-prioSet-prt-pcost Set-prt-prioSet-prt-enb Page Using an Snmp Manager Configuring the AT-8116 Snmp AgentSYSconsoleset-gatew Read public New read communityPage Software Troubleshooting Page Requirements Tftp Client Download ProcedureSoftware Downloading Tftp Server Download Procedure System Defaults System Default ValuesPage Command Line Reference Table C-1 Console CommandsTable C-2 System Commands Table C-3IP Commands Table C-4SNMP CommandsTable C-5 Switching Database Commands Table C-6 Virtual LAN CommandsTable C-9Spanning Tree Commands Table C-7Port Configuration CommandsTable C-8Switching Statistics Commands