Cisco Cisco IOS Software Release 12.0(22)S

Page de 132
( D R A F T   L A B E L )   A L P H A   D R A F T   -   C I S C O   C O N F I D E N T I A L
      MPLS Traffic Engineering and Enhancements
Configuration Examples
18
Cisco IOS Release 12.0(22)S
Configuring MPLS Traffic Engineering Using OSPF
This example lists the commands you enter to configure MPLS traffic engineering with OSPF routing 
enabled (see 
). 
Note
You must enter the following commands on every router in the traffic-engineered portion of your 
network. 
Router 1—MPLS Traffic Engineering Configuration
To configure MPLS traffic engineering, enter the following commands:
ip cef
mpls traffic-eng tunnels
interface loopback 0
ip address 11.11.11.11 255.255.255.255
interface s1/0
ip address 131.0.0.1 255.255.0.0
mpls traffic-eng tunnels
  ip rsvp bandwidth 1000
Router 1—OSPF Configuration
To enable OSPF, enter the following commands:
router ospf 0
network 131.0.0.0.0.0.255.255 area 0
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
Configuring an MPLS Traffic Engineering Tunnel
This example shows you how to configure a dynamic path tunnel and an explicit path in the tunnel. 
Before you configure MPLS traffic engineering tunnels, you must enter the appropriate global and 
interface commands on the specified router (in this case, Router 1).
Router 1—Dynamic Path Tunnel Configuration
In this section, a tunnel is configured to use a dynamic path.
interface tunnel1
  ip unnumbered loopback 0
  tunnel destination 17.17.17.17
  tunnel mode mpls traffic-eng
tunnel mpls traffic-eng bandwidth 100
  tunnel mpls traffic-eng priority 1 1
  tunnel mpls traffic-eng path-option 1 dynamic
Router 1—Dynamic Path Tunnel Verification
This section includes the commands you use to verify that the tunnel is up.
show mpls traffic-eng tunnels