TE Tunnel using Admin Weight
#IOS-XE
config replace flash:mpls.te.base.config.with.ospf.cfg
#IOS-XR
configure
load bootflash:mpls.te.base.config.with.ospf.cfg
commit replace
yAnswer
Verification







Last updated
#IOS-XE
config replace flash:mpls.te.base.config.with.ospf.cfg
#IOS-XR
configure
load bootflash:mpls.te.base.config.with.ospf.cfg
commit replace
y






Last updated
#CSR1-10, XRv11-12
router ospf 1
auto-cost reference-bandwidth 10000! Set TE metric for the path from CSR8 to XRv11
#CSR8
int GigabitEthernet2.518
mpls traffic-eng administrative-weight 1
#CSR1
int GigabitEthernet2.513
mpls traffic-eng administrative-weight 1
#CSR3
int GigabitEthernet2.539
mpls traffic-eng administrative-weight 1
#CSR9
int GigabitEthernet2.592
mpls traffic-eng administrative-weight 1
! Set TE metric for the path from XRv11 to CSR8
#XRv11
mpls traffic-eng
int Gi0/0/0/0.512
admin-weight 1
#XRv12
mpls traffic-eng
int GigabitEthernet0/0/0/0.592
admin-weight 1
#CSR9
int GigabitEthernet2.539
mpls traffic-eng administrative-weight 1
#CSR3
int GigabitEthernet2.513
mpls traffic-eng administrative-weight 1
#CSR1
int GigabitEthernet2.518
mpls traffic-eng administrative-weight 1#CSR8
interface Tunnel0
description TO_XRv11_VIA_WEIGHT
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 11.11.11.11
tunnel mpls traffic-eng path-option 1 dynamic
tunnel mpls traffic-eng autoroute announce
#XRv11
interface tunnel-te0
description TO_CSR8_VIA_WEIGHT
ipv4 unnumbered Loopback0
autoroute announce
!
destination 8.8.8.8
path-option 1 dynamic#CSR8
mpls traffic-eng path-selection metric igp
!
! or
!
int tun0
tunnel mpls traffic-eng path-selection metric igp
#XR11
mpls traffic-eng
path-selection
metric igp
!
! or
!
int tunnel-te0
path-selection metric igp