45
# Configure Router B.
<RouterB> system-view
[RouterB] mpls lsr-id 2.2.2.9
[RouterB] mpls ldp
[RouterB-ldp] quit
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] mpls enable
[RouterB-Serial2/1/0] mpls ldp enable
[RouterB-Serial2/1/0] quit
[RouterB] interface serial 2/1/1
[RouterB-Serial2/1/1] mpls enable
[RouterB-Serial2/1/1] mpls ldp enable
[RouterB-Serial2/1/1] quit
# Configure Router C.
<RouterC> system-view
[RouterC] mpls lsr-id 3.3.3.9
[RouterC] mpls ldp
[RouterC-ldp] quit
[RouterC] interface serial 2/1/0
[RouterC-Serial2/1/0] mpls enable
[RouterC-Serial2/1/0] mpls ldp enable
[RouterC-Serial2/1/0] quit
[RouterC] interface serial 2/1/1
[RouterC-Serial2/1/1] mpls enable
[RouterC-Serial2/1/1] mpls ldp enable
[RouterC-Serial2/1/1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] mpls lsr-id 4.4.4.9
[RouterD] mpls ldp
[RouterD-ldp] quit
[RouterD] interface serial 2/1/0
[RouterD-Serial2/1/0] mpls enable
[RouterD-Serial2/1/0] mpls ldp enable
[RouterD-Serial2/1/0] quit
[RouterD] interface serial 2/1/1
[RouterD-Serial2/1/1] mpls enable
[RouterD-Serial2/1/1] mpls ldp enable
[RouterD-Serial2/1/1] quit
4.
Configure IPv4 LSP generation policies:
# On Router A, create IP prefix list
routera
, and configure LDP to use only the routes permitted
by the prefix list to establish LSPs.
[RouterA] ip prefix-list routera index 10 permit 11.1.1.0 24
[RouterA] ip prefix-list routera index 20 permit 21.1.1.0 24
[RouterA] mpls ldp
[RouterA-ldp] lsp-trigger prefix-list routera
[RouterA-ldp] quit
Содержание HPE FlexNetwork MSR Router Series
Страница 10: ...viii Index 540 ...