3Com S7902E Command Reference Manual - page 1566
1-34
peer-lsr-id
: MPLS LSR ID of the peer. An LSR and its peer must use the same password.
password
: Password string, case sensitive. If you specify the
plain
keyword, it must be a string of 1 to
16 characters in plain text. If you specify the
cipher
keyword, it can be either a string of 1 to 16
characters in plain text or a string of 24 characters in cipher text.
Description
Use the
md5-password
command to enable LDP MD5 authentication and set the password, which
must be the same as that configured on the peer.
Use the
undo md5-password
command to disable LDP MD5 authentication.
By default, LDP MD5 authentication is disabled.
Changing the password will cause the sessions and all LSPs based on the sessions to be removed.
This command takes effect only after MPLS LDP is enabled in the corresponding view.
Examples
# Enable MD5 authentication for the public network LDP instance, setting the password display mode to
plain text.
[Sysname] mpls ldp
[Sysname-mpls-ldp] md5-password plain 3.3.3.3 beijingpass
# Enable MD5 authentication for LDP instance
vpn1
, setting the password display mode to plain text.
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] md5-password plain 3.3.3.3 beijingpass
mpls
Syntax
mpls
undo mpls
View
System view, interface view
Default Level
2: System level
Parameters
None
Description
Use the
mpls
command in system view to enable MPLS globally and enter MPLS view.
Use the
undo mpls
command in system view to disable MPLS globally.
Use the
mpls
command in interface view to enable MPLS for the interface.
Use the
undo mpls
command in interface view to disable MPLS for the interface.