R-DPS#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R-DPS(config)#ip cef
R-DPS(config)#int s0/0
R-DPS(config-if)#mpls ip
R-DPS(config-if)#mpls label protocol ldp
R-DPS(config-if)#end
R-DPS#wr mem
Building configuration...
[OK]
R-DPS#sh mpls ldp discovery
Local LDP Identifier:
10.1.3.1:0
Discovery Sources:
Interfaces:
Serial0/0 (ldp): xmit/recv
LDP Id: 10.1.2.1:0; no host route
R-DPS#sh mpls ldp binding
tib entry: 10.0.0.0/30, rev 8
local binding: tag: 18
remote binding: tsr: 10.1.2.1:0, tag: imp-null
tib entry: 10.0.0.4/30, rev 10
local binding: tag: imp-null
remote binding: tsr: 10.1.2.1:0, tag: imp-null
tib entry: 10.0.0.8/30, rev 2
local binding: tag: 16
remote binding: tsr: 10.1.2.1:0, tag: imp-null
tib entry: 10.1.2.0/24, rev 6
local binding: tag: 17
remote binding: tsr: 10.1.2.1:0, tag: imp-null
tib entry: 10.1.3.0/24, rev 4
local binding: tag: imp-null
remote binding: tsr: 10.1.2.1:0, tag: 16
tib entry: 10.1.4.0/24, rev 12
local binding: tag: 19
remote binding: tsr: 10.1.2.1:0, tag: 17
R-DPS#sh mpls forwarding-table
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Pop tag 10.0.0.8/30 0 Se0/0 point2point
17 Pop tag 10.1.2.0/24 0 Se0/0 point2point
18 Pop tag 10.0.0.0/30 0 Se0/0 point2point
19 17 10.1.4.0/24 0 Se0/0 point2point
20 18 10.1.1.0/24 0 Se0/0 point2point
21 19 10.0.0.12/30 0 Se0/0 point2point
22 20 10.0.0.16/30 0 Se0/0 point2point
23 21 10.0.0.20/30 0 Se0/0 point2point
24 22 10.1.5.0/24 0 Se0/0 point2point
25 23 10.1.6.0/24 0 Se0/0 point2point
26 24 10.1.7.0/24 0 Se0/0 point2point
R-DPS#sh ip cef 10.1.7.0 detail
10.1.7.0/24, version 85, epoch 0, cached adjacency to Serial0/0
0 packets, 0 bytes
tag information set
local tag: 26
fast tag rewrite with Se0/0, point2point, tags imposed: {24}
via 10.0.0.5, Serial0/0, 0 dependencies
next hop 10.0.0.5, Serial0/0
valid cached adjacency
tag rewrite with Se0/0, point2point, tags imposed: {24}
Tidak ada komentar:
Posting Komentar