# sysname R1 # undo http server enable # nd user-bind detect retransmit 0 interval 0 # mpls lsr-id 2.2.2.2 mpls lsp-trigger all # mpls ldp inbound peer 3.3.3.3 fec ip-prefix prefix1 # # aaa authentication-scheme default # authorization-scheme default # accounting-scheme default # domain default # # interface Serial0/0/0 link-protocol ppp undo shutdown ip address 10.0.12.1 255.255.255.0 mpls mpls ldp # interface Serial0/0/1 link-protocol ppp shutdown # interface Serial0/0/2 link-protocol ppp shutdown # interface Serial0/0/3 link-protocol ppp shutdown # interface GigabitEthernet0/0/0 shutdown # interface GigabitEthernet0/0/1 undo shutdown ip address 10.0.1.1 255.255.255.0 # interface GigabitEthernet0/0/2 shutdown # interface GigabitEthernet0/0/3 shutdown # interface NULL0 # interface LoopBack0 ip address 2.2.2.2 255.255.255.255 # ospf 1 router-id 2.2.2.2 area 0.0.0.0 network 0.0.0.0 255.255.255.255 # ip ip-prefix prefix1 index 10 permit 10.0.12.0 24 # user-interface con 0 user-interface vty 0 4 user-interface vty 16 20 # return --------------prefix------------before and after------------ //before [R1]dis mpls lsp ------------------------------------------------------------------------------- LSP Information: LDP LSP ------------------------------------------------------------------------------- FEC In/Out Label In/Out IF Vrf Name 3.3.3.3/32 NULL/3 -/S0/0/0 3.3.3.3/32 1024/3 -/S0/0/0 2.2.2.2/32 3/NULL -/- 4.4.4.4/32 NULL/1025 -/S0/0/0 4.4.4.4/32 1025/1025 -/S0/0/0 1.1.1.1/32 1026/NULL -/- 10.0.1.0/24 3/NULL -/- 10.0.12.0/24 3/NULL -/- 10.0.23.0/24 NULL/3 -/S0/0/0 10.0.23.0/24 1027/3 -/S0/0/0 5.5.5.5/32 NULL/1028 -/S0/0/0 5.5.5.5/32 1028/1028 -/S0/0/0 10.0.2.0/24 NULL/1029 -/S0/0/0 10.0.2.0/24 1029/1029 -/S0/0/0 [R1]ip ip-prefix prefix1 permit 10.0.12.0 24 [R1]mpls ldp [R1-mpls-ldp]inbound peer 3.3.3.3 fec ip-prefix prefix1 //after [R1]dis mpls lsp ------------------------------------------------------------------------------- LSP Information: LDP LSP ------------------------------------------------------------------------------- FEC In/Out Label In/Out IF Vrf Name 2.2.2.2/32 3/NULL -/- 1.1.1.1/32 1026/NULL -/- 10.0.1.0/24 3/NULL -/- 10.0.12.0/24 3/NULL -/-