(Optional) Configuring LDP to Automatically Trigger the Request in DoD Mode
A remote LDP session must be configured before LDP is configured to automatically send requests in Downstream-on-Demand (DoD) mode
Context
On a large-scale network with a great number of remote LDP peers deployed, DSLAMs that are low-end devices on the edge of the network cannot ensure network stability or prevent wasting resources. Run the remote-ip auto-dod-request command or the remote-peer auto-dod-request command to configure the function of triggering a request to a downstream node for a Label Mapping message associated with all remote LDP peers or a remote LDP peer with a specified LSR ID in DoD mode, which can save system resources.
To disable an LSR from automatically sending a request to a downstream node for a Label Mapping message associated with a specified LSR ID in DoD mode, you can run the remote-ip auto-dod-request block command.
A remote LDP session must be configured before the remote-peer auto-dod-request or remote-ip auto-dod-request command is run.
Run the longest-match command to configure LDP extension for inter-area LSPs before running the remote-peer auto-dod-request or remote-ip auto-dod-request command.
The mpls ldp advertisement dod command must be run to create an LDP session with a downstream node in DoD mode before you run the remote-peer auto-dod-request or remote-ip auto-dod-request command.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
mpls ldp
The MPLS-LDP view is displayed.
- You can perform either of the following procedures to enable
a device to automatically send DoD requests for Label Mapping messages
to a specified or all downstream remote LDP peers.
To enable the device to automatically send DoD requests for Label Mapping messages to all downstream remote LDP peers, run:
remote-peer auto-dod-request
- You can perform the following procedures to enable the device to automatically send DoD requests for Label Mapping messages to a specified downstream remote LDP peer.
Run:
quit
The system view is displayed.
Run:
mpls ldp remote-peer remote-peer-name
The remote MPLS LDP peer is created, and the remote MPLS LDP peer view is displayed.
- Run:
remote-ip ip-address
The IP address of the remote MPLS LDP peer is configured.NOTE:
This IP address must be the LSR ID that the remote LDP peer uses to establish the existing remote LDP session.
Modifying or deleting the configured address of a remote peer also deletes the remote LDP session.
- Run:
remote-ip auto-dod-request
The device is enabled to automatically send DoD requests for Label Mapping messages to a specified downstream remote LDP peer.NOTE:
To disable the function of the remote-peer auto-dod-request command, run the remote-ip auto-dod-request block command.
- Run:
commit
The configurations are committed.