Windows Server 2008R2/2012 Time Sync

I published a blog post last year regarding verifying NTP settings on a Windows Server. Now, I recently needed to go a step farther and force a server to time sync with a DC. Here are the relevant commands: To find out what server is the time server on your domain, from the CMD prompt run: nltest /dsgetdc:your_domain_name /timeserv To verify the domain time server (displayed in the previous output) is reachable, run: ...

July 9, 2014 · 1 min · Daniel Kuchenski

Cisco vs HP vs Dell CLI - VLAN Configuration

This post continues my series on the differences between these three manufacturers and how they implement L2 and L3 VLANs. Scenario 1: Create a Layer 2 VLAN Cisco IOS: vlan 10 HP Procurve: vlan 10 Dell Powerconnect: vlan database vlan 10 Scenario 2: Create a Layer 3 VLAN (that’s routable) Cisco IOS: interface vlan 10 ip address 192.168.1.1 255.255.255.0 HP Procurve: vlan 10 ip address 192.168.1.1 255.255.255.0 Dell Powerconnect: interface vlan 10 ip address 192.168.1.1 255.255.255.0 routing The biggest difference between all three manufacturers is that HP does not implement a separate VLAN interface for L3 configuration. Cisco and Dell both require you to go into interface vlan mode before configuring L3 information (IP addressing). Dell also requires the routing keyword to actually route that VLAN. ...

July 3, 2014 · 1 min · Daniel Kuchenski

Cisco vs HP vs Dell CLI - Interface Configuration

After working with all three switch manufacturers in a short period of time, I figured I would do a quick post on how each chooses how to implement VLANs at the interface level. Scenario 1: Switchport needs to be part of a single native VLAN (VLAN 10) Cisco IOS: interface GigabitEthernet1/1 switchport mode access switchport access vlan 10 HP Procurve: vlan 10 untag 1 Dell Powerconnect: interface ethernet 1/g1 switchport mode access switchport access vlan 10 Scenario 2: Switchport needs to be part of a single native VLAN (VLAN 10) and multiple tagged VLANS (VLAN 20,30) Cisco IOS: interface GigabitEthernet1/1 switchport trunk encapsulation dot1q switchport mode trunk switchport trunk native vlan 10 switchport trunk allowed vlan 10,20,30 Note: Without the switchport trunk allowed vlan 10,20,30, the port will trunk all VLAN’s, so it will work. I have gotten into the habit of specifying which VLAN’s are allowed so that each port operates as designed. ...

July 1, 2014 · 2 min · Daniel Kuchenski

HP ProCurve Switch Configuration

After working with ProCurve switches for a while, I figured I would post my general configuration for others to use as a template. This configuration will be a simple setup with two VLAN’s, please replace IP addreses and VLAN ID’s with what fits your environment: hostname HP-PROCURVE-CORE time timezone -480 time daylight-time-rule Continental-US-and-Canada sntp server priority 1 128.138.140.44 timesync sntp sntp unicast qos type-of-service diff-services spanning-tree spanning-tree 1-24 bpdu-protection spanning-tree bpdu-protection-timeout 300 ip routing ip route 0.0.0.0/0 firewall_ip_address vlan 1 name DATA vlan 1 ip address 10.0.0.1/24 vlan 1 untag 1-22 vlan 10 name VOICE vlan 10 ip address 10.0.10.1/24 vlan 10 voice vlan 10 tag 1-22 vlan 10 untag 23-24 vlan 10 ip helper-address dhcp_server_ip_address password manager username hpadmin plaintext hpadminpassword

May 22, 2014 · 1 min · Daniel Kuchenski

ShoreTel Voice Mail Email - Exchange or Google Apps

Plenty of customers choose to setup voicemail “send to email” functionality, so that the ShoreTel system emails the user when they receive an voicemail. The feature isn’t extremely well documented, so I will attempt to explain how it works to assist with the troubleshooting process. ShoreTel Director receives a voicemail ShoreTel Director looks up the MX records for the domain of the user ShoreTel Director sends the voicemail notification (or WAV file) via SMTP on Port 25 \ ...

April 24, 2014 · 2 min · Daniel Kuchenski

ShoreTel Voicemail Switch Backup

If you do not do daily backups on your 50V or 90V switches, these steps will allow you to backup and restore voicemails. On the ShoreTel Director server, go to the C:\inetpub\ftproot folder and edit the security permissions, so that “\Users” have Write permissions Log into Director web interface, and navigate to Platform Hardware -> Voice Switches -> Primary and click on the VM switch At the bottom of the page are backup options, enter: IP address of the Director server Folder name (it will create the folder) Username: anonymous Password: password (any password will work here) The “Daily Backup” box does not have to be checked (unless you want to do daily backups) SSH into the 50V or 90V switch with username “root” and password “ShoreTel” Log into the service cli with: svccli Backup all VM with: backupvm (this will create the folder specified and start copying all VM) You can also restore the voicemails with the command: restorevm Once you are done, edit the security permissions of the ftproot back to the original settings if desired This should be performed when burnflashing a 50V or 90V, as a burnflash wipes the configuration (including IP information) on voicemail switches.

April 10, 2014 · 1 min · Daniel Kuchenski

ShoreTel Virtual Voice Switch VMware Tools

