Posts

Showing posts from January, 2012

RSPAN - Remote Switched Port Analyzer on Cisco switches

Image
Remote Switched Port Analyzes is very similar to SPAN . Differences is we use SPAN when we need to sniff something which is connected to the same switch  : X Follow @ipexptobe

Clear SSH session

Last time I kick off all of my available SSH session. The problem was quite large because I set up session in line vty 0 4 as : exec-timeout 0 0. Remember, don't do that:) Sometimes when I drill new equipment I set up exec-timout like this because I do configuration for two or three days and It's anoying when ssh is kicking me off all the time. So I change config and problem beguins when I forget to change it. I had to connect via console cable. MPLS# sh ssh Connection Version Mode Encryption  Hmac         State                 Username 1          2.0     IN      aes256-cbc  hmac-sha1    Session started       user 1          2.0     OUT  aes2...

Cisco password recovery

I need to write this down because everytime I forget what need to be done. Step by step on cisco web : Cisco Password Recovery 1. Go to ROMMON - press break on the terminal keybord within 60 sec of power up 2. Type confreg 0x2142 3. Type reset 4. Skip the initial setup procedure 5. Save startup-config to running-config copy startup-config running-config or configure memory Don't save your running-config to startup-config !!! 6. Change your password in standard way 7. Type coonfig-register 0x2102 8. Save your configuration and reset your device. My case is little bit different. I need to recover password on Cisco 3560X which is little different than  standard way. I will not describe every single step because I found great document : Catalyst Switch Password Recovery   Follow Network freak for more networking notes, diagrams and troubleshooting tips.

BGP CLUSTER_LIST Attribute: Route Reflector Loop Prevention

BGP CLUSTER_LIST is a small but important route-reflector attribute. This note preserves the original explanation and adds a clearer operational frame for troubleshooting iBGP route reflection. X Follow @ipexptobe

BGP Attribute - ORIGINATOR_ID

ORIGINATOR_ID is a optional nontransitive attribute . Used by Route Reflectors to prevent loops. The ORIGINATOR_ID is a 32 bit value created by RR, is a router ID of the originator of the route in the local AS.  If originator sees his router ID in ORIGINATOR_ID knows that a loop has occured, then the update is ignored. Follow Network freak for more networking notes, diagrams and troubleshooting tips.

BGP Attribute - AS_PATH

Image
AS_PATH is a well-known mandatory attribute that describes all the AS it has passed through. BGP router adds its AS number to the AS_PATH only when Update is sent to a neighbor in another AS. AS_PATH number is changed only when route is being advertised between EBGP peers. The AS_PATH is displayed as a series of autonomous system (AS) numbers with the originator's AS number at the end of the path.