Skip to main content


Showing posts with the label Cisco Journey

Cisco block telnet and SSH access

Block telnet and SSH access to the Cisco router.

The user must have the privilege to change the settings or basically the admin user account.

Block all (telnet and ssh):

  line vty 0 4
  transport input none

sh startup-config (save config and will persist after reboot or shutdown)

sh running-config (config is save but will not persist after reboot or shutdown)

To enable or unblock:

line vty 0 4
 privilege level 15
 login local
 line vty 0 4
transport input telnet ssh

Before rolling out to production be sure to test it out or else you will leave a vulnerability in your network.

Cheers..till next time!

================================ Free Android Apps:
Click on links below to find out more:
Linux Android App cheat sheet:
Multiplication Table for early learners
Catholic Rosary Guide  for Android:

PowerShell Get IP Address and Subnet mask

Get IP Address, MAC Address and Subnet mask.

It also displays the CIDR (Classless InterDomain Routing) notation.

Here's the script:

$nic_configuration = gwmi -computer .  -class "win32_networkadapterconfiguration" | Where-Object {$_.defaultIPGateway -ne $null}
$IP = $nic_configuration.ipaddress
write-output " IP Address : $IP"

$MAC_Address = $nic_configuration.MACAddress
write-output " MAC Address :  $MAC_Address"

$SubnetMask = $nic_configuration.ipsubnet

switch ($SubnetMask) {   {" Subnet mask is: or /32 "}   {" Subnet mask is:  or   /31 "}   {" Subnet mask is: or   /30 "}   {" Subnet mask is: or  /29 "}   {" Subnet mask is:   or   /28"}   {" Subnet mask is:   or   /27&q…

Wireless or Wi-Fi not working

Wireless connection or Wi-Fi connection gives easy convenience for moving Laptop computers inside the house or even in the office without losing internet connection.

If there are two or more Laptop computers and one of them is not able to connect to the internet or wireless connection, then for this kind of scenario the wireless router is working properly. Since other Laptop computers is able to connect to the Internet or Wi-Fi connection.

But if all of the wireless devices or laptop computers are not able to connect to the internet then it can be roll out that the router itself is having issues.

Troubleshooting wireless router is beyond the scope of this topic.

How to check or troubleshoot wireless connection issues?

Windows has a built-in wizard that will help to troubleshoot or check wireless issues.

A basic step to troubleshoot Wi-Fi or wireless connection if not working is to check:

- check if the wireless driver is installed properly or check whether the wireless device is disa…

Check for open ports in Windows

How to check which ports are open?
How to check the ports that a particular application is using?
Questions that will pop up when things go wrong, when an application does not work as expected.
When replication does not work, or access denied error occurs.
Or when an error occurs that states, a particular port is in use. Like, Port 80 is in use.

Of course the error, just gives an idea that a port is in use by another application or program but does not explicitly tells that which specific application or program is using the port.

This is where troubleshooting is necessary. An example below is given.

One scenario that I can think of is when setting up Active Directory replication; whether in the real world, or in a test lab environment.
Or even simply a port forwarding scenario on web hosting, CCTV installation or other setup,  if it doesn’t work would require troubleshooting or to check whether ports are open, ports are listening or not.
Netstat command in Windows is a good start to …

IPV4 Address - Subnetting Tutorial

IPV4 Address

IPV4 Address is 32bit.
IPV4 has public and private IP Address.
Public IP Addresses is routable over the internet.
Private IP Addresses as it names implies is private,  which is basically for private use and is not routable over the internet. Use by private companies or private individuals.
Logically, private IP just goes with the saying. What happens in LA stays in LA. Likewise a private IP Address if it use at home then that IP Address stays at home. It won’t even go out to the neighbor, unless you have a Wifi and the neighbor crack your Wifi or wireless password, then that’s an exemption.

Private IP Address Classes and Range
Class A – Class B – Class C –

IPV4 is 32 bit or four octets, each octet  is separated by dot or period.

Example of an IPV4 Address, if you count the number of x it’s  32 x’es.
xxx xxxx . xxxx xxxx . xxxx xxxx . xxxx xxx
Since IPV4 is  32 bit, so it is compose of  32 bi…