Category: Networking
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 exitAIX: Add Static IP Route
| May 18, 2012 | Posted by lillurob under AIX, Networking |
AIX: Add Static IP Route
# smitty tcpip
TCP/IP
Move cursor to desired item and press Enter.
Minimum Configuration & Startup
Further Configuration
Use DHCP for TCPIP Configuration & Startup
IPV6 Configuration
Quality of Service Configuration & Startup
Configure IP Security (IPv4)
Configure IP Security (IPv6)
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
Further Configuration
Move cursor to desired item and press Enter.
Hostname
Static Routes
Network Interfaces
Name Resolution
Client Network Services
Server Network Services
Manage Print Server
Select BSD style rc Configuration
Start Configured TCPIP Daemons
Stop TCPIP Daemons
Authentication Configuration
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
Static Routes
Move cursor to desired item and press Enter.
List All Routes
Add a Static Route
Remove a Static Route
Flush Routing Table
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
Add Static Route
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Destination TYPE net +
* DESTINATION Address []
(dotted decimal or symbolic name)
* Default GATEWAY Address []
(dotted decimal or symbolic name)
COST [0] #
Network MASK (hexadecimal or dotted decimal) []
Network Interface [] +
(interface to associate route with)
Enable Active Dead Gateway Detection? no +
Is this a Local (Interface) Route? no +
Policy (for Multipath Routing Only) Default (Global) +
Weight (for Weighted Multipath Routing Policy) [1] #
Apply change to DATABASE only no +
Esc+1=Help Esc+2=Refresh Esc+3=Cancel Esc+4=List
Esc+5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
inet0 changed
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F6=Command
F8=Image F9=Shell F10=Exit /=Find
n=Find Next
AIX: Add Static IP Route
# smitty tcpip
TCP/IP
Move cursor to desired item and press Enter.
Minimum Configuration & Startup
Further Configuration
Use DHCP for TCPIP Configuration & Startup
IPV6 Configuration
Quality of Service Configuration & Startup
Configure IP Security (IPv4)
Configure IP Security (IPv6)
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
Further Configuration
Move cursor to desired item and press Enter.
Hostname
Static Routes
Network Interfaces
Name Resolution
Client Network Services
Server Network Services
Manage Print Server
Select BSD style rc Configuration
Start Configured TCPIP Daemons
Stop TCPIP Daemons
Authentication Configuration
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
Static Routes
Move cursor to desired item and press Enter.
List All Routes
Add a Static Route
Remove a Static Route
Flush Routing Table
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
Add Static Route
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Destination TYPE net +
* DESTINATION Address []
(dotted decimal or symbolic name)
* Default GATEWAY Address []
(dotted decimal or symbolic name)
COST [0] #
Network MASK (hexadecimal or dotted decimal) []
Network Interface [] +
(interface to associate route with)
Enable Active Dead Gateway Detection? no +
Is this a Local (Interface) Route? no +
Policy (for Multipath Routing Only) Default (Global) +
Weight (for Weighted Multipath Routing Policy) [1] #
Apply change to DATABASE only no +
Esc+1=Help Esc+2=Refresh Esc+3=Cancel Esc+4=List
Esc+5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
inet0 changed
Esc+1=Help Esc+2=Refresh Esc+3=Cancel F6=Command
F8=Image F9=Shell F10=Exit /=Find
n=Find Next





