3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1550 CHAPTER 95: MPLS BASICS CONFIGURATION COMMANDS
If the interface is bound to a VPN instance, you must use the mpls ldp
vpn-instance command to enable LDP for the VPN instance before enabling LDP
on the interface to add the interface into the VPN instance.
n
This command supports these interface types: serial interface, async interface,
Layer 3 Ethernet interface (Ethernet interface, GE interface, and XGE interface),
ATM interface, POS interface, Layer 3 virtual Ethernet interface (that is,
virtual-Ethernet interface), virtual template, Mp-group interface, MFR interface,
tunnel interface, VLAN interface, and virtual dial template (that is, dialer).
Example # Enable LDP for interface Ethernet 1/0.
<Sysname> System-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] mpls
[Sysname-Ethernet1/0] mpls ldp
mpls ldp advertisement
Syntax mpls ldp advertisement { dod | du }
undo mpls ldp advertisement
View Interface view
Parameter dod: Works in downstream on demand (DoD) mode, advertising a label to FEC
binding in response to the explicit request of an upstream LSR.
du: Works in downstream unsolicited (DU) mode, advertising label to FEC bindings
to LSRs without explicitly requesting bindings.
Description Use the
mpls ldp advertisement command to specify the label advertisement
mode.
Use the
undo mpls ldp advertisement command to restore the default.
By default, DU mode is used.
Note that changing the label advertisement mode will cause the existing sessions
to be reestablished, and the LSPs established by the sessions to be deleted and
reestablished.
Example # Set the label advertisement mode to DoD.
<Sysname> System-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] mpls
[Sysname-Ethernet1/0] mpls ldp
[Sysname-Ethernet1/0] mpls ldp advertisement dod