Sunday, April 11, 2010

IP Helper (Helps to Router for broadcast message sending)

DHCP is a broad cast protocol.

Router by dfault stops the broadcast. => u need to connect the DHCP server to L2 interface / on the same subnet.

hmmmm, this is avoided by IP Helper address.

it takes broadcast n turns it to unicast.

http://www.networkstraining.com/images/ip-helper-address-explained.jpg

Configuration on Router A
RouterA# conf tRouterA(config)# interface fastethernet0/0RouterA(config-if)# ip address 192.168.1.1 255.255.255.0RouterA(config-if)# ip helper-address 10.10.10.1
Some other important considerations for ip helper-address
By default, the ip helper-address command forwards also some other broadcast protocols in addition to the DHCP (BOOTP) protocol. It forwards by default the following eight UDP broadcast protocols:
UDP 37 (Time protocol)
UDP 49 (TACACS)
UDP 53 (DNS)
UDP 67 (DHCP Server)
UDP 68 (DHCP Client)
UDP 69 (TFTP)
UDP 137 (NetBios)
UDP 138 (NetBios Datagram service)
If you want to add more broadcast protocols to be forwarded, or even remove some of the default forwarded protocols, you can use the “ip forward-protocol” command under global config mode.
Example: Remove the NetBios protocols (137,138) from being forwarded by default, and add NTP protocol 123 to be forwarded by ip helper-address.
RouterA(config)# no ip forward-protocol udp 137RouterA(config)# no ip forward-protocol udp 138RouterA(config)# ip forward-protocol udp 123
var addthis_language = 'en';var addthis_options = 'email, favorites, digg, delicious, myspace, google, facebook, reddit, live, more';

More details: http://www.networkstraining.com/forwarding-a-dhcp-request-using-cisco-ip-helper-address-command/

Sunday, August 16, 2009

DCD...DSR....!....DTR......?.....RTS......@...CTS....!

In ethernet : Ethernet0 is down, Line Protocol is down => interface problem

In Serial link: Serial0 is down, Line Protocol is down

=> When on a Serial interface something else might be the problem. Serial interfaces operate in pairs and there usually is a CSU/DSU operating between them along the media. So you need to investigate the signals at the bottom of a show interface

DCD = Data Carrier Detect
DSR = Data Set Ready
DTR = Data Terminal Ready
RTS = Request to Send
CTS = Clear to Send
------------------
When you connect two routers via a crossover cable one router will be the DTE (Data Terminal Equipment) and the other router will be the DCE ( Data Circuit-Terminating Equipment). You need to configure the clocking on the DCE. This is accomplished by entering this command router#(config-if)clockrate.

-----------
When the routers are connected via a WAN link both routers are the DTE. With CSU/DSU's acting as the DCE providing the clocking.

The DTE is responsible for DTR and RTS. The DCE is responsible for DCD, DSR and CTS.

i.e. DTE=> DTR, RTS
DCE=>DCD, DSR and CTS
===========
Scenarios:
DCE router.
Serial0 is down, Line Protocol is down
DCD=up DSR=up DTR=down RTS=down CTS=up
This indicates that the DTE router is down or a media problem.

DTE router connected via a WAN link.
Serial0 is down, Line Protocol is down
DCD=down DSR=down DTR=up RTS=up CTS=down
This indicates a problem with the media or the CSU/DSU.

Two routers connected via crossover cable.
Serial0 is down, Line Protocol is down
DCD=down DSR=down DTR=up RTS=up CTS=down
This indicates that the DCE router is down or a media problem.
============
Serial0 is up, Line Protocol is down
This shows that Serial0 is receiving physical layer clocking. But you may have a problem with the media or there is an encapsulation mismatch.

Serial0 is up, Line Protocol is up
This shows that Serial0 is receiving physical layer clocking and that the router is getting hello/keepalives from the remote end.
================

Saturday, August 8, 2009

Router Boot Sequence

Router Boot Sequence1) The router performs the POST.2) The bootstrap searches for and loads the Cisco IOS software.3) The IOS software looks in NVRAM for a valid configuration file.4) If there is a valid configuration file in NVRAM, then this file will be loaded and executed.
POST: When first powered up, a router will carry out a power-on self-test (POST). Recall that the POST is used to check whether the CPU and router interfaces are capable of functioning correctly.

Boot Strap:After a successful POST, the router will execute the Bootstrap program from ROM. The bootstrap is used to search Flash memory for a valid Cisco IOS image.

IOS:Once the IOS image is loaded, it will search for a valid startup configuration in NVRAM. If a valid startup configuration file cannot be found, the router will load the System Configuration Dialog, or what is sometimes called setup mode. This mode allows you to perform the initial configuration of the router.

