interface Ethernet4/0
ip address 80.1.2.2 255.255.255.0
duplex full
mpls traffic-eng tunnels
ip rsvp bandwidth 10000
!
interface Ethernet4/1
ip address 80.2.3.1 255.255.255.0
duplex half
mpls traffic-eng tunnels
ip rsvp bandwidth 15000
!
router ospf 1
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
network 80.1.2.0 0.0.0.255 area 0
network 80.2.3.0 0.0.0.255 area 0
network 202.1.1.2 0.0.0.0 area 0
!
end
R2#
[R3]
R3#show run
Building configuration...
Current configuration : 1423 bytes
!
version 12.4
!
hostname R3
!
mpls traffic-eng tunnels
!
interface Loopback0
ip address 202.1.1.3 255.255.255.255
!
interface Ethernet4/1
ip address 80.2.3.2 255.255.255.0
duplex half
mpls traffic-eng tunnels
ip rsvp bandwidth 15000
!
router ospf 1
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
network 80.2.3.0 0.0.0.255 area 0
network 202.1.1.3 0.0.0.0 area 0
!
end
R3#
3 Cisco流量工程的诊断
上面完成了TE的相关配置,这时需要一些基本的诊断方式来确定隧道的状态是否状态,这些诊断命令如下:
1、 检查隧道的状态:
show mpls traffic-eng tunnels brief
该命令显示隧道的简要信息,用于在隧道数目比较多的时候方便查询隧道的信息,比如下面的信息:
R1#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
Periodic reoptimization: every 3600 seconds, next in 1015 seconds
Periodic auto-bw collection: disabled
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
R1_t1 202.1.1.3 - Et4/0 up/up
Displayed 1 (of 1) heads, 0 (of 0) midpoints, 0 (of 0) tails
责任编辑:小草