Home

Cisco: Block Multicast on a Specific Port

Posted by SteveHardie | On: Feb 05 2016 | Comments (0)
Quick couple of lines to disable multicast traffic on a specific interface or port. interface GigabitEthernet1/0/1 switchport block multicast storm-control multicast level 0.00 ! The first command stops outbound multicasts from getting out. The secondcommand...

Cisco: Show System Uptime

Posted by SteveHardie | On: Nov 16 2015 | Comments (0)
To view the Uptime on your Cisco device, login to the device and run the following command: hostname# Show Version You will see the following result (Or similar): On some versions of iOS you may also be able to use the: Show System Uptime command

Cisco: Configure Login using Username and Password

Posted by SteveHardie | On: Jul 06 2015 | Comments (0)
This article will outline the steps and configuration required to configure username and password for a Cisco router or switch. This will use a locally stored username and password database for authentication when connecting to the device via Telnet or Console...

tSQL: Drop Temp Table if Exists

Posted by SteveHardie | On: Feb 26 2014 | Comments (0)
This article describes how to check if a temporary table exists before you delete it. IF OBJECT_ID('tempdb..#tmpTable') IS NOT NULL DROP TABLE #tmpTable'

How To: Animate background color change with jQuery

Posted by SteveHardie | On: Aug 04 2013 | Comments (2)
This article will show briefly guide you through how to smoothly animate a background color change using jQuery. jQuery Version: 1.9.1 jQuery UI: 1.10.3 First, make sure you have linked to both jQuery and jQueryUI. Put this code in you <head> section of...

Cisco: 877W Configure Wireless and Wired on Single Subnet

Posted by SteveHardie | On: May 06 2013 | Comments (1)
This article will demonstrate how to configure a cisco router to allow the wireless and wired networks to communicate on the same vlan and subnet. IOS version: 12.4(15)T12 Router Model: Cisco 877W Router Series: Cisco 880 Series Integrated Services Routers

Cisco: Disconnect service-module session

Posted by SteveHardie | On: May 06 2013 | Comments (0)
I know this is a simple thing, but its one thats easy to forget, anf you can find yourself in a bit of a pickle. When you have entered a service-module session, for example connecting to an integrated access point, and you would like to disconnect and return back...

Powershell: Delete Folder if Exists

Posted by SteveHardie | On: Apr 27 2013 | Comments (0)
Powershell script to delete a folder or directory if it exists: $strFolderName="c:\temp\" If (Test-Path $strFolderName){ Remove-Item $strFolderName } See Also: Powershell: Check If File Exists Powershell: Delete File if Exists Test-Path Remove-Item

Powershell: Check If File Exists

Posted by SteveHardie | On: Apr 26 2013 | Comments (5)
Powershell script to check if a file exists $strFileName="c:\filename.txt" If (Test-Path $strFileName){ # // File exists }Else{ # // File does not exist } See Also: Powershell: Delete File if Exists Powershell: Delete Folder if Exists Test-Path Remove-Item

How To: MS SQL Reseed or Reset Identity Column

Posted by SteveHardie | On: Jan 20 2013 | Comments (0)
DBCC CHECKIDENT can reseed (reset) the identity value of the table. For example, YourTable has 25 rows with 25 as last identity. If we want next record to have identity as 35 we need to run following T SQL script in Query Analyzer. DBCC CHECKIDENT ([YourTableName],...