Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure
terminal
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
ip
cef
distributed
Router(config)# ip cef distributed
|
Enables Cisco Express Forwarding (CEF).
|
Step 4
|
mpls
traffic-eng
tunnels
Router(config)# mpls traffic-eng tunnels
|
Enables MPLS traffic engineering tunnel signaling on a device.
|
Step 5
|
interface
loopback
number
Router(config)# interface loopback0
|
Configures a loopback interface and enters interface
configuration mode.
-
Set up a loopback
interface with a 32-bit mask, enable CEF, enable MPLS traffic engineering, and
set up a routing protocol (OSPF) for the MPLS network.
|
Step 6
|
ip
address
ip-address
mask
Router(config-if)# ip address 10.1.1.1 255.255.255.255
|
Configures the IP address and subnet mask of the loopback
interface.
|
Step 7
|
no
shutdown
Router(config-if)# no shutdown
|
|
Step 8
|
exit
|
Exits interface configuration mode.
|
Step 9
|
interface
tunnel
number
Router(config)# interface tunnel 1
|
Designates a tunnel interface for the forwarding adjacency and
enters interface configuration mode.
|
Step 10
|
tunnel
mode
mpls
traffic-eng
Router(config-if)# tunnel mode mpls traffic-eng
|
Sets the mode of a tunnel to MPLS for traffic engineering.
|
Step 11
|
tunnel
mpls
traffic-eng
forwarding-adjacency
{holdtime value }
Router(config-if)# tunnel mpls traffic-eng forwarding-adjacency holdtime 10000
|
Advertises a TE tunnel as a link in an IGP network.
-
The
holdtime value keyword argument combination is
the time in milliseconds (ms) that a TE tunnel waits after going down before
informing the network. The range is 0 to 4,294,967,295 ms. The default value is
0.
|
Step 12
|
ip
ospf
cost
cost
Router(config-if)# ip ospf cost 4
|
(Optional) Configures the cost metric for a tunnel interface to
be used as a forwarding adjacency.
|
Step 13
|
exit
|
Exits interface configuration mode.
|
Step 14
|
router
ospf
process-id
Router(config)# router ospf 1
|
Configures an OSPF routing process and enters router
configuration mode.
|
Step 15
|
mpls
traffic-eng
router-id
interface
Router(config-router)# mpls traffic-eng router-id ethernet 1/0
|
Specifies that the traffic engineering router identifier for the
node is the IP address associated with a given interface.
|
Step 16
|
mpls
traffic-eng
area
number
Router(config-router)# mpls traffic-eng area 1
|
Configures a router running OSPF MPLS so that it floods traffic
engineering for the indicated OSPF area.
|
Step 17
|
end
Router(config-router)# end
|
Exits router configuration mode.
|