BGP SynchronizationSynchronization is a technique for automatically redistributing routes between the BGP and your IGPs. The main goal of BGP synchronization is to prevent routing inconsistencies. It serves to guarantee that only entries that exist in the IGP's IP routing table are included in the BGP routing tables. The BGP rule of synchronization states that if your autonomous system is passing traffic from another AS to a third AS, BGP should not advertise a route until the entire collection of local AS routers has learned about the route via an IGP routing protocol. BGP will wait until IGP has propagated the route within the AS before advertising it to external neighbor routers. For example, suppose that a BGP router advertised a route to external network 10.10.10.0 without first allowing IGP to flood this route information throughout the local AS. If another BGP router received a packet destined for network 10.10.10.0 without receiving the update, this second router would discard the packet. BGP synchronization can be disabled, but it is only safe to do so when full mesh connectivity exists between all IBGP routers within the AS. After the entries between the tables are synchronized, routes can be redistributed between the protocols without the risk of black holes. |
An Engineer by Heart !!! A Dreamer, A Pioneer, A Blogger. A Network Engineer Trying to overtake the world with his network engineering skills :) Opinions expressed here are solely my own and do not express the views or opinions of my Present or Past employer.
Wednesday, March 25, 2009
BGP Rule of Synchronization
Tuesday, March 17, 2009
Flex Links - In Switching Environment
Monday, March 16, 2009
BGP Session Establishment
Thursday, March 12, 2009
Storm Control
Tuesday, March 10, 2009
SPANNING TREE LOOP GUARD FEATURE
loops never occur in a particular topology. Even though STP guards
against such loops as best it can, they could still occur because of
things like unidirectional link failures or switch congestion issues.
Loop Guard prevents loops conservatively by preventing alternate or
root ports from becoming DPs in the topology. If BPDUs are not
received on a non-DP, and Loop Guard is enabled, that port is moved
into the STP loop-inconsistent Blocking state, instead of the Listening /
Learning / Forwarding state.
Loop Guard operates only on ports that are considered point-to-point
by the spanning tree, and it cannot be run in conjunction with Root
Guard on an interface.
To enable Loop Guard, you can use the following global configuration
mode command:
spanning-tree loopguard default
Best Regards,
Deepak Arora
Monday, March 9, 2009
Redistribution Basics
routing protocols must coexist in the first place. Multiple routing protocols
might be a necessity because of an interim period during conversion from
one to another, application-specific protocol requirements, political reasons,
or a lack of multivendor interoperability.
A major issue with redistribution is the seed metric to be used when the
routes enter the new routing protocol. Normally, the seed metric is generated
from the originating interface. For example, EIGRP would use the bandwidth
and delay of the originating interface to seed the metric. With redistributed
routes, however, these routes are not connected to the router. Some routing
protocols feature a default seed metric for redistribution, whereas others do not.
Here is a list of the defaults for the various protocols. Note that Infinity indicates
a seed metric must be configured; otherwise, the route will not be used by the
receiving protocol.
Protocol - Default Seed Metric
OSPF - 20; except BGP, which is 1
IS-IS - 0
RIP - Infinity
IGRP/EIGRP - Infinity
Best Regards,
Deepak Arora
Sunday, March 8, 2009
EtherChannel - Few Words
single link, thus achieving substantial bandwidth and redundancy benefits.
It is often advisable to use an EtherChannel for key trunks in your
campus design. Notice that EtherChannel affects STP, because ordinarily
one or more of the links would be disabled to prevent a loop.
Be aware of the following guidelines for EtherChannel:
1. All Ethernet interfaces on all modules must support EtherChannel.
2. You have a maximum of eight interfaces per EtherChannel.
3. The ports do not need to be contiguous or on the same module.
4. All ports in the EtherChannel must be set for the same speed and
duplex.
5. Enable all interfaces in the EtherChannel.
6. An EtherChannel will not form if one of the ports is a Switched
Port Analyzer (SPAN) destination.
7. For Layer 3 EtherChannels, assign a Layer 3 address to the portchannel
logical interface, not the physical interfaces.
8. Assign all EtherChannel ports to the same VLAN or ensure they
are all set to the same trunk encapsulation and trunk mode.
9. The same allowed range of VLANs must be configured on all
ports in an EtherChannel.
10. Interfaces with different STP port path costs can form an
EtherChannel.
11. After an EtherChannel has been configured, a configuration made
to the physical interfaces affects the physical interfaces only.
Layer 4 port numbers— either source, destination, or both source and
destination addresses.
Here is an example:
Router# configure terminal
Router(config)# interface range fastethernet 2/2 -8
Router(config-if)# channel-group 2 mode desirable
Router(config-if)# end
Best Regards,
Deepak Arora
Saturday, March 7, 2009
Breaking Cisco Router's Level 7 password - :-( My GOD
Thursday, March 5, 2009
SSH - Few Words
Deepak(config)#line vty 0-4
Deepak(config-line)#transport input ssh
Wednesday, March 4, 2009
Another IOS trick
So another IOS trick today...hmmm...it's not one that can safe your life on work but still good to know...specially when someone is going for CCIE Lab Exam. Once you enter the command " no service prompt config" the router prompt gets disappear.
Tuesday, March 3, 2009
Interesting VTP Scenario
Server Client Trans Client
SW1 ---- SW2 ---- SW3 ----- SW4
| |
|VLAN25 |
| |
R5 VLAN25
Switch in the transparent mode does not take part in VTP, therefore does not send out prunning messages, except messages it receives from switch in the VTP server/client mode.
Therefore, if we enable prunning on SW1, SW2, SW4, and IF SW1 & SW2 do not have any interfaces in VLAN25, the VLAN 25 will be pruned on the trunk link between SW3 and SW4, even though SW3 may have interface on VLAN25 . Due to this behavior, the reachbility of VLAN25 between SW3 & SW4 will be broken.
To prevent VLAN25 from being pruned, we need to remove it from the Prune Eligible List.
RSRack1SW4#sh int trunk | b prune
Port Vlans in spanning tree forwarding state and not pruned
Fa0/19 1-2,11,32,43,367
RSRack1SW4(config)#interface FastEthernet0/19
RSRack1SW4(config-if)# switchport trunk pruning vlan remove 25
RSRack1SW4#sh run int fa0/19
interface FastEthernet0/19
switchport trunk encapsulation dot1q
switchport trunk native vlan 11
switchport trunk pruning vlan 2-24,26-1001
switchport mode dynamic desirable end
RSRack1SW4#sh int trunk | b prune
Port Vlans in spanning tree forwarding state and not pruned
Fa0/19 1-2,11,25,32,43,367
Monday, March 2, 2009
Things that should match to build OSPF neighborship
Additionally, there are a couple of items that appear to be an issue, but are not. In particular:
- The OSPF process ID (on the router ospf command) do not have to match.
- Must use the same reference bandwidth (ip ospf reference-bandwidth command)