Monitor Switch Ports Up/Down Status via Mikrotik Dude – Short Notes,,,


3750
final
.
In my network, I have few Cisco switches at various departments connected via FIBER optics. Recently we were having issue of network connectivity in between various switches and devices. I already have a very good setup of Mikrotik base DUDE monitoring system, but it shows only the SWITCH availability status on the screen, I wanted to have a good visual for switch ports too.
I found few ways to accomplish this task using DUDE functions, scripts, etc, but found following method is very simple to start with . It also sends me email when any port goes Down or not in use.
Make sure your switch support SNMP , and SNMP agent is enabled at your SWITCH as well as at your DUDE to match the same. For simplicity you can use PUBLIC as a default community string in the switch. Also In this example I have used CISCO 3750 (in dual stack mode) and add only few ports just for example.
First add your switch in the map so that it can appear in the map as look like below.
As showed in the image below . . .
cisc-map.
.
.

Adding PROBE for port monitoring

Now to add PORTS monitoring, Open Dude,
Goto PROBES and click on + sign to add new probe.
Use the following data.
Name = PORT 9
Type = SNMP
SNMP Profile = Your SNMP Profile
Oid = iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOperStatus.10109
Oid Type = integer
Comapre method = ==equal
Integer Value = 1
As showed in the image below . . .
adding-probe-in-probes
Note: Change the OID number to match the port number on your switch , for example I am monitoring port number9 which value is 10109 . You can use SNMPWALK via DUDE to check the OID’s for different ports of your switch.
Now click OK to save
.
.

Adding Switch PORT separately using IP and PROBE

Its time to add PORTs in your map so they can appear separately as showed in the title image
Go back to your MAP,
Right click and ADD new device,
Type your switch IP address, and click on Next,
Now DO NOT  click on Discover , simply click on + sign
In PROBE, Select the PORT 9 probe you created earlier
and click on Apply/OK
As showed in the image below . . .
port9
Click on Finish.
.
.
Now you will see something like below . . .
port-down-status
As you can see the port number 9 is down , so the status is shown correctly.
.
.
Now you can repeat the same procedure to add as much ports you like to monitor.
Something like below image . . .
something
.
.
.

Adding LINKS to monitor port usage

You can also add LINKS to show the port usage :)
As showed in the example below . . .
add link


linkx-snmp
.
.
.
After adding ports / snmp links, and other enhancements , you can see something like below image . .
.
final.
.
.
I will add more methods to monitor the ports. For more info , please read more at following links
.
.
.
Regard’s
Syed Jahanzaib

July 1, 2013

Cisco ASA 5510 Backup to TFTP Server using ASDM

Filed under: Cisco Related — Tags: , , , — Syed Jahanzaib / Pinochio~:) @ 11:18 AM
 
 
 
 
 
 
8 Votes

☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺
This is a small howto on backup your CISCO ASA 5510 config via ASDM & TFTP running on your windows pc.
First download WINAGENTS TFTP Server application
(Its a small utility) and can be installed on any version of windows you are running. Installation is traditionally simple by clicking on Next button.
1- Install WINAGENTS TFTP SERVER
2- Start TFTP Server
3- Login to ASA using ASDM tool
4- Goto File > Save running configuration to TFTP Server
5- Type TFTP Server IP Address (where the tftp software is installed. and in Configuration File Path, Type the File name and click on SAVE CONFIGURATION.
The configuration will save in few seconds. The default path of file saved is
C:\ProgramData\WinAgents\TFTP Server 4\TFTPRoot

► As showed in the images below . . .

tftp-server-page1

tftp-server-page2
tftp-server-page3

tftp-server-page5

tftp-server-page4
☺♂
Regard’s
Raaj

December 7, 2012

Cisco 3750: Howto enable err-disabled ports

 
 
 
 
 
 
15 Votes

Personnel Reference Guide:

3750
Errdisable is a feature that automatically disables a port on a Cisco Catalyst switch and is supported on most Catalyst switches running the Cisco IOS software.
The Errdisable error disable feature was designed to inform the administrator when there is a port problem or error.  The reasons a catalyst switch can go into Errdisable mode and shutdown a port are many and include:
  • Duplex Mismatch
  • Loopback Error
  • Link Flapping (up/down)
  • Port Security Violation
  • Broadcast Storms
When a port is in error-disabled state, it is effectively shut down and no traffic is sent or received on that port. The port LED is set to the orange color and, when you issue the show interfaces command, the port status shows as Errdisabled.
To enable err-disabled ports on Cisco 3750 switch series. Follow the below . . .
First make telnet connection with the switch
telnet 10.0.0.1
(change the ip as required,)
Enter Password to continue.
To view Disabled Ports:
show interfaces status err-disabled
e.g:
NOC_SWITCH>show int status err-disabled
Port      Name               Status                    Reason               Err-disabled Vlans
Gi2/0/10                     err-disabled         link-flap
NOC_SWITCH>
To Enable Port:
enable
config t
int G2/0/10
no switchport port-security  (< You probably dont need this line, its just to disable pot security feature, I used it to perform various tests)
shut
no shut
exit
Change the interface name to match your. In above example I had two 3750-e models in stack mode. so its showing G2, you may get G1 if you have single switch.
TIP:
Link flap means that the specific port continuously goes up and down. The port is put into the errdisabled state if it flaps more than four-five times in few seconds. The common cause of link flap is a Layer 1 issue such as a bad cable, duplex mismatch.
For more detailed and brief descriptions, please visit
http://www.firewall.cx/cisco-technical-knowledgebase/cisco-switches/883-cisco-switches-errdisable-autorecovery.html
Regard’s
Raaj

Comments

Post a Comment

Popular posts from this blog

DMASOFTLAB RADIUS MANAGER BILLING SYSTEM v 4.1 Finally Released

How To Configure Nano Station M2 As Access point