Allied Telesis at-8116 manual Get-ip-cfg, Set-ip-cfg IPaddress netmask broadcast

Page 28

IP Commands

Sets the IP address of the SNMP Agent. If no IP address was previously set (as is the default factory configuration), the new value will be used immediately and saved into NVRAM. Otherwise the new value will only be stored in the NVRAM, and the user must execute a “warm-reset” to effect the change.

get-ip-cfg

This shows the complete current IP configuration - address, network mask and broadcast address.

--If an address has been previously defined: SYS_console> get-ip-cfg

The device IP address, netmask and broadcast are:

IP address : 149.035.200.032

IP netmask : 255.255.255.000

IP broadcast : 149.035.200.255

--If no address is defined: SYS_console> get-ip-cfg

The device has no IP Address defined.

SYS_console>

set-ip-cfg

set-ip-cfg <IPaddress> <netmask> <broadcast>

Sets IP address, network IP address and broadcast IP address. If no IP configuration was previously set (as is the default factory configuration), the new values will be used immediately and saved into NVRAM. If a previous IP configuration was being used, the new configuration will be saved in NVRAM for the next session. In order to use the newly defined values immediately, reset the system using the “warm-reset” command.

Note

If the IP configuration is not specified, the agent will not respond to any in-band requests, including ping messages.

-- If no IP Config. is defined:

5-2

Image 28
Contents E R ’ S G U I D E Page Table of Contents Appendix B Administrative Interface RmonAdministrative Interface Network Management Systems Accessing the Snmp AgentSystem Requirements VT100 Terminal Settings Software RequirementsTesting the Installation Accessing the Command Line Interface RemotelyPage Command Line Interface Features of the Command Line InterfaceEntering Commands SYSconsole pin Command pin not foundGet-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 Commands Groups SYSconsole?Console Commands Help-kbdSYSconsolehelp-kbd Console Function KeysLogin BannerClear LogoutSet-attr-prompt Set-attr-msgSet-attr-text Set-passwdConsole Commands System Commands Sys-statSystem Commands SYSconsoleWarm-reset Cold-resetGet-stst-level Set-stst-level levelInit-nvram Get-sw-fileSet-sw-file Get-tftp-srvrSet-fg-param Sw-dnldStart-fg Stop-fg IP Commands Get-ipSet-ip Set-ipIPaddressIf no IP Config. is defined Get-ip-cfgSet-ip-cfg Set-ip-cfg IPaddress netmask broadcastClear-ip-cfg SYSconsoleget-gatew Default gateway address is Get-gatewSet-gatew Set-gatew IPaddressAddress Resolution Commands Get-arp-tblDel-arp-entry SYSconsoleget-arp-tbl IfIndex IpAddressAdd-arp-entry 194.090.136.126Ping Commands PingPing-stop SYSconsoleping 194.90.136.23Echo Requests SYSconsoleping 194.90.136.20Echo Responses Ping process press CR for prompt SYSconsole Echo responses Ping process press Ping-stop Stop the active ping ProcessPage Snmp Commands Snmp Community String CommandsGet-comm Get-comm readwriteSnmp Trap Message Commands Set-commGet-auth Set-authGet-traps Add-trapDel-trap Get-rmon-stateSYSconsoledel-trap SYSconsoleget-rmon-stateSwitching Database Commands LockLearning Table Get-lt-entryGet-lt-16 SYStelnetget-lt-16Find-lt-addr SYStelnetfind-lt-addr 0060e8112265Del-lt-entry SYSconsolefind-lt-addrMAC Address 01-02-03-04-05-06 not in LT Del-lt-entry indexDel-lt-addr Add-lt-entryGet-lt-age SYSconsoledel-lt-entrySet-lt-age runnvramall agingtime Set-lt-ageSYSconsoleset-lt-age all Page Virtual LAN Commands Type vlan to view the related commands SYSconsolevlanVirtual Broadcast Domains VBC Get-con-matrixSYSconsoleget-con-matrix ==========================Del-vbc-domain Set-vbc-domain Set-vbc-domain runnvramall portlistSet-vbc-domain all Del-vbc-domain runnvram domainidGet-vbc-matrix SYSconsoleget-vbc-matrixSet-sec-vlan Security VLANsSvlan Groups Del-sec-vlan LANs 0 0 0 0 0 0 0 1 1 1 1 1 13 4 5 6 7 8 9 0 1 Del-sec-vlan runnvram lanidGet-svlan-tbl Get-svlan-tbl runnvramSYSconsoleget-svlan-tbl run + + + + + + + + SYSconsoleGet-svlan-matrix Get-svlan-matrix runnvram SYSconsoleget-svlan-matrix runPage Port Monitoring Commands Set-mon-portStop-mon Get-nv-monSave-mon Clear-nv-monGet-port-cfg Port Configuration CommandsSYSconsoleget-port-cfg Set-port-dplex portnumber halffull Set-port-dplexSYSconsoleset-port-dplex 2 full Set-speed-sel Set-port-stateSet-aggr-mode SYSconsoleset-aggr-modePage Clr-cnt Switching Statistics CommandsGet-eth-cnt Switching Statistics Commands Get-colls-cnt Get-rmon-cntGet-sdist-cnt SYSconsoleget-colls-cnt============================================= Get-mgm-brcnt15637 1123754 Spanning Tree Commands Set-stp enabledisableGet-stp Set-stpGet-st-bcfg Get-st-pcfgGet-st-syscfg Set-br-prioSet-prt-enb Set-prt-prioSet-prt-pcost Page Using an Snmp Manager Configuring the AT-8116 Snmp AgentSYSconsoleset-gatew Read public New read communityPage Software Troubleshooting Page Software Downloading Tftp Client Download ProcedureRequirements 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-8Switching Statistics Commands Table C-7Port Configuration CommandsTable C-9Spanning Tree Commands