Use the following syntax to specify session parameters:
config>router# ldp
— session-parameters
— peer ip-address
— tcp-session-parameters
— peer transport ip-address
— auth-keychain name
— authentication-key [authentication-key | hash-key] [hash | hash2 | custom]
— ttl-security min-ttl-value [log log-id]
The following example displays an LDP configuration example:
A:ALA-1>config>router>ldp# info
----------------------------------------------
export "LDP-export"
import "LDP-import"
session-parameters
peer 10.1.1.1
exit
peer 10.10.10.104
exit
exit
tcp-session-parameters
peer-transport 10.10.10.104
authentication-key "E7GtYNZHTAaQqVMRDbfNIZpLtHg4ECOk" hash2
exit
exit
interface-parameters
interface "to-DUT1" dual-stack
ipv4
hello 240 3
keepalive 240 3
exit
exit
exit
targeted-session
ipv4
hello 120 3
keepalive 120 3
exit
peer 10.10.10.104
hello 240 3
keepalive 240 3
exit
exit
----------------------------------------------
A:ALA-1>config>router>ldp#