Allied Telesis at-8116 manual SYSconsoleset-gatew

Page 74

Using an SNMP Manager

 

IP Setup

1. Modify the system IP configuration to match your IP network. Use

 

the set-ip-cfg command in order to provide an IP address, a

 

netmask and a broadcast address (see IP Commands). For

 

example:

 

set-ip-cfg 129.001.001.064 255 255.255.255.0

 

129.001.001.000

 

Check that the actual IP configuration matches the desired one:

 

SYS_console>get-ip-cfg

 

The device IP address, netmask and broadcast are:

 

IP address: 129.001.001.064

 

IP netmask:255.255.255.000

 

IP broadcast: 129.001.001.000

 

2. Set the default gateway address using the set-gatew command.

 

This should be a station that can route IP packets to non-local IP

 

networks. For example:

 

SYS_console>set-gatew 129.1.1.1

 

3. Confirm that the default gateway IP address was properly

 

accepted:

 

SYS_console>get-gatew

 

Device default gateway address is :

 

129.001.001.001

15-2

Image 74
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