| 显式路径 | ip explicit-path name <名> + next-address 逐跳指定 |
|---|---|
| 隧道接口 | interface Tunnel0 + tunnel mode mpls traffic-eng |
| 关键参数 | tunnel destination / mpls traffic-eng bandwidth / path-option |
| 前提 | 全网启用 mpls traffic-eng tunnels 与 IGP TE 扩展 |
配置骨架
配置骨架
mpls traffic-eng tunnels
!
ip explicit-path name P-TO-R2
next-address 10.0.0.2
next-address 10.0.1.2
!
interface Tunnel0
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 2.2.2.2
tunnel mpls traffic-eng bandwidth 10000
tunnel mpls traffic-eng path-option 10 explicit name P-TO-R2
!
show mpls traffic-eng tunnels tunnel0