cancel
Showing results for 
Search instead for 
Did you mean: 

B5 / C5: How to clear nodealias ?

B5 / C5: How to clear nodealias ?

M_Nees
Contributor III
Sometimes NAC reports the wrong client IP because switch ports "nodealias" contains too much entries or old entries.

On EXOS Switches i can run a "clear nodealias port X" and after a few seconds the ip is displayed correctly.

How can i do that on a B5 or C5 ?
Nodealias can there only requested by snmp.
So there is NO cli command.
But maybe a SNMP MIB to do that ?
2 REPLIES 2

Matthew_Hum
Contributor
You are able to delete specific entries in the ctAlias table. Compass used to be able to, so I think you can accomplish it with 1.3.6.1.4.1.52.4.1.3.7.1.1.2.1.3
You will need to know the right instance. You can delete it directly or you can mark it as inactive and then purge all inactive entries. It sounds like from what you want you just want to purge inactive entries from your tables.

Another thing you may want to do it disable nodealias on your uplink and downlink ports, as those can fill your table unnecessarily.

M_Nees
Contributor III
I found this MIB:

code:
iso.org.dod.internet.private.enterprises.cabletron.mibs.ctron.ctNetwork.ctAliasMib.cabletronAliasMib.ctAlias.ctAliasEntryClearAll
1.3.6.1.4.1.52.4.1.3.7.1.1.7

ctAliasEntryClearAll OBJECT-TYPE
SYNTAX Integer { true(1),
false(2) }
TEXTUAL-CONVENTION TruthValue
MAX-ACCESS Read/Write
STATUS Current
DESCRIPTION This object is used to remove all of the alias entries
from all of the tables.

When set to true(1) all known aliases will be immediately
removed from all of their respective tables.

A read will always return false(2).
::= { ctAlias 7 }

MODULE CTRON-ALIAS-MIB
FILE ctron-alias-mib.txt
PATH C:\Users\matthias\AppData\Roaming\NetSight\System\mibs


It removes all entries but better than restarting device ...
GTM-P2G8KFN