Check Configuration Register value (NVRAM) which can be modified using the config-register command 0 = ROM Monitor mode1 = ROM IOS2 - 15 = startup-config in NVRAM
Boot System Commands
Router(config)# boot system flash IOS filename – boot from FLASH memoryRouter(config)# boot system tftp IOS filename tftp server ip address – boot from a TFTP serverRouter(config)# boot system rom – boot from system ROM
Configuration Register Command
Router(config)# config-register 0×10x (where that last x is 0-F in hex)
When the last x is:0 = boot into ROM Monitor mode1 = boot the ROM IOS2 – 15 = look in startup config file in NVRAM

==========

http://images.google.co.in/imgres?imgurl=http://codesarang.org/img/bootsq.jpg&imgrefurl=http://codesarang.org/bbs/view.php%3Fid%3Dgadget%26page%3D1%26sn1%3D%26divpage%3D1%26sn%3Doff%26ss%3Don%26sc%3Don%26select_arrange%3Dhit%26desc%3Dasc%26no%3D6&usg=__7FuA0wwOSYHN3aFWziuz0bdkEjM=&h=415&w=628&sz=32&hl=en&start=6&um=1&tbnid=VJulnQYIff2L8M:&tbnh=91&tbnw=137&prev=/images%3Fq%3Drouter%2Bboot%2Bsequence%26gbv%3D2%26ndsp%3D18%26hl%3Den%26sa%3DN%26um%3D1

When you turn the router on, it runs through the following boot process.
The Power-On Self Test (POST) checks the router's hardware. When the POST completes successfully, the System OK LED indicator comes on.
The router checks the configuration register to identify where to load the IOS image from. A setting of 0x2102 means that the router will use information in the startup-config file to locate the IOS image. If the startup-config file is missing or does not specify a location, it will check the following locations for the IOS image:
Flash (the default location)
TFTP server
ROM (used if no other source is found)
The router loads the configuration file into RAM (which configures the router). The router can load a configuration file from:
NVRAM (startup-configuration file)
TFTP server
If a configuration file is not found, the router starts in setup mode.

Sunday, August 2, 2009

Backplane of Switch / Stack Backplane of a Switch

All module or ports connect on backplane of switch.

http://www.cspi.com/multicomputer/products/2000_SERIES/images/StarGate_2923.jpg

http://www.cisco.com/univercd/illus/2/41/22041.gif

backplane capacity between ports or modules comminication on switch

You have Passive Backplane and Active Backplane. Passive: Where you don't have Controller (Management) on the board . Example: 8200 series. Active: Where you have Controller and management of the switch on board. Example: 5400 series.

connect to switch port or module backplane on switch each port 100 or 1000 mbps connect switch backplane but provision asic switch different way connect backplane each module two line connect backplane for example 5400 switch have active backplane switch fabric chip on backplane board each module two 14.4 Gpbs link connect backplane namely one module 28.8 Gbps connect back plane 8212 switch have passive backplane switch fabric chip on switch fabric module each module connect two 14,4 Gbps line to fabric module back board not keep fabric chip backplane calculator we have 100 Mbps 24 port 1000Mbps 2 port swtich for example 2626 100 Mbps x2(full duplex)200Mbps one port x 24 port = 4800 Mbps** 1000Mbps x2(full duplex)2000Mbps one port x 2 port = 4000 Mbps 4000Mbps+4800 Mbps =8800 Mbps =8,8 Gbps real backplane requirement please look back plane capacity 2626 switch www.procurve.com but chasis type switch different back plane capacity because each module seperate like switch

Back plane utilization guide: http://www.cisco.com/en/US/tech/tk389/tk816/technologies_tech_note09186a0080094a96.shtml

check 1 model:

http://cisco.com/en/US/prod/collateral/switches/ps5718/ps5528/product_data_sheet09186a00801f3d7d.html

Stackable Switches

