拓扑:

MPLS TE基本配置-IS-IS_MPLS TE

R1配置:

mpls label range 100 199
mpls traffic-eng tunnels
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Tunnel1
ip unnumbered Loopback0
mpls traffic-eng tunnels
tunnel destination 5.5.5.5
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng path-option 10 dynamic
no routing dynamic
!
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 1000
!
router isis
net 49.0001.0000.0000.0001.00
is-type level-2-only
metric-style wide level-2
log-adjacency-changes all
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-2
passive-interface Loopback0

R2配置:

mpls label range 200 299
mpls traffic-eng tunnels
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 12.1.1.2 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 1000
!
interface FastEthernet0/1
ip address 24.1.1.2 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 1000
!
interface FastEthernet1/0
ip address 23.1.1.2 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 1000
!
router isis
net 49.0001.0000.0000.0002.00
is-type level-2-only
metric-style wide level-2
log-adjacency-changes all
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-2
passive-interface Loopback0

R3配置:

mpls label range 300 399
mpls traffic-eng tunnels
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 35.1.1.3 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 100
!
interface FastEthernet0/1
ip address 34.1.1.3 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 100
!
interface FastEthernet1/0
ip address 23.1.1.3 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 100
!
router isis
net 49.0001.0000.0000.0003.00
is-type level-2-only
metric-style wide level-2
log-adjacency-changes all
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-2
passive-interface Loopback0

R4配置:

mpls label range 400 499
mpls traffic-eng tunnels
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet0/0
ip address 24.1.1.4 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
!
interface FastEthernet0/1
ip address 34.1.1.4 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
!
router isis
net 49.0001.0000.0000.0004.00
is-type level-2-only
metric-style wide level-2
log-adjacency-changes all
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-2
passive-interface Loopback0

R5配置:

mpls label range 500 599
mpls traffic-eng tunnels
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0/0
ip address 35.1.1.5 255.255.255.0
ip router isis
duplex auto
speed auto
mpls traffic-eng tunnels
ip rsvp bandwidth 1000
!
router isis
net 49.0001.0000.0000.0005.00
is-type level-2-only
metric-style wide level-2
log-adjacency-changes all
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-2
passive-interface Loopback0

验证:

MPLS TE基本配置-IS-IS_IS-IS_02

MPLS TE基本配置-IS-IS_MPLS TE_03

MPLS TE基本配置-IS-IS_MPLS TE_04