Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to clear MAC Address Table by NMS

Hi

I'm looking for a SNMP set command that clear the MAC Address table on a Switch Cisco 4503.

3 REPLIES
Hall of Fame Super Silver

Re: How to clear MAC Address Table by NMS

Here's a link to a document describing to to "get" mac addresses. I don't think you can clear them with SNMP as they are marked read only in the MIB browser. (reference)

I'm pretty sure you can't clear the table in one fell swoop either as it is two levels up in the MIB and noted as "not accessible" in the MIB browser. (reference)

Instead of snmp, you could create a shell script or EEM action to accomplish the same result. the command syntax for the action is here.

Hope this helps.

Re: How to clear MAC Address Table by NMS

It "clears" all by itself if everybody on the network stops talking for 5 minutes.  :-)

Cheers,

Michel

New Member

Re: How to clear MAC Address Table by NMS

Ok thanks Marvin.

Also as Michel said the table is cleared after expiring of the the aging time (5 min default). But I need to clear an interface after a specific event happens without waiting for the aging time. This because after this specific event, the link in which the interface is connected to is blocked by third-party redundancy protocol.

For some compatibility problem the interface connected with the blocked link keep all MAC-address table for 5 minutes (default aging-time) with the result of blocking all communication to that MAC.

Actually I need to move all MAC-address table from that interface to another interface in another device.

618
Views
0
Helpful
3
Replies
CreatePlease login to create content