The common characteristic of a stack acting as a single switch is that there is a single IP address for remote administration of the stack as a whole, not an IP address for the administration of each unit in the stack. Features associated with stackable switches can include:
Single IP Address for multiple units. Multiple switches can share one IP Address for administrative purposes, thus conserving IP Addresses.
Single management view from multiple interfaces. Stack-level views and commands can be provided from a single Command Line Interface (CLI) and/or embedded Web interface. The SNMP view into the stack can be unified.
Stacking Resiliency. Multiple switches can have ways to bypass a “down” switch in a stack, thus allowing the remaining units to function as a stack even with a failed or removed unit.
Layer 3 redundancy. Some stackable architectures allow for continued Layer 3 routing if there is a “down” switch in a stack. If routing is centralized in one unit in the stack, and that unit fails, then there must be a recovery mechanism to move routing to a backup unit in the stack.
Mix and match of technology. Some stackable architectures allow for mixing switches of different technologies or from different product families, yet still achieve unified management. For example, some stacking allows for the mixing 10/100 and Gigabit switches in a stack.
Dedicated stacking bandwidth. Some switches come with built-in ports dedicated for stacking, which can preserve other ports for data network connections and can avoid the possible expense of an additional module to add stacking. Proprietary data handling or cables can be used to achieve higher bandwidths than standard Gigabit or 10-Gigabit connections.
There is not universal agreement as to the threshold for being a stackable versus being a standalone switch. Some companies call their switches stackable if they support a Single IP Address for multiple units even if they lack other features from this list. Some industry analysts have said a product is not a stackable if it lacks one of the above features (e.g., dedicated bandwidth).
Terminology
Here are other terms associated with stackable switches:
Stacking Backplane: Used to describe the connections between stacked units, and the bandwidth of that connection. Most typically, switches that have primarily Fast Ethernet ports would have at minimum Gigabit connections for its stacking backplane; likewise, switches that primarily have Gigabit Ethernet ports would have at minimum 10-Gigabit connections.
Clustering. The term sometimes used for a stacking approach that focuses on unified management with a single IP address for multiple stackable units. Units can be distributed and of multiple types.
Stack Master or Commander: In some stack architectures, one unit is designated the main unit of the stack. All management is routed through that single master unit. Some call this the master or commander unit. Other units in the stack are referred to as slave or member units.
Which switches:?
===========>
Cisco offers their StackWise feature on the Cisco Catalyst 3750 series switches, and StackWise Plus on Catalyst 3750-E series.
What StackWise basically does is build one big switch by intelligently joining several individual switches together (with a maximum of nice switches total). The switches are united into a single logical unit using special stack interconnect cables that create a bidirectional closed-loop path. The bidirectional path acts as a switch fabric for all the connected switches, where network topology and routing information is updated continuously through the stack. All stack members have full access to the stack interconnect bandwidth (32 Gb).
The stack is managed as a single unit by a master switch, which is elected from one of the stack member switches. Any stack member switch can become master, and election is done my one of these methods:
User priority-The network manager can select a switch to be master.
Hardware and software priority-This will default to the unit with the most extensive feature set.
Default configuration-If a switch has preexisting configuration information, it will take precedence over switches that have not been configured.
Uptime-The switch that has been running the longest is selected.
MAC address-Each switch reports its MAC address to all its neighbors for comparison. The switch with the lowest MAC address is selected.
When one master switch becomes inactive and while a new master is elected, the stack continues to function.
To build StackWise connections you need (at least two) of either of these cables:
CAB-STACK-50CM= (0.5-meter cable)
CAB-STACK-1M= (1-meter cable)
CAB-STACK-3M= (3-meter cable)
The reason you need at least two cables (or more precisely: X + 1, where X is the number of switches in the stack) is that the stacking cables must form a ring, as the connections are bidirectional, and without the ring a failure of one of the cables would break the stack with all manner of nasty things happening to your network. In a correct configuration a stack cable failure will halve the capacity but the stack continues functioning, while after the failed cable starts functioning again full capacity is automatically restored.
The main differences between StackWise (supported on 3750 and 3750-E series) and StackWise plus (only supported on 3750-E series) are:
StackWise plus performs destination stripping, where StackWise only supports source stripping. What this means is that with source stripping a unicast packet that is sent on the stack ring goes around the whole ring and is removed (i.e.: stripped) by the sender of the packet (i.e.: the source switch). With destination stripping the target switch of the packet removes it from the ring, freeing up bandwidth on the ring sooner.
StackWise Plus supports local switching, where StackWise doesn’t, forcing all packets on the stack ring. On a StackWise Plus stack any traffic destined for a node connected to the same member switch stays within that member switch, and doesn’t use the stack ring at all.
StackWise Plus will support up to 2 line rate 10 Gb Ethernet ports per switch.
You can build a stack consisting of a mix of 3750 and 3750-E switches, in that case only StackWise features are available with the exception of the local switching, the 3750-E’s will still do that.
All in all the StackWise feature is quite nice. Just as with RAID arrays you can build a resilient and easy to manage system by using relatively inexpensive devices. Management is almost as easy as managing a single switch, and most of the features that make StackWise worthwhile and in some respects even great are automatic and do their thing quietly and without fuss. Good stuff.
=======
To do this we require: GigaStack GBIC

Check out:http://www.cisco.com/en/US/products/hw/switches/ps628/products_data_sheet09186a00800a1789.html

http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=16639&p_created=1213295950

Troubleshooting stackable switches:

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/troubleshooting/switch_stacks.html

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_tech_note09186a00807ccc79.shtml

Finally some basics:
------------
http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps5023/prod_white_paper09186a00801b096a.html
http://newsroom.cisco.com/dlls/fspnisapi81e5.html