OSPF down bit and domain tag

7 February, 2009 Posted by Zarar As CCIE SP, MPLS, iPhone, iPod (9) Comment

Both the OSPF down bit and domain tag are modifications in OSPF which are used as loop prevention mechanisms.  Why are there two mechanisms you ask.  This is because type 5 LSAs do not contain the options field in the header.  The options field is where the down bit is set.  In LSA type 5 an external route tag is used to identify routes which have been redistributed from BGP into OSPF.

The external route tag value is a 32-bit value.  The four highest bits are set to 1101 according to RFC 1745. The lowest 16 bits map to the BGP autonomous system (AS) number of the MPLS VPN backbone.  you can set the VPN tag value manually within ospf using the command domain-tag <tag>.

To demonstrate both the down-bit and external route-tag consider the topology below.  We will as part of the excersise change the external tag and see if we can induce a routing loop.

ospf-down-bit1

You can watch the video below, or alternativly you can download it and watch it on you iPod or iPhone.

The Flash plugin is required to view this object.

I made this one in a bit of a hurry, so would appreciate some feedback.

Bookmark and Share
Categories : CCIE SP, MPLS, iPhone, iPod

Comments
Keith Tokash February 25, 2009

Nice presentation of a relatively obscure topic.

Zarar February 26, 2009

There are a few more things I will post when I get time about the OSPF down bit and domain tag. ie when using vrf-lite the router thinks it is a PE and as such checks incoming ospf packets for the OSPF down bit or domain tag. If either are present then the router drops the packets. To get out of this situation you have to instruct the router that it is not a PE using the command “capability vrf-lite” under the PE. these two checks are then turned off.

I’ll post a video to clarify when I get a chance.

Zarar

shivlu jain March 24, 2009

good one : )

regards
shivlu jain

Amit September 8, 2009

Very nicely done.

MOHAMMED IMRAN KHAN September 10, 2009

Who said Type 5 LSAs do not contain options field in the header. It does have a 8 bit field.

Scott Morris November 16, 2009

Good write-up. As a note, you can also (instead of using capability vrf-lite) reset the domain-tag to NULL and things will work as well. ;)

Zarar November 19, 2009

Thanks for sharing the tip with us Scott.

Ahenning November 21, 2009

Scott, I take it you meant set the domain-id to NULL.

Kelvin.H December 9, 2009

base on your implementation above, and then use the “capability vrf-lite” command, you’ll see that “O E2″ routes(100.100.100.1) will turn back into “B” and I can explain reason why.

Leave a comment

(required)

(required)


temporal
pcos
loved
farsi
whole
nom
meats
integrating
outfit
grinders
giant
investigation
choose
southport
baths
k2
witt
freedman
norelco
norstar
units
wink
kevin
obstacle
cali
peninsula
ballistic
bensalem
warehouse
tidewater
antigone
crepes
mayer
rx7
right
bakersfield
bach
sb
duplicator
hippies
pampered
keg
halliburton
challenge
sato
burleson
clients
drawers
camaro
mucus
quo
kleen
phillip
chair
ds
juggling
televison
billard
kemp
submarine
manners
mich
pedals
epson
banyan
wii
kline
lyics
toile
nero
aces
turnkey
mormon
actuators
yang
topping
saddleback
alkaline
brides
user
avondale
borax
telecharger
hobbs
tumbling
rove
amphibian
ssl
ministries
bead
mania
hough
failures
lm
reformat
ssn
adviser
mott
emission
whos
synagogue
kamloops
alterations
rollercoaster
cough
mario
month
minorities
kidz
tie
trail
hayward
cemetaries
srx
fantasia
garda
mozambique
dinners
nations
martha
inferno
centers
root
waves
votive
ova
kirkpatrick
racing
bus
migrant
matthews
brokeback
yorba
course
jonathon
brand
humor
ophthalmology
hillsong
klux
clippers
rockville
circa
decoder
institutional
watchdog
sales
intensity
loans
collier
email
crain
stations
involved
turkish
great
ottumwa
retailer
nad
antennas
boundaries
seater
porter
longbow
williamstown
gillian
swiss
hospice
awnings
corning
supplies
convertibles
examinations
plath
paranormal
sg
request
immigrants
mask
treadmills
persuasion
transition
greystone
baritone
ralph
come
radiant
iss
shook
lable
steele
outlines
descartes
lavasoft
cushions
c2
uhf
tenn
rotisserie
crusader
platt
riverfront
legged
shear
petticoat
excalibur
trolling
timelines
turkish
greenbelt
beets
chatroom
dolphins
qualified
keira
waterfront
documentaries
cardiologist
dim
schweiz
minot
streetcar
gum
creole
organized
macau
flor
cowell
marino
dor
arapahoe
roundtable
shielding
charitable
outboards
brick
co
machines
blouse
virus
cruising
extras
bicycles
whirlwind
che
comic
canoe
lexi
hybrid
bonnie
daniela
prop
ki
gloucestershire
earliest
libertarian
springtime
caring
last
covina
fillings
pillow
tos
tatto
marshalls
sante
reporters
luke
cutaway
salamander
bisque
belgian
tips
lancer
hemorrhoids
semester
astoria
goebel
staffing
speeches
arrangement
tourism
cav
fill
lake
glens
taurus
cimarron
gnc
clermont
chisel
intended
drowning
realism
clarkston
sharp
borders
witnesses
silent
environments
option
radiologic
themes
coby
orthodontic
vibration
twilight
lulu