mpls-te OSPF配置命令

R2
conf t
int e1/0
ip add 23.1.1.2 255.255.255.0
no sh
int e1/2
ip add 27.1.1.2 255.255.255.0
no sh
int lo 0
ip add 2.2.2.2 255.255.255.255
no sh
int lo 10
ip add 22.22.22.22 255.255.255.255
no sh
router os 110
net 23.1.1.0 0.0.0.255 a 0
net 27.1.1.0 0.0.0.255 a 0
net 2.2.2.2 0.0.0.0 a 0
ip cef
mpl i
mpl la p l
mpl la r 2000 2999
mpl ld ro lo 0 f
mpls traffic-eng tunnels
int ran e1/0 , e1/2
mpl i
mpls traffic-eng tunnels
ip rsvp bandwidth 20000
no sh
ex
router os 110
mpls traffic-eng area 0
mpls traffic-eng router-id lo 0
exi
ip explicit-path name T26 enable
index 10 next-address 23.1.1.3
index 20 next-address 35.1.1.5
index 30 next-address 56.1.1.6
exit
interface Tunnel 26
ip unnumbered Loopback0
tunnel destination 6.6.6.6
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng priority 7 7
tunnel mpls traffic-eng bandwidth 2000
tunnel mpls traffic-eng path-option 10 explicit name T26
exit
ip route 66.66.66.66 255.255.255.255 Tunnel26



R3
conf t
int e1/0
ip add 23.1.1.3 255.255.255.0
no sh
int e1/1
ip add 35.1.1.3 255.255.255.0
no sh
int e1/2
ip add 34.1.1.3 255.255.255.0
no sh
int lo0
ip add 3.3.3.3 255.255.255.255
no sh
router os 110
net 23.1.1.0 0.0.0.255 a 0
net 35.1.1.0 0.0.0.255 a 0
net 34.1.1.0 0.0.0.255 a 0
net 3.3.3.3 0.0.0.0 a 0
ip cef
mpl i
mpl la p l
mpl la r 3000 3999
mpl ld ro lo 0 f
mpls traffic-eng tunnels
int ran e1/0 - 2
mpl i
mpls traffic-eng tunnels
ip rsvp bandwidth 20000
ex
router os 110
mpls traffic-eng area 0
mpls traffic-eng router-id lo 0


R4
conf t
int e1/0
ip add 47.1.1.4 255.255.255.0
no sh
int e1/1
ip add 46.1.1.4 255.255.255.0
no sh
int e1/2
ip add 34.1.1.4 255.255.255.0
no sh
int lo0
ip add 4.4.4.4 255.255.255.255
router os 110
net 47.1.1.0 0.0.0.255 a 0
net 46.1.1.0 0.0.0.255 a 0
net 34.1.1.0 0.0.0.255 a 0
net 4.4.4.4 0.0.0.0 a 0
ip cef
mpl i
mpl la p l
mpl la r 4000 4999
mpl ld ro lo 0 f
mpls traffic-eng tunnels
int ran e1/0 - 2
mpl i
mpls traffic-eng tunnels
ip rsvp bandwidth 20000
ex
router os 110
mpls traffic-eng area 0
mpls traffic-eng router-id lo 0


R5
conf t
int e1/1
ip add 35.1.1.5 255.255.255.0
no sh
int e1/2
ip add 56.1.1.5 255.255.255.0
no sh
int lo0
ip add 5.5.5.5 255.255.255.255
router os 110
net 35.1.1.0 0.0.0.255 a 0
net 56.1.1.0 0.0.0.255 a 0
net 5.5.5.5 0.0.0.0 a 0
ip cef
mpl i
mpl la p l
mpl la r 5000 5999
mpl ld ro lo 0 f
mpls traffic-eng tunnels
int ran e1/1 - 2
mpl i
mpls traffic-eng tunnels
ip rsvp bandwidth 20000
ex
router os 110
mpls traffic-eng area 0
mpls traffic-eng router-id lo 0


R6
conf t
int e1/1
ip add 46.1.1.6 255.255.255.0
no sh
int e1/2
ip add 56.1.1.6 255.255.255.0
no sh
int lo0
ip add 6.6.6.6 255.255.255.255
int lo10
ip add 66.66.66.66 255.255.255.255
no sh
router os 110
net 46.1.1.0 0.0.0.255 a 0
net 56.1.1.0 0.0.0.255 a 0
net 6.6.6.6 0.0.0.0 a 0
ip cef
mpl i
mpl la p l
mpl la r 6000 6999
mpl ld ro lo 0

f
mpls traffic-eng tunnels
int ran e1/1 - 2
mpl i
mpls traffic-eng tunnels
ip rsvp bandwidth 20000
ex
router os 110
mpls traffic-eng area 0
mpls traffic-eng router-id lo 0
exit
ip explicit-path name T62
index 10 next-address 56.1.1.5
index 20 next-address 35.1.1.3
index 30 next-address 34.1.1.4
index 40 next-address 47.1.1.7
index 50 next-address 27.1.1.2
exit
interface Tunnel 62
ip unnumbered Loopback0
tunnel destination 2.2.2.2
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng priority 7 7
tunnel mpls traffic-eng bandwidth 6000
tunnel mpls traffic-eng path-option 10 explicit name T62
exit
ip route 22.22.22.22 255.255.255.255 Tunnel62



R7
conf t
int e1/0
ip add 47.1.1.7 255.255.255.0
no sh
int e1/2
ip add 27.1.1.7 255.255.255.0
no sh
int lo0
ip add 7.7.7.7 255.255.255.255
router os 110
net 47.1.1.0 0.0.0.255 a 0
net 27.1.1.0 0.0.0.255 a 0
net 7.7.7.7 0.0.0.0 a 0
ip cef
mpl i
mpl la p l
mpl la r 7000 7999
mpl ld ro lo 0 f
mpls traffic-eng tunnels
int ran e1/0 , e1/2
mpl i
mpls traffic-eng tunnels
ip rsvp bandwidth 20000
ex
router os 110
mpls traffic-eng area 0
mpls traffic-eng router-id lo 0
exit



相关文档
最新文档