Category: Cisco
Cisco: Configure Port Monitoring on Cisco Switches
| July 4, 2012 | Posted by lillurob under Switch |
Port monitoring is used to copy network traffic to and from a particular port and send the copies to another port. Using port monitoring you can sniff data passing through a port which is extremely useful when troubleshooting applications and networks. This feature was introduced in switches because of the basic differences between hubs and switches. When a hub receives a packet on one port, it sends that packet to all other ports except the port it recieved the packet from. Thus if you would like to analyze the data to and from a particular host connected to the hub all you had to do is to connect a sniffer to a differant port on the hub and start receiving data. On the other hand, switches send packets directly from the source to the destination host. The sniffer, connected to a differant port on the switch, will not see this traffic. This is where port monitoring comes in handy.
scsw1-lj(config)#no monitor session 1 scsw1-lj(config)#monitor session 1 source interface Gi2/9 scsw1-lj(config)#monitor session 1 destination interface Gi3/48 scsw1-lj(config)#interface Gi3/48 scsw1-lj(config-if)#no shutdown
The commands above are pretty self explanatory. Line 1 removes monitoring session 1 if already configured. Lines 2 and 3 define the source and destination port respectively while lines 4 and 5 modify the destination port state from shutdown to no shutdown to start receiving the data.
I usually use Wireshark on the host connected to the destination port to capture the data.
Cisco: Reset CUE on UC520 to Factory Default
| June 13, 2012 | Posted by lillurob under Cisco |
service-module Integrated-Service-Engine 0/0 session to session into the CUE. (Press ENTER twice to get back the prompt)offlinerestore factory defaultexit to exitCisco: Upgrade Cisco CSS Load Balancer
| May 17, 2012 | Posted by lillurob under Cisco, Networking, Uncategorized |
Cisco: Upgrade Cisco CSS Load Balancer
Pre-requisites
- Download the latest packages for CSS: Operating System Image and CiscoView Device Manager from the Cisco website
- FTP server to transfer the downloaded packages to the load balancers. I personally use Quick ‘n Easy FTP Server Lite which is a portable FTP server application on my laptop.
Procedure
sclb1-lj# version Version: sg0820001 (08.20.0.01) Flash (Locked): 08.20.0.01 Flash (Operational): 08.20.0.01 Type: PRIMARY Licensed Cmd Set(s): Standard Feature Set CVDM Version: cvdm-css-1.0 sclb1-lj#
sclb1-lj# archive running-config startup-config Working..(\) 100% sclb1-lj#
sclb1-lj# conf t sclb1-lj(config)# ftp-record DEFAULT_FTP 192.168.1.10 test "test" sclb1-lj(config)# exit
sclb1-lj# copy ftp DEFAULT_FTP sg0820601.adi boot image Copying (/) 70,634,456 Completed successfully. sclb1-lj# conf t sclb1-lj(config)# boot sclb1-lj(config-boot)# unpack sg0820601.adi Unpacking(\) Installed successfully in c:/sg0820601 sclb1-lj(config-boot)#
sclb1-lj(config-boot)# show install sg0820001 sg0820601 sclb1-lj(config-boot)#
sclb1-lj(config-boot)# secondary boot-file sg0820001 sclb1-lj(config-boot)# secondary boot-file boot-via-disk sclb1-lj(config-boot)# primary boot-file sg0820601
sclb1-lj# restore startup-config startup-config
sclb1-lj# install-gui "cvdm-css-1.0.zip"
sclb1-lj# version Version: sg0820601 (08.20.6.01) Flash (Locked): 08.20.0.01 Flash (Operational): 08.20.6.01 Type: PRIMARY Licensed Cmd Set(s): Standard Feature Set CVDM Version: cvdm-css-1.0 sclb1-lj#
Cisco: Upgrade Cisco CSS Load Balancer
Pre-requisites
- Download the latest packages for CSS: Operating System Image and CiscoView Device Manager from the Cisco website
- FTP server to transfer the downloaded packages to the load balancers. I personally use Quick ‘n Easy FTP Server Lite which is a portable FTP server application on my laptop.
Procedure
sclb1-lj# version Version: sg0820001 (08.20.0.01) Flash (Locked): 08.20.0.01 Flash (Operational): 08.20.0.01 Type: PRIMARY Licensed Cmd Set(s): Standard Feature Set CVDM Version: cvdm-css-1.0 sclb1-lj#
sclb1-lj# archive running-config startup-config Working..(\) 100% sclb1-lj#
sclb1-lj# conf t sclb1-lj(config)# ftp-record DEFAULT_FTP 192.168.1.10 test "test" sclb1-lj(config)# exit
sclb1-lj# copy ftp DEFAULT_FTP sg0820601.adi boot image Copying (/) 70,634,456 Completed successfully. sclb1-lj# conf t sclb1-lj(config)# boot sclb1-lj(config-boot)# unpack sg0820601.adi Unpacking(\) Installed successfully in c:/sg0820601 sclb1-lj(config-boot)#
sclb1-lj(config-boot)# show install sg0820001 sg0820601 sclb1-lj(config-boot)#
sclb1-lj(config-boot)# secondary boot-file sg0820001 sclb1-lj(config-boot)# secondary boot-file boot-via-disk sclb1-lj(config-boot)# primary boot-file sg0820601
sclb1-lj# restore startup-config startup-config
sclb1-lj# install-gui "cvdm-css-1.0.zip"
sclb1-lj# version Version: sg0820601 (08.20.6.01) Flash (Locked): 08.20.0.01 Flash (Operational): 08.20.6.01 Type: PRIMARY Licensed Cmd Set(s): Standard Feature Set CVDM Version: cvdm-css-1.0 sclb1-lj#





