50
# On Router B, create IP prefix list
routerb
, and configure LDP to use only the routes permitted
by the prefix list to establish LSPs.
[RouterB] ip prefix-list routerb index 10 permit 11.1.1.0 24
[RouterB] ip prefix-list routerb index 20 permit 21.1.1.0 24
[RouterB] mpls ldp
[RouterB-ldp] lsp-trigger prefix-list routerb
[RouterB-ldp] quit
# On Router C, create IP prefix list
routerc
, and configure LDP to use only the routes permitted
by the prefix list to establish LSPs.
[RouterC] ip prefix-list routerc index 10 permit 11.1.1.0 24
[RouterC] ip prefix-list routerc index 20 permit 21.1.1.0 24
[RouterC] mpls ldp
[RouterC-ldp] lsp-trigger prefix-list routerc
[RouterC-ldp] quit
# On Router D, create IP prefix list
routerd
, and configure LDP to use only the routes permitted
by the prefix list to establish LSPs.
[RouterD] ip prefix-list routerd index 10 permit 11.1.1.0 24
[RouterD] ip prefix-list routerd index 20 permit 21.1.1.0 24
[RouterD] mpls ldp
[RouterD-ldp] lsp-trigger prefix-list routerd
[RouterD-ldp] quit
5.
Configure IPv4 label advertisement policies:
# On Router A, create an IP prefix list
prefix-to-b
that permits subnet 11.1.1.0/24. Router A
uses this list to filter FEC-label mappings advertised to Router B.
[RouterA] ip prefix-list prefix-to-b index 10 permit 11.1.1.0 24
# On Router A, create an IP prefix list
peer-b
that permits 2.2.2.9/32. Router A uses this list to
filter peers.
[RouterA] ip prefix-list peer-b index 10 permit 2.2.2.9 32
# On Router A, configure a label advertisement policy to advertise only the label mapping for
FEC 11.1.1.0/24 to Router B.
[RouterA] mpls ldp
[RouterA-ldp] advertise-label prefix-list prefix-to-b peer peer-b
[RouterA-ldp] quit
# On Router C, create an IP prefix list
prefix-to-b
that permits subnet 21.1.1.0/24. Router C
uses this list to filter FEC-label mappings advertised to Router B.
[RouterC] ip prefix-list prefix-to-b index 10 permit 21.1.1.0 24
# On Router C, create an IP prefix list
peer-b
that permits 2.2.2.9/32. Router C uses this list to
filter peers.
[RouterC] ip prefix-list peer-b index 10 permit 2.2.2.9 32
# On Router C, configure a label advertisement policy to advertise only the label mapping for
FEC 21.1.1.0/24 to Router B.
[RouterC] mpls ldp
[RouterC-ldp] advertise-label prefix-list prefix-to-b peer peer-b
[RouterC-ldp] quit
# On Router D, create an IP prefix list
prefix-to-a
that denies subnet 21.1.1.0/24. Router D uses
this list to filter FEC-label mappings to be advertised to Router A.
[RouterD] ip prefix-list prefix-to-a index 10 deny 21.1.1.0 24
[RouterD] ip prefix-list prefix-to-a index 20 permit 0.0.0.0 0 less-equal 32
Содержание HPE FlexNetwork MSR Router Series
Страница 10: ...viii Index 540 ...