Juniper example configuration mpls ldp ospf

set version 8.4R4.2
set system host-name JUNOS1
set system root-authentication encrypted-password “$1$xJ9Ff2ab$AOypQANxk3VEx30Hft94Y1”
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any

set interfaces em0 unit 0 family inet address 21.21.21.1/24
set interfaces em0 unit 0 family mpls
set interfaces em5 unit 0 family inet address 51.51.51.1/24
set interfaces em5 unit 0 family mpls
set interfaces lo0 unit 0 family inet address 11.11.11.11/32

set routing-options router-id 11.11.11.11
set routing-options autonomous-system 1

set protocols ospf traffic-engineering
set protocols ospf area 0.0.0.0 interface em0.0
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols ospf area 0.0.0.0 interface em5.0

set protocols ldp interface em0.0
set protocols ldp interface em5.0

Advertisements

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