Junos sample ospf configuration

root> show configuration protocols ospf ## shows current active configuration

graceful-restart { ## graceful restart feature: default mode: Possible helper

restart-duration 500; ## default: 180 sec. within which the neighbors should be formed

notify-duration 1000; ## default: 30 sec. After (30+180) secs, the helper assumes the restarting router is dead

no-strict-lsa-checking; ## disable LSA checking which might prevent termination of graceful operation by helper

}

export test1; ## Export map [test1 default]

reference-bandwidth 10g; ## default:100m. Changed to 10G

area 0.0.0.1 {

stub default-metric 200; ##  area 1 is stub. Default route is created with metric 200

interface em0.0 {

interface-type p2p; ##  Point-point interface

metric 100;

authentication { ##  Simple authentication

simple-password “$9$ljmvxd2gJHqfwYgJZUmP”; ## SECRET-DATA

}

}

}

area 0.0.0.2 {

nssa { ##  NSSA area

default-lsa {

default-metric 500; ##  Generate default-route with metric 500

metric-type 2; ##  advertise as N2/E2

type-7; ##  Generate default-route as type-7 with “no summaries”

}

no-summaries; ##  Totally stubby NSSA

}

interface em1.0 {

authentication { ##  Md5 authentication

md5 5 key “$9$K52WNb4oGqmTYgoGUjf5”; ## SECRET-DATA

}

}

}

area 0.0.0.0 {

area-range 10.0.0.0/8; ##  Area summarization

interface em2.0 {

interface-type p2p;

}

}

root>

Advertisements
This entry was posted in jncis, Junos, ospf and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s