Switch – Trace device Mac Address to Port number

October 23, 2019

Sometimes it can be a pain to trace back which device is connected to which port on the Switch ?

image

Especially when you have multiple VLANs it is critical that you use the correct port configuration to make everything work.

So we will you an IP Scanner combined with some Telnet session access to the switch to find what we need.

SOLUTION :

First you scan your network using any kind of IP Scanner that lists the IP / MAC Address combination.

image

Next you can have to make a Telnet session to the Switch to list all Mac Addresses

I use the famous PuTTY to connect the switch using Telnet

Use these commands to list the Mac Addresses for a HP & CISCO Switch

HP Aruba :
--------------
Show mac-address
Show mac-address VLAN 1

MAC ->  Port
dis mac-address 4851b7-64c5b2

PORT -> MAC
dis mac-address interface 29

Cisco :
---------
show mac address-table

MAC ->  Port
show mac-address-table address 0016.35ae.8380

PORT -> MAC
show mac address-table interface f0/13

image

image

TIP : If you want to EXPORT the list for documentation purposes.

Turn on the LOGGING setting as Printable Output

image

Now that you have the link between the MAC address and the PORT # you can easily find back the device

If you want to trace back the device by MANUFACTURER NAME you can use the ADVANCED IP SCANNER

image

https://www.advanced-ip-scanner.com/ 

image

Enjoy !

Advertisements

Google – Webmaster Tools for WordPress Configuration

February 22, 2015

Getting some statistics out of your blog is interesting to see how you are doing.

If you are using WordPress there are some native statistics available.

image

But the “Referrers” and the Search Engine details are limited to non existing

image

So there are some extra Tools you can add on.

Go the the WP Dashboard and go to the TOOLS section.

In there you see : “Website Verification Services“

You can add the “Google Webmaster Tools” for more detailed search statistics.

To get it running you need a verification code. Go to Google Webmaster Tools Fill in your URL.

Select Alternative Method – select HTML Tag and copy the Meta Tag.

image

Go back to WordPress Tools and past it in the Google Webmaster Tools section.

image

Next enjoy all the visitor and Google search statistics.

image

As a bonus you some some extra feature to tune the Google Search

image

Enjoy!


WordPress – How to use Syntax Highlighting

January 3, 2013

Using the WLW (Windows Life Writer) as an editor makes life easy posting in WordPress or any other familiar blog site. How to do it is a different story. After experimenting this is only way I could get it to run easily. First look for the PreCode Add-in for WLW image Once installed you just click the add-in and past the code in there like this. Starting with the [ sourcecode Language=”ScriptLanguage”] tag. The <pre></pre> tags are automatically added by the PreCode Add-in if you have the format set like this. image image

&amp;amp;amp;lt;br&amp;amp;amp;gt;cls&amp;amp;amp;lt;br&amp;amp;amp;gt;Import-Module activedirectory&amp;amp;amp;lt;br&amp;amp;amp;gt;Get-ADObject –SearchBase “CN=Deleted Objects,DC=domain,DC=local” `&amp;amp;amp;lt;br&amp;amp;amp;gt;–ldapFilter “(objectClass=*)” -includeDeletedObjects | `&amp;amp;amp;lt;br&amp;amp;amp;gt;Format-List Name,ObjectClass,ObjectGuid,Sid&amp;amp;amp;lt;br&amp;amp;amp;gt;

Use Shift-F11 and F11 to toggle between the EDIT and PREVIEW mode in WLW Source : Syntax-highlighting-in-wordpress If you don’t find ther proper preprosessor for you language you can always use a custom box like this < pre style=”overflow:auto;width:100%;background-color:#e3e3e3;padding:10px 0 10px 10px;”> Test Code < /pre> Or for AU3 you can use this nice Online service : http://hilite.me/ Use this CSS code border-width:.1em .1em .1em .8em;padding:.2em .6em; And no Page Numbers Or using http://highlight.hohli.com/ for AU3