如拓扑图中所示:
R1在AS100中,R2,R3,R4,R6在AS200中,R5在AS300中。R2的G0/0/1口和R3的G0/0/0和G0/0/1口,R4的G0/0/0口运行mpls ldp协议。R1上环回1.0.0.1/32和R5上的环回5.0.0.5/32宣告进BGP中。
MPLS解决BGP路由黑洞_第1张图片
抓取R2的G0/0/1的流量

MPLS解决BGP路由黑洞
MPLS解决BGP路由黑洞
查看标签转发列表
[R2]display mpls lsp

             LSP Information: LDP LSP

FEC In/Out Label In/Out IF Vrf Name
3.0.0.3/32 NULL/3 -/GE0/0/1
3.0.0.3/32 1024/3 -/GE0/0/1
4.0.0.4/32 NULL/1024 -/GE0/0/1
4.0.0.4/32 1025/1024 -/GE0/0/1
2.0.0.2/32 3/NULL -/-

[R3]display mpls lsp

             LSP Information: LDP LSP

FEC In/Out Label In/Out IF Vrf Name
4.0.0.4/32 NULL/3 -/GE0/0/1
4.0.0.4/32 1024/3 -/GE0/0/1
3.0.0.3/32 3/NULL -/-
2.0.0.2/32 NULL/3 -/GE0/0/0
2.0.0.2/32 1025/3 -/GE0/0/0
[R3]
[R4]display mpls lsp

             LSP Information: LDP LSP

FEC In/Out Label In/Out IF Vrf Name
4.0.0.4/32 3/NULL -/-
3.0.0.3/32 NULL/3 -/GE0/0/1
3.0.0.3/32 1024/3 -/GE0/0/1
2.0.0.2/32 NULL/1025 -/GE0/0/1
2.0.0.2/32 1025/1025 -/GE0/0/1