Normally the router which has the lowest IP address is responsible to establish the BGP session to remote TCP port 179. However as defined in RFC 4271 (A Border Gateway Protocol 4) - BGP Connection Collision Detection Mechanism - the session originated from the device with higher BGP rouer-id is maintained and the other session is dropped.
To enforce a router to always become the BGP Client (establish TCP session from a high number TCP port to TCP 179), configure loopback addresses in neighbour command and set update-source on the router that you wish to always become client.
Saturday, 23 February 2013
Sunday, 17 February 2013
Resource Limitation in OSPF
Limit maximum number of LSAs in the database:
R1(config-router)#max-lsa <1-4294967294>
Limit maximum number of redistributed routes:
R1(config-router)#redistribute maximum-prefix <1-4294967294>
To specify the minimum percentage of CPU process time OSPF takes before the CPU should yield to a process with a higher priority:
R1(config-router)#process-min-time percent <1-100>
http://www.cisco.com/en/US/docs/ios/iproute_ospf/command/reference/iro_osp2.html
R1(config-router)#max-lsa <1-4294967294>
Limit maximum number of redistributed routes:
R1(config-router)#redistribute maximum-prefix <1-4294967294>
To specify the minimum percentage of CPU process time OSPF takes before the CPU should yield to a process with a higher priority:
R1(config-router)#process-min-time percent <1-100>
http://www.cisco.com/en/US/docs/ios/iproute_ospf/command/reference/iro_osp2.html
Sub-second Hello Interval in OSPF
R1(config-if)#ip ospf dead-interval minimal hello-multiplier <3-20>
Saturday, 16 February 2013
OSPF Summary and Discard Route
R1(config-router)#area 0 range 100.0.0.0 255.255.192.0
R1(config-router)#no discard-route internal
Same as BGP and EIGRP, when summarising networks in OSPF, it automatically adds a route to Null0 interface. discard-route command stops OSPF from generating that route.
R1(config-router)#no discard-route internal
Same as BGP and EIGRP, when summarising networks in OSPF, it automatically adds a route to Null0 interface. discard-route command stops OSPF from generating that route.
Conditional Default Route with IP SLA in OSPF
R1(config)#ip sla 1
R1(config-ip-sla)#icmp-echo x.x.x.x
R1(config-ip-sla)#frequency y
R1(config-ip-sla)#ip sla schedule 1 life forever start-time now
R1(config)#exit
R1(config)#track 1 ip sla 1
R1(config)# ip prefix-list TRACK_DUMMY permit 1.0.0.1/32
R1(config)#route-map TRACK IPSLA
R1(config-route-map)#match ip add prefix-list TRACK_DUMMY
R1(config)#router ospf 1
R1(config-router)#default-information originate always route-map TRACK_IPSLA
OSPF Type 7 to 5 Translation
- ABR with the highest router-id does the translation (avoid unnecessary and redundant LSA generation)
- Preserves forward address
- There is no type 4 ASBR summary (as forwarding address is preserved)
- Yet the calculation of the final forwarding path stays independent
Subscribe to:
Posts (Atom)