Allied Telesis at-8116 manual IP Commands, Get-ip, Set-ipIPaddress

Page 27

Chapter 5

IP Commands

This section lists the IP Configuration commands available to the command line interface. It is separated into different sections to allow simpler lookup: IP Configuration lists general configuration commands, Ping lists commands pertaining to the ping ability of the Agent, Address Resolution Protocol lists ARP-related information.

get-ip

This command shows the device’s current IP address, if any.

If the IP Config has already been defined

SYS_console>get-ip

--IP Config already defined

The device IP address is: 194.090.136.187.

If the device has no IP Address defined.

SYS_console> _

SYS_console>get-ip

--No IP Config defined SYS_console>

set-ip

set-ip<IPaddress>

5-1

Image 27
Contents E R ’ S G U I D E Page Table of Contents Appendix B Rmon Administrative InterfaceAdministrative Interface Accessing the Snmp Agent Network Management SystemsSystem Requirements Software Requirements VT100 Terminal SettingsAccessing the Command Line Interface Remotely Testing the InstallationPage Features of the Command Line Interface Command Line InterfaceGet-comm read Get-comm write Entering CommandsSYSconsole pin Command pin not found Get-comm read writeSYSconsole ping 129.1.1.7 ? ping IP traffic generator System Commands System CommandsSYSconsolesystem Command Line Interface Structure SYSconsoleget-c? Command get-c not found2Commands Matching get-c SYSconsole? Commands GroupsConsole Function Keys Console CommandsHelp-kbd SYSconsolehelp-kbdLogout LoginBanner ClearSet-passwd Set-attr-promptSet-attr-msg Set-attr-textConsole Commands Sys-stat System CommandsSYSconsole System CommandsSet-stst-level level Warm-resetCold-reset Get-stst-levelGet-tftp-srvr Init-nvramGet-sw-file Set-sw-fileSw-dnld Set-fg-paramStart-fg Stop-fg Set-ipIPaddress IP CommandsGet-ip Set-ipSet-ip-cfg IPaddress netmask broadcast If no IP Config. is definedGet-ip-cfg Set-ip-cfgClear-ip-cfg Set-gatew IPaddress SYSconsoleget-gatew Default gateway address isGet-gatew Set-gatewSYSconsoleget-arp-tbl IfIndex IpAddress Address Resolution CommandsGet-arp-tbl Del-arp-entry194.090.136.126 Add-arp-entrySYSconsoleping 194.90.136.23 Ping CommandsPing Ping-stopSYSconsoleping 194.90.136.20 Echo RequestsEcho Responses Ping process press CR for prompt SYSconsole Ping-stop Stop the active ping Process Echo responses Ping process pressPage Get-comm readwrite Snmp CommandsSnmp Community String Commands Get-commSet-auth Snmp Trap Message CommandsSet-comm Get-authAdd-trap Get-trapsSYSconsoleget-rmon-state Del-trapGet-rmon-state SYSconsoledel-trapLock Switching Database CommandsGet-lt-entry Learning TableSYStelnetget-lt-16 Get-lt-16SYStelnetfind-lt-addr 0060e8112265 Find-lt-addrDel-lt-entry index Del-lt-entrySYSconsolefind-lt-addr MAC Address 01-02-03-04-05-06 not in LTSYSconsoledel-lt-entry Del-lt-addrAdd-lt-entry Get-lt-ageSet-lt-age Set-lt-age runnvramall agingtimeSYSconsoleset-lt-age all Page Type vlan to view the related commands SYSconsolevlan Virtual LAN CommandsGet-con-matrix Virtual Broadcast Domains VBC========================== SYSconsoleget-con-matrixDel-vbc-domain runnvram domainid Del-vbc-domainSet-vbc-domain Set-vbc-domain runnvramall portlist Set-vbc-domain allSYSconsoleget-vbc-matrix Get-vbc-matrixSecurity VLANs Set-sec-vlanSvlan Groups Del-sec-vlan runnvram lanid Del-sec-vlanLANs 0 0 0 0 0 0 0 1 1 1 1 1 1 3 4 5 6 7 8 9 0 1+ + + + + + + + SYSconsole Get-svlan-tblGet-svlan-tbl runnvram SYSconsoleget-svlan-tbl runGet-svlan-matrix runnvram SYSconsoleget-svlan-matrix run Get-svlan-matrixPage Get-nv-mon Port Monitoring CommandsSet-mon-port Stop-monClear-nv-mon Save-monPort Configuration Commands Get-port-cfgSYSconsoleget-port-cfg Set-port-dplex Set-port-dplex portnumber halffullSYSconsoleset-port-dplex 2 full SYSconsoleset-aggr-mode Set-speed-selSet-port-state Set-aggr-modePage Switching Statistics Commands Clr-cntGet-eth-cnt Switching Statistics Commands SYSconsoleget-colls-cnt Get-colls-cntGet-rmon-cnt Get-sdist-cntGet-mgm-brcnt =============================================15637 1123754 Set-stp Spanning Tree CommandsSet-stp enabledisable Get-stpSet-br-prio Get-st-bcfgGet-st-pcfg Get-st-syscfgSet-prt-prio Set-prt-enbSet-prt-pcost Page Configuring the AT-8116 Snmp Agent Using an Snmp ManagerSYSconsoleset-gatew New read community Read publicPage Software Troubleshooting Page Tftp Client Download Procedure Software DownloadingRequirements 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-7Port Configuration Commands Table C-8Switching Statistics CommandsTable C-9Spanning Tree Commands