PowerShell to Get a Webpage

In an earlier post I wrote about getting your public IP address from the CLI or script using the ip.appspot.com webpage and CLI. Here is how you can do the same thing using PowerShell and the Net.WebClient.

$web = New-Object net.WebClient
$web.downloadstring(“http://ip.appspot.com”)


You can use this to pull down any webpage. Have fun.

DMVPN Lab

Some time ago I had to teach myself DMVPN so that I could troubleshoot and manager the current system. If I remember right, I got a lot of the information and text from somewhere. I’m just not sure where I got it from and what I wrote myself.

Preparation

Configure interfaces with “public” IP addresses.

R1
interface FastEthernet1/0
ip address 10.10.0.1 255.255.255.0
duplex auto
speed auto

interface FastEthernet1/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto Continue reading “DMVPN Lab”

Cisco VoIP Troubleshooting Examples

Some quick examples of commands to troubleshoot voice issues on Cisco voice routers. Links to some resources can be found in an earlier post:
Troubleshooting and Debugging VoIP Call Basics

show voice call status and show voice call summary

Router#sh voice call status
CallID     CID  ccVdb      Port        Slot/DSP:Ch  Called #   Codec    MLPP Dial-peers
0x21       1243 0x4A0C6EA0 0/1/0            0/1:1   1234       g711ulaw       1000/1001
0x22       1243 0x4A0BE8AC 0/0/0            0/1:2  *1234       g711ulaw       1001/1000
1 active call found

Continue reading “Cisco VoIP Troubleshooting Examples”