Showing posts with label cisco. Show all posts
Showing posts with label cisco. Show all posts

Friday, May 30, 2008

An OSPF Issue

Cisco introduced an non-RFC-defined OSPF feature called "OSPF throttle timer". You can use CLI to define the SLA generation delay and SPF calculation delay.

The problem is that if there's an OSPF adjacency flapping shorter than 500ms (which is also the default value of OSPF SLA generation delay timer) or the SLA generation delay you configured, NO SLA will be generated therefore no SPF recalculation will be scheduled. On the other hand, the OSPF routes were removed from routing table due to next-hop unreachable. As a result, the OSPF routes were not injected back to the routing table after the flapping.

There are two known workarounds. One is to increase the carrier delay to ignore the brief link interruption. The trade-off will be some packet loss. The other one is to reduce the SLA throttle timer, this will allow the router to generate SLA as soon as there's a topology change and bypass the issue. The trade-off will be increased router CPU load, especially in a large-scale SP network.

The descriptions bove are shown in below picture. Click to zoom.


Tuesday, August 21, 2007

Some Tips from John Morgridge

1) Don’t try to do it all by 35
2) Enjoy each job – each stage of life
3) Listen but don’t always be looking – opportunity is random
4) Wait 24 hours
5) Don’t put negatives in writing
6) Learn to forgive – others and yourself – don’t carry baggage
7) Invest in friendships & a good marriage
8) It’s OK to just be a member – to start
9) The art of small check giving
10) Set annual mental and physical challenges
11) Ask questions – be curious
12) Its often more important to do the right thing – than do the thing right
13) Make sure what you want to be is what you want to do

Friday, May 25, 2007

Cisco routers caused major outage in Japan

看来NTT测试和设计很不到位阿,哈哈。
Cisco routers caused major outage in Japan
Between 2,000 and 4,000 Cisco routers went down for about 7 hours in the NTTEast network after a switchover to backup routes triggered the routers to rewrite routing tables, according to a bulletin from CIBC World Markets. Theoutage disconnected millions of broadband Internet users across most of eastern Japan.The routing table rewrite overflowed the routing tables and caused the router's forwarding process to fail, the CIBC report states.
Millions disconnected by ntt broadband outage

Friday, November 25, 2005

bandwidth point?

http://www.cisco.com/univercd/cc/td/doc/product/core/7206/port_adp/config/3875in.htm
Cisco一直声称在7206上加各种板卡需要计算bandwidth point,在使用NPE 400的情况下,每个PCI bus最多只支持600 points,如果oversubscribe的话,PA-2FE, PA-POS-2OC3, I/O-2FE等2 port的板卡就会有一个port无法正常使用,因此大家在配置72的时候也一直会遵从这个规则。但是最近发现公司的两台7206VXR在oversubscribe的情况下仍然可以正常使用I/O-2FE的两个port,难道Cisco晃点大家?


下面是具体信息,每台72上left bus都配了一块I/O-2FE (400 bandwidth points required),一块SA-VAM(300 bandwidth points required),total points left bus: 700。

PCI bus mb0_mb1 (Slots 0, 1, 3 and 5) has a capacity of 600 bandwidth points.Current configuration on bus mb0_mb1 has a total of 700 bandwidth points.The set of PA-2FE, PA-POS-2OC3, and I/O-2FE qualify for "halfbandwidth points" consideration, when full bandwidth point countingresults in oversubscription, under the condition that only one of thetwo ports is used. With this adjustment, current configuration on busmb0_mb1 has a total of 500 bandwidth points.This configuration is within the PCI bus capacity and is supportedunder the above condition.
Slot 0: Dual FastEthernet (RJ-45) I/O Card Port adapter, 2 ports Port adapter is analyzed Port adapter insertion time 51w0d ago EEPROM contents at hardware discovery: Hardware Revision : 1.2 Top Assy. Part Number : 800-07114-04 Part Number : 73-5003-04 Board Revision : B0 PCB Serial Number : 24661850 RMA History : 00 Fab Version : 02 Fab Part Number : 28-3455-02 Product (FRU) Number : C7200-I/O-2FE/E Board Revision : IDPROM FIELD FORMAT ERROR, index 0x40 EEPROM format version 4 EEPROM contents (hex): 0x00: 04 FF 40 02 15 41 01 02 C0 46 03 20 00 1B CA 04 0x10: 82 49 13 8B 04 42 42 30 C1 8B 32 34 36 36 31 38 0x20: 35 30 00 00 00 04 00 02 02 85 1C 0D 7F 02 CB 8F 0x30: 43 37 32 30 30 2D 49 2F 4F 2D 32 46 45 2F 45 42 0x40: 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF 0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Slot 1: VAM Encryption/Compression engine. Port adapter Port adapter is analyzed Port adapter insertion time 51w0d ago EEPROM contents at hardware discovery: Hardware Revision : 1.0 PCB Serial Number : 30040935 Part Number : 73-5953-05 Board Revision : A0 RMA Test History : 00 RMA Number : 0-0-0-0 RMA History : 00 Deviation Number : 0-0 Product (FRU) Number : SA-VAM Top Assy. Part Number : 800-10496-05 CLEI Code : CN9ISV0AAA EEPROM format version 4 EEPROM contents (hex): 0x00: 04 FF 40 02 8A 41 01 00 C1 8B 33 30 30 34 30 39 0x10: 33 35 00 00 00 82 49 17 41 05 42 41 30 03 00 81 0x20: 00 00 00 00 04 00 80 00 00 00 00 CB 94 53 41 2D 0x30: 56 41 4D 20 20 20 20 20 20 20 20 20 20 20 20 20 0x40: 20 C0 46 03 20 00 29 00 05 C6 8A 43 4E 39 49 53 0x50: 56 30 41 41 41 FF FF FF FF FF FF FF FF FF FF FF 0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Interface Status ProtocolFa0/0 up up Fa0/0.510 up up Fa0/0.511 up up Fa0/0.512 up up Fa0/1 up up Fa0/1.530 up up Fa0/1.531 up up Fa0/1.532 up up

