Heinz Ulm's CCIE R & S  Bootcamp
Click picture for more....
        


[ Home ] [About ] [What's new ] [Bootcamp ] [Undocum. ] [Links ] [Tests ] [Tools ] [Magazines ] [Forums ] [Fun ] [Disclaimer ] [Sitemap ]


Heinz Ulm's collection of undocumented OSPF, EIGRP
and interface commands with samples

Wanna get some undocumented OSPF commands ?

Here's the list:

SHOW IP OSPF EVENTS

SHOW IP OSPF STATISTICS

SHOW IP OSPF MAXAGE

SHOW IP OSPF BAD-CHECKSUM

SHOW IP OSPF DELETE-LIST

SHOW IP OSPF TIMERS LSA


And here are some sample outputs:

SHOW IP OSPF EVENTS

This is a sample output from the command:

sh ip o e

1 307188 Generic: ex_delete_old_routes 0x7

2 307188 Generic: spf_ex 0x7

3 307188 Generic: ex_delete_old_routes 0x5

4 307188 Insert route list INFO: 0x24DB54 0x0 0

5 307188 Insert route list: 150.0.0.0 0x24E194 5

6 307188 Delete route list: 150.0.0.0 0x24E194 5

7 307188 Insert route list INFO: 0x24D834 0x0 0

8 307188 Insert route list: 134.4.6.8 0x24DB54 5

9 307192 Delete route list: 134.4.6.8 0x24DB54 5

10 307192 Insert route list INFO: 0x24E004 0x0 0

11 307192 Insert route list: 134.4.1.1 0x24D834 5

12 307192 Delete route list: 134.4.1.1 0x24D834 5

13 307192 Insert route list INFO: 0x24D5A8 0x0 0

14 307192 Insert route list: 44.0.0.0 0x24E004 5

15 307196 Delete route list: 44.0.0.0 0x24E004 5

16 307196 Insert route list INFO: 0x0 0x0 0

17 307196 Insert route list: 4.0.0.0 0x24D5A8 5

18 307196 Delete route list: 4.0.0.0 0x24D5A8 5

19 307196 Generic: spf_ex 0x5

20 307200 Generic: sum_delete_old_routes 0x0

(other similar lines are surpressed)



SHOW IP OSPF STATISTICS

This is a sample output from the command:

sh ip o stat

Area 0: SPF algorithm executed 5 times

Area 4: SPF algorithm executed 4 times

SPF calculation time

Delta T Intra D-Intra Summ D-Summ Ext D-Ext Total Reason

00:35:30 0 4 0 0 0 0 4 R, N, SN, SA, X

00:35:20 8 0 0 0 0 0 12 R, N, SN, SA,

00:35:10 8 4 4 0 0 0 20 R, N, SN,

00:32:45 0 0 0 0 0 0 4 R,

00:32:35 8 4 0 0 0 0 16 R, SN,

00:23:05 16 4 0 0 8 0 36 R, X

Avg. and Accumulated time of the last 250 process_ase()

Avg. Accumulated

ASBR-lookup 0, 0

Forw-Addr-lookup 0, 0

compare metric 0, 0

add_ex-route 0, 0

route_delete 0, 0

Avg. and Accumulated time of the last 250 add_ex_route

Avg. Accumulated

ex_delete_route_list 0, 0

network_update 0, 0

ex_insert_route_list 0, 0

Avg. and Accumulated time of the last 250 summary LSA process

Avg. Accumulated

ABR-lookup 0, 0

destination-lookup 0, 0

add summary route 0, 4

route_delete & build_inter_route_all 0, 0

SHOW IP OSPF MAXAGE
(when testing above command I found you must be
in the enable mode to see anything)

This is a sample output from the command:

Router#sh ip o maxage
AS System 1
Maxage delete timer due in NEVER
Router#

SHOW IP OSPF BAD-CHECKSUM

This is a sample output from the command (thanks to Aki Anttila from Finland):

Router#sh ip o bad
OSPF packets received with bad checksum
Checksum received - 28B7, computed - 20B7
Raw data
45C0 006C 8574 0000 0159 C770 C264 C92A E000 0005 0204 0058 C140 AD0E
0000 0000 28B7 0000 0000 0000 0000 0000 0000 0001 0003 0201 C140 8FFE
C140 8FFE 8000 284A C90D 003C 0100 0003 C140 8F49 C140 8F4A 0100 030D
C140 8F48 FFFF FFFC 0300 030D C140 8FC0 FFFF FFC0 0B00 000A

Checksum received - 28B3, computed - 20B3
Raw data
45C0 006C 8586 0000 0159 C75E C264 C92A E000 0005 0204 0058 C140 AD0E
0000 0000 28B3 0000 0000 0000 0000 0000 0000 0001 0007 0201 C140 8FFE
C140 8FFE 8000 284A C90D 003C 0100 0003 C140 8F49 C140 8F4A 0100 030D
C140 8F48 FFFF FFFC 0300 030D C140 8FC0 FFFF FFC0 0B00 000A

Checksum received - 4C93, computed - 4493
Raw data
45C0 006C 8BD6 0000 0159 C10E C264 C92A E000 0005 0204 0058 C140 AD0E
0000 0000 4C93 0000 0000 0000 0000 0000 0000 0001 0003 2201 C15E D3AE
C15E D3AE 8000 3127 AB29 003C 0000 0003 C15E D3A0 FFFF FFF0 0300 000A
C140 8F32 C140 1286 0100 030D C140 1284 FFFF FFFC 0B00 030D


SHOW IP OSPF DELETE-LIST

This is a sample output from the command:

sh ip o dele

(BTW: Watch out ! There is a famous command "sh ip o d ", which usually translates to
"show ip ospf database" in most IOS'es. I experienced with some versions that instead
the database you would be shown the delete list !!! )

AS System 4

Area BACKBONE(0)

ROUTER and NETWORK LSDB delete list

Dest: 134.4.6.16, Type: 0, Metric: 781, ADV RTR: 134.4.2.2

Path:

gateway 134.4.6.18, interface Serial1/1.1

Dest: 134.4.6.17, Type: 0, Metric: 781, ADV RTR: 134.4.5.5

Path:

gateway 134.4.6.17, interface Serial1/1.1

Dest: 134.4.5.5, Type: 0, Metric: 782, ADV RTR: 134.4.5.5

Path:

gateway 134.4.6.17, interface Serial1/1.1

Dest: 134.4.3.3, Type: 1, Metric: 845, ADV RTR: 134.4.3.3

Path:

gateway 134.4.6.17, interface Serial1/1.1

SUMMARY NET and ASBR LSDB delete list

Dest: 134.4.3.3, Type: 3, Metric: 846, ADV RTR: 134.4.3.3

Path:

gateway 134.4.6.17, interface Serial1/1.1

TYPE-7 EXTERNAL LSDB delete list

Area 4

ROUTER and NETWORK LSDB delete list

Dest: 134.4.4.64, Type: 0, Metric: 10, ADV RTR: 134.4.2.2

Path:

gateway 134.4.4.65, interface Ethernet0/0

Dest: 134.4.3.0, Type: 0, Metric: 6, ADV RTR: 134.4.2.2

Path:

gateway 134.4.3.1, interface TokenRing0/0

Dest: 134.4.2.2, Type: 0, Metric: 1, ADV RTR: 134.4.2.2

Path:

gateway 134.4.2.2, interface Loopback0

SUMMARY NET and ASBR LSDB delete list

TYPE-7 EXTERNAL LSDB delete list

EXTERNAL LSDB delete list

SHOW IP OSPF TIMERS LSA

This is a sample output from the command:

OSPF Router with ID (134.8.5.5) (Process ID 1)

Group size 5, Head 3, Search Index 4, Interval 240 sec
Next update due in 00:04:06
Current time 2154
Index 0 Timestamp 2400
Index 1 Timestamp 2664
Index 2 Timestamp 2912
Index 3 Timestamp 3172
Index 4 Timestamp 3422

Failure Head 0, Last 0 LSA group failure logged

Another sample output from the command (thanks to Atreides). The difference is the Head-info.

OSPF Router with ID (215.224.32.13) (Process ID 1)

Group size 5, Head 0, Search Index 4, Interval 240 sec
Next update due in 00:00:15
Current time 64496
Index 0 Timestamp 64511
Index 1 Timestamp 64768
Index 2 Timestamp 65014
Index 3 Timestamp 65258
Index 4 Timestamp 65509

Failure Head 0, Last 0 LSA group failure logged










Wanna get some undocumented EIGRP commands ?

Here's the list:

SHOW IP EIGRP EVENTS

SHOW IP EIGRP SIA-EVENT

SHOW IP EIGRP TIMERS

SHOW IP EIGRP SIA-STATISTICS
(seen in a 3640 running IOS 12.1(6) . Thanks to Atreides. Could not produce an output yet.)

And here are some sample outputs:

SHOW IP EIGRP EVENTS

(Please note additional usages at the end of this sample)

This is a sample output from the command:

sh ip eigrp eve

Event information for AS 333:

1 04:50:37.528 Ignored route, metric: 134.3.3.136 4294967295

2 04:50:37.484 Change queue emptied, entries: 1

3 04:50:37.484 Metric set: 134.3.3.136/30 15360000

4 04:50:37.484 Update reason, delay: new if 4294967295

5 04:50:37.484 Update sent, RD: 134.3.3.136/30 4294967295

6 04:50:37.484 Update reason, delay: metric chg 4294967295

7 04:50:37.484 Update sent, RD: 134.3.3.136/30 4294967295

8 04:50:37.484 Route install: 134.3.3.136/30 0.0.0.0

9 04:50:37.484 Find FS: 134.3.3.136/30 4294967295

10 04:50:37.484 Rcv update met/succmet: 15360000 0


(other similar lines are surpressed)


SHOW IP EIGRP EVENTS [AS] [START] [END]

[Start] and [End] refers to the numbers in the event-list

This is a sample output from the command:

sh ip eigrp event 333 100 130

Event information for AS 333:

100 04:30:15.592 Route install: 134.3.1.1/32 134.3.3.129

101 04:30:15.592 Find FS: 134.3.1.1/32 4294967295

102 04:30:15.592 Rcv update met/succmet: 20640000 128256

103 04:30:15.592 Rcv update dest/nh: 134.3.1.1/32 134.3.3.129

104 04:30:15.592 Metric set: 134.3.1.1/32 4294967295

105 04:30:14.915 Peer up: 134.3.3.129 Serial1/0

106 04:30:10.568 Change queue emptied, entries: 3

107 04:30:10.564 Metric set: 134.3.3.3/32 15360000

108 04:30:10.564 Update reason, delay: new if 4294967295

109 04:30:10.564 Update sent, RD: 134.3.3.3/32 4294967295

110 04:30:10.564 Update reason, delay: metric chg 4294967295





SH IP EIGRP SIA-EVENT

This is a sample output from the command:

sh ip eigrp sia-event

Event information for AS 4:

Event log is empty.

(Sorry, couldn't produce a stuck-in-active scenario to get an output)

Additional usages:

SH IP EIGRP SIA-EVENT [AS] [START] [END]

[Start] and [End] refers to the numbers in the sia-event-list

(Couldn't produce a stuck-in-active scenario to get an output)





SHOW IP EIGRP TIMERS

(additional usage at the end of this sample)

This is a sample output from the command:

sh ip eigrp timers

IP-EIGRP timers for process 444

Hello Process

Expiration Type

| 0.100 (parent)

| 0.100 Hello (Loopback0)

| 3.064 Hello (Serial0.2)

Update Process

Expiration Type

| 11.364 (parent)

| 11.364 (parent)

| 11.364 Peer holding

| 42.788 Active check

IP-EIGRP timers for process 75

Hello Process

Expiration Type

| 2.812 (parent)

| 2.812 Hello (Ethernet0)

Update Process

Expiration Type

| 10.596 (parent)

| 10.596 (parent)

| 10.596 Peer holding

| 10.720 Peer holding

| 12.708 Peer holding

| 55.780 Active check

Additional usage:

SHOW IP EIGRP TIMERS [AS]

sh ip eigrp timers 444

IP-EIGRP timers for process 444

Hello Process

Expiration Type

| 2.788 (parent)

| 2.788 Hello (Serial0.2)

| 3.624 Hello (Loopback0)

Update Process

Expiration Type

| 14.712 (parent)

| 14.712 (parent)

| 14.712 Peer holding

| 22.196 Active check

Wanna get some undocumented interface commands ?

Here it goes:

SHOW INT STAT

SHOW INT SWITCHING





SHOW INT STAT

(Please note additional usages at the end of this sample)

This is a sample output from the command:

sh int stat

Ethernet0

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 9993 1541216 10501 827192

Route cache 0 0 0 0

Total 9993 1541216 10501 827192

Loopback0

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 0 0 6 0

Route cache 0 0 0 0

Total 0 0 6 0

Loopback1

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 0 0 4 0

Route cache 0 0 0 0

Total 0 0 4 0

Total 0 0 4 0

Interface Serial0 is disabled

Interface Serial1 is disabled

TokenRing0

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 4568 141324 2441 356728

Route cache 0 0 0 0

Total 4568 141324 2441 356728

SHOW INT [INT] STAT

This is a sample output from the command:

sh int s 0 stat

Serial0

Switching path Pkts In Chars In Pkts Out Chars Out

Processor 10267 684525 9873 678193

Route cache 502 32270 502 32270

Total 10769 716795 10375 710463

As you can see from the following output are subinterfaces not usable with this command:

sh int s 0.3 stat

% Invalid input detected at '^' marker.



SHOW INT SWITCHING

(Please note additional usages at the end of this sample)

This is a sample output from the command:

sh int switching

Interface BRI0 is disabled

Interface BRI0:1 is disabled

Interface BRI0:2 is disabled

Ethernet0

Throttle count 0

Drops RP 0 SP 0

SPD Flushes Fast 0 SSE 0

SPD Priority Inputs 0 Drops 0

Protocol Path Pkts In Chars In Pkts Out Chars Out

Other Process 0 0 950 57000

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

IP Process 6273 517929 2419 223883

Cache misses 393

Fast 0 0 0 0

Auton/SSE 0 0 0 0

DEC MOP Process 0 0 17 1309

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

ARP Process 1560 93600 6 360

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

CDP Process 631 191131 159 48177

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

Loopback0

Throttle count 0

Drops RP 0 SP 0

SPD Flushes Fast 0 SSE 0

SPD Priority Inputs 0 Drops 0

Protocol Path Pkts In Chars In Pkts Out Chars Out

IP Process 2054 123240 2054 123240

IP Process 2054 123240 2054 123240

Fast 0 0 0 0

Auton/SSE 0 0 0 0

Serial0

Throttle count 0

Drops RP 0 SP 0

SPD Flushes Fast 0 SSE 0

SPD Priority Inputs 0 Drops 0

Protocol Path Pkts In Chars In Pkts Out Chars Out

Other Process 319 91392 1312 55247

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

IP Process 9762 599079 11694 825755

Cache misses 7032

Fast 502 32270 502 32270

Auton/SSE 0 0 0 0

CDP Process 159 45792 318 90630

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

Interface Serial1 is disabled

SHOW INT [INT] SWITCHING

Sample output from the command:

sh int e 0 switching

Ethernet0

Throttle count 0

Drops RP 0 SP 0

SPD Flushes Fast 0 SSE 0

SPD Priority Inputs 0 Drops 0

Protocol Path Pkts In Chars In Pkts Out Chars Out

Other Process 0 0 992 59520

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

IP Process 6584 541763 2537 232918

Cache misses 431

Fast 0 0 0 0

Auton/SSE 0 0 0 0

DEC MOP Process 0 0 17 1309

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

ARP Process 1619 97140 6 360

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0

CDP Process 659 199636 166 50298

Cache misses 0

Fast 0 0 0 0

Auton/SSE 0 0 0 0



Click picture for more....
        



[ Home ] [About ] [What's new ] [Bootcamp ] [Undocum. ] [Links ] [Tests ] [Tools ] [Magazines ] [Forums ] [Fun ] [Disclaimer ] [Sitemap ]