|
Command or Action |
Purpose |
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode. |
|
ip cef distributed
Example:
Router(config)# ip cef distributed
|
Enables Cisco Express Forwarding (CEF). |
|
mpls traffic-eng tunnels
Example:
Router(config)# mpls traffic-eng tunnels
|
Enables MPLS traffic engineering tunnel signaling on a device. |
|
interface loopback number
Example:
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.
|
|
ip address ip-address mask
Example:
Router(config-if)# ip address 10.1.1.1 255.255.255.255
|
Configures the IP address and subnet mask of the loopback interface. |
|
no shutdown
Example:
Router(config-if)# no shutdown
|
Enables the interface. |
|
exit
Example:
Router(config-if)# exit
|
Exits interface configuration mode. |
|
interface tunnel number
Example:
Router(config)# interface tunnel 1
|
Designates a tunnel interface for the forwarding adjacency and enters interface configuration mode. |
|
tunnel mode mpls traffic-eng
Example:
Router(config-if)# tunnel mode mpls traffic-eng
|
Sets the mode of a tunnel to MPLS for traffic engineering. |
|
tunnel mpls traffic-eng forwarding-adjacency {holdtime value}
Example:
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.
|
|
ip ospf cost cost
Example:
Router(config-if)# ip ospf cost 4
|
(Optional) Configures the cost metric for a tunnel interface to be used as a forwarding adjacency. |
|
exit
Example:
Router(config-if)# exit
|
Exits interface configuration mode. |
|
router ospf process-id
Example:
Router(config)# router ospf 1
|
Configures an OSPF routing process and enters router configuration mode. |
|
mpls traffic-eng router-id interface
Example:
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. |
|
mpls traffic-eng area number
Example:
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. |
|
end
Example:
Router(config-router)# end
|
Exits router configuration mode. |