MPLS Traffic Engineering (TE) OSPF Configuration

This topic is to discuss the following lesson:

Dear, i got this while following your tutorial

PE1(config)#mpls traffic-eng area 0
^(arrow symbol under area)
% Invalid input detected at ‘^’ marker.

PE1(config)#mpls traffic-eng ?
atm Preformatted text Traffic Engineering ATM parameters
uto-bw auto-bw parameters
link-management Link Management configuration
logging Trap logging configuration
path-selection Path Selection Configuration
reoptimize Reoptimization parameters
signalling Traffic Engineering Signalling Parameters
topology Topology Database Configuration
tunnels Traffic Engineering tunnels

Should i do instead this ?

configure terminal
mpls traffic-eng tunnels
router ospf 1
mpls traffic-eng router-id loopback0
mpls traffic-eng area 0

Hello Mehdi

You attempted to issue the following command:

PE1(config)#mpls traffic-eng area 0

However, you are in global configuration mode. This command is only available under OSPF configuration mode. So the correct method, as shown in the lesson is to do this:

PE1(config)#router ospf 1
PE1(config-router)#mpls traffic-eng area 0

The above command is issued under the OSPF configuration mode which is entered using the router ospf 1 command. So yes, you should issue the commands you suggested instead.

I hope this has been helpful!

Laz