O'Reilly logo

ScreenOS Cookbook by Sunil Wadhwa, Joe Kelly, Ken Draper, David Delcourt, Vik Davar, Stefan Brunner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

16.3. View the OSPF Link-State Database

Problem

You want to look at the firewall's LSDB.

Solution

Use the get vrouter trust-vr protocol ospf database command to view the contents of the link state database:

	FIREWALL-B-> get vr trust-vr protocol ospf database
	VR: trust-vr RouterId: 192.168.19.1
	----------------------------------

	                        Router LSA(s) for area 0.0.0.0
	  Link-State-Id   Adv-Router ID      Age  Sequence#  CheckSum
	----------------------------------------------------------
	   192.168.17.1    192.168.17.1 DNA 1184 0x8000001a   0x6e61
	   192.168.18.1    192.168.18.1 DNA 1188 0x80000030   0xf5bc
	   192.168.19.1    192.168.19.1     1255 0x80000037   0x5787

	                        Network LSA(s) for area 0.0.0.0
	  Link-State-Id   Adv-Router ID      Age  Sequence#  CheckSum
	----------------------------------------------------------
	       10.0.2.1   192.168.18.1 DNA  1193  0x80000001   0xbff8


	                        AS External LSA(s)
	  Link-State-Id   Adv-Router ID      Age  Sequence#  CheckSum
	----------------------------------------------------------
	        0.0.0.0   192.168.18.1 DNA  1193 0x80000003    0x76bc
	        1.1.1.0   192.168.17.1      1549 0x80000003    0xd5db

Discussion

OSPF routes build the LSDB data records from LSAs. Currently, 11 different LSAs are defined. Table 16-2 lists the six that are used for routing.

Table 16-2. Link-state advertisements

Type

RFC name

ScreenOS CLI

1

Router

router

2

Network

network

3

Network Summary

summary

4

ASBR Summary

asbr-summary

5

AS External

external

7

NSSA External

nssa-external

Devices within the area originate one Router LSA for each area to which they are directly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required