R3303-HP HSR6800 Routers MPLS Configuration Guide

i
Contents
Configuring basic MPLS ·············································································································································· 1
Overview ············································································································································································ 1
Basic concepts ·························································································································································· 1
MPLS network structure ············································································································································ 3
LSP establishment and label distribution ················································································································ 3
MPLS forwarding ······················································································································································ 6
LDP ············································································································································································· 8
Protocols ································································································································································· 10
MPLS configuration task list ··········································································································································· 10
Enabling the MPLS function ··········································································································································· 11
Configuring a static LSP ················································································································································ 11
Configuration prerequisites ·································································································································· 11
Configuration guidelines ······································································································································ 12
Configuration procedure ······································································································································ 12
Establishing dynamic LSPs through LDP ······················································································································· 12
Configuring MPLS LDP capability ························································································································ 12
Configuring local LDP session parameters ········································································································· 13
Configuring remote LDP session parameters ······································································································ 14
Configuring PHP ···················································································································································· 15
Configuring the policy for triggering LSP establishment ··················································································· 15
Configuring the label distribution control mode ································································································ 16
Configuring LDP loop detection ··························································································································· 17
Configuring LDP MD5 authentication ·················································································································· 18
Configuring LDP label filtering ····························································································································· 18
Maintaining LDP sessions ·············································································································································· 19
Configuring BFD for MPLS LDP ···························································································································· 20
Resetting LDP sessions ··········································································································································· 20
Managing and optimizing MPLS forwarding ············································································································· 20
Configuring MPLS MTU ········································································································································ 20
Configuring a TTL processing mode for an LSR ································································································· 21
Sending back ICMP TTL exceeded messages for MPLS TTL expired packets ················································· 23
Configuring LDP GR ·············································································································································· 24
Configuring LDP NSR ············································································································································ 25
Configuring MPLS statistics collection and reading ··································································································· 26
Configuring MPLS statistics collection and reading (method 1) ······································································· 26
Configuring MPLS statistics collection and reading for specific LSPs (method 2)··········································· 26
Inspecting LSPs ······························································································································································· 27
Configuring MPLS LSP ping ·································································································································· 27
Configuring MPLS LSP tracert ······························································································································· 27
Configuring BFD for LSPs ······································································································································ 28
Configuring periodic LSP tracert ·························································································································· 29
Enabling MPLS trap························································································································································ 29
Displaying and maintaining MPLS ······························································································································· 30
Displaying MPLS operation ·································································································································· 30
Displaying MPLS LDP operation ··························································································································· 31
Clearing MPLS statistics ········································································································································ 32
MPLS configuration examples ······································································································································· 33
Configuring static LSPs ·········································································································································· 33
Configuring LDP to establish LSPs dynamically ·································································································· 35