Wednesday, May 19, 2004

Cisco's IOS Source Code (ipv6_discovery_test.c)

/*------------------------------------------------------------------
* ipv6_discovery_test.c -- Neighbor Discovery unit tests.
*
* August 2003, Ole Troan
*
* Copyright (c) 2003-2004 by cisco Systems, Inc.
* All rights reserved.
*------------------------------------------------------------------
*/
#include "interface.h"
#include "interface_private.h"
#include "../ipv6.h"
#include "../ipv6_discovery.h"
#include "sys_registry.h"
#include "subsys.h"
#include COMP_INC(cutest, cu_test.h)

idbtype lidb;
hwidbtype hwidb;
ipv6_idbtype ipv6_sb;
in6_addr_t target;

/*
* setup_subsys_init
*/
extern list_header subsyslist[SUBSYS_CLASS_MAX];
static void
setup_subsys_init (subsys_class category, char *name)
{
list_element *element;
subsystype *subsys;

FOR_ALL_DATA_IN_LIST(&subsyslist[category], element, subsys) {
if (!strcmp(name, subsys->namestring)) {
if (subsys->entry) {
(*subsys->entry)(subsys);
break;
}
}
}
}


static void
setup (void) {
setup_subsys_init(SUBSYS_CLASS_PROTOCOL, "ipv6_nd");
reg_add_printf((long)'P', ipv6_printf, "ipv6_printf");

/*
* Create an IDB and Enable IPv6 on it
*/
lidb.hwptr = &hwidb;
hwidb.firstsw = &lidb;
hwidb.status = IDB_ETHER;
lidb.ipv6_data = &ipv6_sb;

target.s6_addr32[0] = 0x2001000;
target.s6_addr32[3] = 0x0000001;
}


/*
* nd_test_create
*/
CU_TEST_START (nd_test_create, tc)
{
ipv6_nd_entry *e;

printf("\nAdding %P to ND cache", &target);

e = ipv6_nd_table_create(&target, &lidb);
cu_ok(tc, (e != NULL), "%s", "create ND entry");
cu_ok(tc, (e->idb == &lidb) &&
IN6_ARE_ADDR_EQUAL(&e->address, &target), "%s",
"verify ND entry");
}
CU_TEST_END


/*
* nd_test_lookup
*/
CU_TEST_START (nd_test_lookup, tc)
{
ipv6_nd_entry *e;

e = ipv6_nd_table_lookup(&target, &lidb);
cu_ok(tc, (e != NULL), "%s", "ND lookup");
}
CU_TEST_END


/*
* nd_test_delete
*/
CU_TEST_START (nd_test_delete, tc)
{
ipv6_nd_entry *e;

ipv6_nd_table_delete(&target, &lidb);
e = ipv6_nd_table_lookup(&target, &lidb);
cu_ok(tc, (e == NULL), "ND delete");
}
CU_TEST_END


/*
* nd_test_suite
*/
cu_suite_t *
nd_test_suite (void)
{
cu_suite_t *s = cu_suite_new();

CU_SUITE_ADD_TEST(s, nd_test_create);
CU_SUITE_ADD_TEST(s, nd_test_lookup);
CU_SUITE_ADD_TEST(s, nd_test_delete);

return (s);
}


CU_TEST_MAIN()
{
int res;
cu_suite_t *suite = cu_suite_new();

cu_init();
cu_suite_add_suite(suite, nd_test_suite());
setup();
res = cu_suite_run(suite);
cu_suite_summary(suite);

CU_TEST_MAIN_RETURN(res);
}