1549

Use the undo mpls ldp command to disable LDP for the current node and remove all LDP instances

Use the mpls ldp vpn-instancecommand to enable LDP for a VPN instance, create an LDP instance, and enter MPLS LDP VPN instance view.

Use the undo mpls ldp vpn-instancecommand to disable LDP for a VPN instance.

Configure the mpls ldp command after configuring MPLS LSR ID and enabling

MPLS for the current node.

Example # Enable LDP for the current node.

<Sysname> System-view [Sysname] mpls lsr-id 1.1.1.1

[Sysname] mpls [Sysname-mpls] quit [Sysname] mpls ldp [Sysname-mpls-ldp]

# Enable LDP for VPN instance vpn1.

<Sysname> System-view

[Sysname] mpls ldp vpn-instance vpn1

[Sysname-mpls-ldp-vpn-instance-vpn1]

mpls ldp (interface view)

Syntax mpls ldp

undo mpls ldp

View Interface view

Parameter None

Description Use the mpls ldp command to enable LDP on an interface.

Use the undo mpls ldp command to disable LDP on an interface.

By default, LDP is disabled on an interface.

After you enable LDP on an interface, the interface will create an entity and periodically sends Hello messages.

Before enabling LDP in interface view, be sure to complete the following tasks:

Use the mpls command in system view to enable MPLS.

Use the mpls ldp command in system view to enable MPLS LDP.

Use the mpls command in interface view to enable MPLS.

Page 1549
Image 1549
3Com MSR 50, MSR 30 manual Mpls ldp interface view, # Enable LDP for VPN instance vpn1, Syntax mpls ldp Undo mpls ldp, 1549