VMware Tools needs to be manually upgraded on the new ShoreTel Voice vSwitch or ShoreTel Virtual SA100. As these appliances are running linux, here is the article that VMware published: http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.upgrade.doc_50%2FGUID-08BB9465-D40A-4E16-9E15-8C016CC8166F.html

April 3, 2014 · 1 min · Daniel Kuchenski

Cisco 6500 "Environment Checksum in NVRAM Failed"

Had an issue where an older Cisco 6500 switch was rebooted, and the MSFC would not start correctly and gave the following errors: “environment checksum in nvram failed” and “rommon nvram area is corrupted”. When trying to log into the the module from CatOS (session 15), the console stated that “module 15 is not installed”. Tried to to manually boot the MSFC from ROMMON, using this helpful guide at cisco.com, but kept receiving the “nvram failed” error. I was convinced it was potentially a hardware issue, but we physically removed the MSFC card, plugged it back in, and the nvram message disappeared and the MSFC module booted! Good reminder that sometimes the simplest things can resolve a complex issue. ...

March 31, 2014 · 1 min · Daniel Kuchenski

Telnet Commands for ShoreTel Switches - Part 2

I’ve already posted how to enable telnet and get to the shell for ShoreTel (non-V) switches here. Here are some more advanced commands that I have found useful for troubleshooting: Show network interface information: ifShow Test LSP UDP connectivity to “192.168.1.1”, repeat 100 times: lsp_ping "192.168.1.1",100 Show connectivity to other switches/servers: lspConList Show all extensions known to switch: lspTelList Show detailed info for local extensions: lspTelList1 Show detailed info for remote extensions: lspTelList2 Restart the switch: reboot Show the routing table: ...

March 24, 2014 · 1 min · Daniel Kuchenski

DMVPN Troubleshooting Commands

Some basic IOS IPsec/DMVPN commands to aid with troubleshooting: show dmvpn detail show ip nhrp show ip nhrp multicast show crypto isakmp sa show crypto isakmp policy show crypto ipsec sa show run | s isakmp show run | s ipsec show run | s interface Tunnel debug crypto isakmp debug crypto ipsec Remember to enable terminal monitor if you are remote for the debug commands

February 25, 2014 · 1 min · Daniel Kuchenski

IP SLA, Track Lists and Route Tracking

IP SLA is a powerful tool, which I will only scratch the surface of in this post in regards to route tracking. I had a scenario where the primary default route should be removed if the internet was no longer accessible through the primary interface. This can be achieved with weighted static routing, but the primary default route will only be removed if the primary interface is physically down. The more likely scenario exists where the primary interface is physically connected and up, but the ISP is having routing/peering issues and takes down your connection to the outside world. IP SLA can be used to simply ping an IP address, and if the ping is unsuccessful, the route is removed. ...

February 24, 2014 · 3 min · Daniel Kuchenski

ShoreTel VPN Concentrator NTP Vulnerability

The ShoreTel VPN Concentrator responds to NTP requests (for remote IP phones), which makes it vulnerable to the NTP DDOS attacks that have been happening lately. To enable the WAN firewall on the ShoreTel VPN Concentrator (off by default) you must access a hidden menu. Log into your VPN concentrator, and click “Network” on the left-hand side Access the hidden firewall menu by changing the URL to page=5. Example: Change http://192.168.200.100/cgi-bin/config?page=3 to: http://192.168.200.100/cgi-bin/config?page=5 Check the box “Enable WAN Firewall” CHECK THE BOXES TO ALLOW HTTP & HTTPS ACCESS THROUGH FIREWALL This allows you to manage the concentrator via HTTP or HTTPS Press submit (All current VPN sessions will drop for ~30 seconds) The concentrator will be unresponsive for 30-60 seconds while it applies, after which you are done!

February 15, 2014 · 1 min · Daniel Kuchenski

Cisco 3560-X Password Reset

Unplug Cisco 3560-X power Hold down “Mode” button on front, and plug in power Continue to hold “Mode” for about 15 seconds, until the SYST LED turns solid green, then release Log into the switch via console, you should see the “switch:” prompt Enter the command flash_init Rename the config file with rename flash:config.text flash:config.old Enter the command boot to load IOS Enter no to abort system configuration dialog Proceed to enable mode with the en command Type rename flash:config.old flash:config.text Then copy flash:config.text system:running-config The configuration has now been loaded, go into conf t and change the user/enable password Once changed, save the new passwords with wr mem

February 14, 2014 · 1 min · Daniel Kuchenski

Cisco Show Command for ACL Interfaces

While browsing networkengineering.stackexchange.com, I came across an interesting post regarding easily finding interfaces in a config that have an ACL applied. The thread is found here, and the command is as follows (credit goes to @Santino from the thread): show ip interface | include line protocol|access list

February 12, 2014 · 1 min · Daniel Kuchenski

802.1X Wireless Authentication in a Windows Environment

Recently came across an issue where users in an 802.1x wireless environment were logging into their laptops, and the AD logon script would run before they had wireless network connectivity. This was a problem since their network drives would not map. While the users blamed the wireless network, the problem is actually resolved in AD Group Policy by specifying the order of operations for wireless authentication/user logon/domain logon. Technet has a great article on how to resolve this issue: http://technet.microsoft.com/en-us/magazine/2007.11.cableguy.aspx

February 10, 2014 · 1 min · Daniel Kuchenski