Showing posts with label telnet. Show all posts
Showing posts with label telnet. Show all posts

Thursday, January 19, 2012

Setting up SPAN for packet sniffing on a Cisco Catalyst

The documentation on this subject is extensive and like all things Cisco somewhat archaic. I'm posting this here in an attempt to simplify and as a reminder to myself the next time I need to do this. Telnet in to your switch and issue the following commands:

1) enable
2) configure terminal

3) no monitor session all
4) monitor session 1 source interface fastEthernet0/1 both
5) monitor session 1 destination interface fast/Ethernet0/10
6) end

Command 3 clears any existing SPAN sessions. You can change the port number at the end of command 4 to the port of the uplink on the switch to monitor all traffic.  Alternately you can specify a range of ports. Change the port number at the end of command 5 to the port on which you intend to set up your sniffer. In order to turn the SPAN off then rerun the first three commands. That's basically all there is to it. Now plug in a laptop to the monitor port and run dumpcap on the ethernet interface.

Friday, November 18, 2011

Enable telnet on ShoreTel SG90

I needed to telnet into our ShoreTel switch this morning. This information is not listed in the manual but I was able to piece it together from a couple of other sources. First, navigate to C:\Program Files\Shoreline Communications\ShoreWare Server\. Next issue the command:

ipbxctl.exe -telneton <switch IP address>

You should then be prompted for a password. This default password on this model switch is "ShoreTel". You should then see the message "telnet access enabled". That's all there is to it. I understand the V version of the switches require ssh, but the plain jane SG90 still uses telnet.