基于OSPF的MPLS动态流量工程和BGP4
5. 确认:
1. OSPF 流量工程:
R1#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
Gateway of last resort is not set
222.222.222.0/24 is variably subnetted, 2 subnets, 2 masks
C 222.222.222.2/32 is directly connected, Serial4/1/3
C 222.222.222.0/24 is directly connected, Serial4/1/3
100.0.0.0/24 is subnetted, 2 subnets
C 100.100.100.0 is directly connected, FastEthernet10/0/0
C 100.100.110.0 is directly connected, FastEthernet10/0/1
10.0.0.0/8 is variably subnetted, 19 subnets, 2 masks
O 10.10.3.0/24 [110/2] via 10.10.13.3, 00:02:25, POS4/0/0
C 10.10.11.0/24 is directly connected, FastEthernet2/0/0
C 10.10.10.1/32 is directly connected, Loopback0
C 10.10.12.0/24 is directly connected, Multilink1
C 10.10.13.0/24 is directly connected, POS4/0/0
C 10.10.12.2/32 is directly connected, Multilink1
C 10.10.15.0/24 is directly connected, FastEthernet2/0/1
--More-- O IA 10.10.22.0/24 [110/3] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.20.2/32 [110/3] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.23.0/24 [110/2] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.24.0/24 [110/3] via 10.10.13.3, 00:02:26, POS4/0/0
O IA 10.10.26.0/24 [110/18] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.30.3/32 [110/2] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.33.0/24 [110/2] via 10.10.13.3, 00:02:26, POS4/0/0
S 10.10.40.4/32 is directly connected, Tunnel1
S 10.10.24.44/32 is directly connected, Tunnel2
O 10.10.50.5/32 [110/2] via 10.10.15.5, 00:04:51, FastEthernet2/0/1
O E2 10.10.99.0/24 [110/20] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.100.0/24 [110/3] via 10.10.13.3, 00:02:27, POS4/0/0
R1# sh mpls tr
R1# sh mpls traffic-eng tu
Name: R1_t1 (Tunnel1) Destination: 10.10.20.2
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 21)
Config Parameters:
Bandwidth: 200 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 200 bw-based
auto-bw: disabled
InLabel : -
OutLabel : Multilink1, implicit-null
RSVP Signalling Info:
Src 10.10.10.1, Dst 10.10.20.2, Tun_Id 1, Tun_Instance 262
RSVP Path Info:
My Address: 10.10.10.1
Explicit Route: 10.10.12.2 10.10.20.2
Record Route: NONE
Tspec: ave rate=200 kbits, burst=1000 bytes, peak rate=200 kbits
RSVP Resv Info:
--More-- Record Route: NONE
Fspec: ave rate=200 kbits, burst=1000 bytes, peak rate=Inf
History:
Tunnel:
Time since created: 2 hours, 10 minutes
Time since path change: 2 minutes, 49 seconds
Current LSP:
Uptime: 2 minutes, 49 seconds
Prior LSP:
ID: path option 1 [257]
Removal Trigger: path verification failed
Name: R1_t2 (Tunnel2) Destination: 10.10.20.2
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 2)
Config Parameters:
Bandwidth: 300 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 300 bw-based
auto-bw: disabled
--More--
InLabel : -
OutLabel : POS4/0/0, 25
RSVP Signalling Info:
Src 10.10.10.1, Dst 10.10.20.2, Tun_Id 2, Tun_Instance 283
RSVP Path Info:
My Address: 10.10.10.1
Explicit Route: 10.10.13.3 10.10.23.3 10.10.23.2 10.10.20.2
Record Route: NONE
Tspec: ave rate=300 kbits, burst=1000 bytes, peak rate=300 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=300 kbits, burst=1000 bytes, peak rate=Inf
History:
Tunnel:
Time since created: 2 hours, 10 minutes
Time since path change: 5 minutes, 15 seconds
Current LSP:
Uptime: 5 minutes, 15 seconds
Prior LSP:
ID: path option 1 [282]
Removal Trigger: path error
R1# sh ip bgp ip injter mp mpls f
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 222.222.222.2/32 0 Se4/1/3 point2point
17 Untagged 10.10.12.2/32 0 Mu1 point2point
18 Pop tag 10.10.33.0/24 0 PO4/0/0 point2point
19 Pop tag 10.10.23.0/24 0 PO4/0/0 point2point
20 22 10.10.24.0/24 0 PO4/0/0 point2point
21 Pop tag 10.10.3.0/24 203 PO4/0/0 point2point
22 21 10.10.20.2/32 0 PO4/0/0 point2point
23 Pop tag 10.10.30.3/32 0 PO4/0/0 point2point
24 Untagged[T] 10.10.40.4/32 0 Tu1 point2point
25 19 10.10.100.0/24 0 PO4/0/0 point2point
26 24 10.10.22.0/24 0 PO4/0/0 point2point
27 23 10.10.26.0/24 0 PO4/0/0 point2point
28 30 10.10.99.0/24 0 PO4/0/0 point2point
29 Untagged[T] 10.10.24.44/32 0 Tu2 point2point
30 Untagged 10.10.50.5/32 0 Fa2/0/1 10.10.15.5
[T] Forwarding through a TSP tunnel.
View additional tagging info with the ''detail'' option
R1#telnet 10.10.50.5
Trying 10.10.50.5 ... Open
User Access Verification
Password:
R5-3640#trace 10.10.40.4
Type escape sequence to abort.
Tracing the route to 10.10.40.4
1 10.10.15.1 [MPLS: Label 24 Exp 0] 4 msec 0 msec 0 msec
2 10.10.12.2 4 msec 0 msec 0 msec
3 10.10.24.44 4 msec 0 msec *
R5-3640#trace 10.10.40.4 24.44
Type escape sequence to abort.
Tracing the route to 10.10.24.44
1 10.10.15.1 [MPLS: Label 20 Exp 0] 0 msec 0 msec 4 msec
2 10.10.13.3 [MPLS: Label 22 Exp 0] 0 msec 0 msec 4 msec
3 10.10.23.2 0 msec 0 msec 4 msec
4 10.10.24.44 0 msec 0 msec *
R5-3640#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 10.10.15.1 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 16 subnets, 2 masks
O IA 10.10.3.0/24 [110/3] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.11.0/24 [110/2] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.10.1/32 [110/2] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.12.0/24 [110/22] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.13.0/24 [110/2] via 10.10.15.1, 00:07:55, FastEthernet0/0
C 10.10.15.0/24 is directly connected, FastEthernet0/0
O IA 10.10.22.0/24 [110/4] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.20.2/32 [110/4] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.23.0/24 [110/3] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.24.0/24 [110/4] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.26.0/24 [110/19] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.30.3/32 [110/3] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.33.0/24 [110/3] via 10.10.15.1, 00:07:56, FastEthernet0/0
O IA 10.10.40.4/32 [110/5] via 10.10.15.1, 00:07:56, FastEthernet0/0
C 10.10.50.0/24 is directly connected, Loopback0
O IA 10.10.100.0/24 [110/4] via 10.10.15.1, 00:07:56, FastEthernet0/0
O*IA 0.0.0.0/0 [110/2] via 10.10.15.1, 00:07:56, FastEthernet0/0
1. OSPF 流量工程:
R1#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
Gateway of last resort is not set
222.222.222.0/24 is variably subnetted, 2 subnets, 2 masks
C 222.222.222.2/32 is directly connected, Serial4/1/3
C 222.222.222.0/24 is directly connected, Serial4/1/3
100.0.0.0/24 is subnetted, 2 subnets
C 100.100.100.0 is directly connected, FastEthernet10/0/0
C 100.100.110.0 is directly connected, FastEthernet10/0/1
10.0.0.0/8 is variably subnetted, 19 subnets, 2 masks
O 10.10.3.0/24 [110/2] via 10.10.13.3, 00:02:25, POS4/0/0
C 10.10.11.0/24 is directly connected, FastEthernet2/0/0
C 10.10.10.1/32 is directly connected, Loopback0
C 10.10.12.0/24 is directly connected, Multilink1
C 10.10.13.0/24 is directly connected, POS4/0/0
C 10.10.12.2/32 is directly connected, Multilink1
C 10.10.15.0/24 is directly connected, FastEthernet2/0/1
--More-- O IA 10.10.22.0/24 [110/3] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.20.2/32 [110/3] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.23.0/24 [110/2] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.24.0/24 [110/3] via 10.10.13.3, 00:02:26, POS4/0/0
O IA 10.10.26.0/24 [110/18] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.30.3/32 [110/2] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.33.0/24 [110/2] via 10.10.13.3, 00:02:26, POS4/0/0
S 10.10.40.4/32 is directly connected, Tunnel1
S 10.10.24.44/32 is directly connected, Tunnel2
O 10.10.50.5/32 [110/2] via 10.10.15.5, 00:04:51, FastEthernet2/0/1
O E2 10.10.99.0/24 [110/20] via 10.10.13.3, 00:02:26, POS4/0/0
O 10.10.100.0/24 [110/3] via 10.10.13.3, 00:02:27, POS4/0/0
R1# sh mpls tr
R1# sh mpls traffic-eng tu
Name: R1_t1 (Tunnel1) Destination: 10.10.20.2
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 21)
Config Parameters:
Bandwidth: 200 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 200 bw-based
auto-bw: disabled
InLabel : -
OutLabel : Multilink1, implicit-null
RSVP Signalling Info:
Src 10.10.10.1, Dst 10.10.20.2, Tun_Id 1, Tun_Instance 262
RSVP Path Info:
My Address: 10.10.10.1
Explicit Route: 10.10.12.2 10.10.20.2
Record Route: NONE
Tspec: ave rate=200 kbits, burst=1000 bytes, peak rate=200 kbits
RSVP Resv Info:
--More-- Record Route: NONE
Fspec: ave rate=200 kbits, burst=1000 bytes, peak rate=Inf
History:
Tunnel:
Time since created: 2 hours, 10 minutes
Time since path change: 2 minutes, 49 seconds
Current LSP:
Uptime: 2 minutes, 49 seconds
Prior LSP:
ID: path option 1 [257]
Removal Trigger: path verification failed
Name: R1_t2 (Tunnel2) Destination: 10.10.20.2
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 2)
Config Parameters:
Bandwidth: 300 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 300 bw-based
auto-bw: disabled
--More--
InLabel : -
OutLabel : POS4/0/0, 25
RSVP Signalling Info:
Src 10.10.10.1, Dst 10.10.20.2, Tun_Id 2, Tun_Instance 283
RSVP Path Info:
My Address: 10.10.10.1
Explicit Route: 10.10.13.3 10.10.23.3 10.10.23.2 10.10.20.2
Record Route: NONE
Tspec: ave rate=300 kbits, burst=1000 bytes, peak rate=300 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=300 kbits, burst=1000 bytes, peak rate=Inf
History:
Tunnel:
Time since created: 2 hours, 10 minutes
Time since path change: 5 minutes, 15 seconds
Current LSP:
Uptime: 5 minutes, 15 seconds
Prior LSP:
ID: path option 1 [282]
Removal Trigger: path error
R1# sh ip bgp ip injter mp mpls f
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Untagged 222.222.222.2/32 0 Se4/1/3 point2point
17 Untagged 10.10.12.2/32 0 Mu1 point2point
18 Pop tag 10.10.33.0/24 0 PO4/0/0 point2point
19 Pop tag 10.10.23.0/24 0 PO4/0/0 point2point
20 22 10.10.24.0/24 0 PO4/0/0 point2point
21 Pop tag 10.10.3.0/24 203 PO4/0/0 point2point
22 21 10.10.20.2/32 0 PO4/0/0 point2point
23 Pop tag 10.10.30.3/32 0 PO4/0/0 point2point
24 Untagged[T] 10.10.40.4/32 0 Tu1 point2point
25 19 10.10.100.0/24 0 PO4/0/0 point2point
26 24 10.10.22.0/24 0 PO4/0/0 point2point
27 23 10.10.26.0/24 0 PO4/0/0 point2point
28 30 10.10.99.0/24 0 PO4/0/0 point2point
29 Untagged[T] 10.10.24.44/32 0 Tu2 point2point
30 Untagged 10.10.50.5/32 0 Fa2/0/1 10.10.15.5
[T] Forwarding through a TSP tunnel.
View additional tagging info with the ''detail'' option
R1#telnet 10.10.50.5
Trying 10.10.50.5 ... Open
User Access Verification
Password:
R5-3640#trace 10.10.40.4
Type escape sequence to abort.
Tracing the route to 10.10.40.4
1 10.10.15.1 [MPLS: Label 24 Exp 0] 4 msec 0 msec 0 msec
2 10.10.12.2 4 msec 0 msec 0 msec
3 10.10.24.44 4 msec 0 msec *
R5-3640#trace 10.10.40.4 24.44
Type escape sequence to abort.
Tracing the route to 10.10.24.44
1 10.10.15.1 [MPLS: Label 20 Exp 0] 0 msec 0 msec 4 msec
2 10.10.13.3 [MPLS: Label 22 Exp 0] 0 msec 0 msec 4 msec
3 10.10.23.2 0 msec 0 msec 4 msec
4 10.10.24.44 0 msec 0 msec *
R5-3640#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 10.10.15.1 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 16 subnets, 2 masks
O IA 10.10.3.0/24 [110/3] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.11.0/24 [110/2] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.10.1/32 [110/2] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.12.0/24 [110/22] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.13.0/24 [110/2] via 10.10.15.1, 00:07:55, FastEthernet0/0
C 10.10.15.0/24 is directly connected, FastEthernet0/0
O IA 10.10.22.0/24 [110/4] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.20.2/32 [110/4] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.23.0/24 [110/3] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.24.0/24 [110/4] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.26.0/24 [110/19] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.30.3/32 [110/3] via 10.10.15.1, 00:07:55, FastEthernet0/0
O IA 10.10.33.0/24 [110/3] via 10.10.15.1, 00:07:56, FastEthernet0/0
O IA 10.10.40.4/32 [110/5] via 10.10.15.1, 00:07:56, FastEthernet0/0
C 10.10.50.0/24 is directly connected, Loopback0
O IA 10.10.100.0/24 [110/4] via 10.10.15.1, 00:07:56, FastEthernet0/0
O*IA 0.0.0.0/0 [110/2] via 10.10.15.1, 00:07:56, FastEthernet0/0
0
相关文章