Allied Telesis at-8116 manual Del-lt-addr, Add-lt-entry, Get-lt-age, SYSconsoledel-lt-entry

Page 46

Switching Database Commands

SYS_console>del-lt-entry 25

Deleting entry at index - 25 - OK

SYS_console>del-lt-entry 1

Cannot delete a System Address

del-lt-addr

Deletes the learn table entry that matches the MAC address.

The command fails if mac_address is not found in the learn table. Again, as in the previous command, caution should be employed when deleting system entries : (+) in MGMT column.

del-lt-addr <mac_address>

SYS_console>del-lt-addr 00-11-22-33-44-55

MAC Address - 00-11-22-33-44-55 - not in LT

SYS_console>

add-lt-entry

Add a learn entry to the Switching Database. The commands parameters are described at the beginning of this chapter.

add-lt-entry <mac_address> <dport>

Note

DPORT is a decimal number representing the ID of the port.

get-lt-age

The running aging time is: 300 seconds.

Displays the Switching Database Aging Time in seconds. The Aging Time is the time-out period for aging out dynamically learned forwarding information entries. An entry whose MAC address does not appear in the source field of an incoming packet for a period equal to the Aging Time is discarded.

get-lt-age

9-6

Image 46
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 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 System Commands System CommandsSYSconsolesystem SYSconsoleget-c? Command get-c not found Command Line Interface Structure2Commands Matching get-c 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-srvrSet-fg-param Sw-dnldStart-fg 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 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 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-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 ==========================Set-vbc-domain all Del-vbc-domainSet-vbc-domain Set-vbc-domain runnvramall portlist Del-vbc-domain runnvram domainidGet-vbc-matrix SYSconsoleget-vbc-matrixSet-sec-vlan Security VLANsSvlan Groups 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-monGet-port-cfg Port Configuration CommandsSYSconsoleget-port-cfg Set-port-dplex portnumber halffull Set-port-dplexSYSconsoleset-port-dplex 2 full Set-aggr-mode Set-speed-selSet-port-state SYSconsoleset-aggr-modePage Clr-cnt Switching Statistics CommandsGet-eth-cnt Switching Statistics Commands Get-sdist-cnt Get-colls-cntGet-rmon-cnt SYSconsoleget-colls-cnt============================================= Get-mgm-brcnt15637 1123754 Get-stp Spanning Tree CommandsSet-stp enabledisable Set-stpGet-st-syscfg Get-st-bcfgGet-st-pcfg 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