> MPLS-LDP Configuration Mode Commands
> The MPLS-LDP Configuration Mode is used to configure Label Distribution Protocol (LDP) specific parameters for MPLS-IP forwarding.
> advertise-labels
> This command configures the Label Advertisement parameters.
> Product
> GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> [no] advertise-labels { explicit-null | implicit-null }
> default advertise-labels
> no
> This keyword disables the label advertisement parameters.
> default
> This keyword advertises the labels from the label space allocated for LDP protocol.
> explicit-null
> This keyword advertises the Explicit NULL label for all the prefixes.
> implicit-null
> This keyword advertises the Implicit NULL label for all the prefixes.
> Usage
> Use this to configure advertisement of Implicit NULL or Explicit NULL label for all the prefixes advertised by the system in this context. The default command changes the behavior of label advertisement to default behavior.
> Example
> Following command configures the MPLS-IP forwarding to advertise the Explicit NULL label for all the prefixes:
> advertise-labels explicit-null
> Following command configures the MPLS-IP forwarding to advertise the Implicit NULL label for all the prefixes:
> advertise-labels implicit-null
> discovery
> Configures the LDP neighbor discovery parameters.
> Product
> GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> discovery { hello { hello-interval integer_value | hold-interval integer_value } | transport-address ipv4_addr }
> no discovery transport-address
> default discovery hello
> no
> This keyword disables the LDP neighbor discovery.
> default
> This keyword sets the LDP discovery hello interval at 5 seconds and hold interval at 15 seconds.
> hello { hello-interval integer_value | hold-interval integer_value }
> This keyword is used to configure the LDP Hello parameters.
> hello-interval configures the frequency of sending the Discovery Hello packets in seconds. It is an integer value between 5 to 21845.
> hold-interval configures Discovery Hold time interval in seconds. It is also an integer value ranging from 15 to 65535.
> transport-address ipv4_addr
> This keyword configures the LDP transport address. It is an IPv4 address which is represented in dotted decimal notation (###.###.###.###).
> Transport address is same as LDP router id.
> Usage
> This is an optional command and is used to configure LDP peer discovery parameters. LDP discovery hold-interval is always set to three times LDP discovery hello-interval. Transport address is the address used for TCP session over which LDP is running. If transport address is not configured then LDP router-id is used as transport address. Any update to transport address will take effect only if LDP is disabled and re-enabled. The “default” option sets the hello intervals to the default values.
> Example
> Use the following command to configure the LDP peer discovery parameters:
> discovery hello hello-interval 10 discovery hello hold-interval 30 discovery transport-address 1.2.3.4
> enable
> Enables the Label Distribution Protocol.
> Product
> GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] enable
> no
> This keyword disables the LDP protocol.
> enable
> This keyword enables the LDP protocol.
> Usage
> This command is used to enable or disable the LDP protocol. By default the LDP protocol is disabled.
> Example
> Use the following command to enable the LDP protocol:
> enable
> router-id
> Configures the Label Distribution Protocol Router ID.
> Product
> GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] router-id IPv4_addr
> no
> This keyword disables the router ID.
> Usage
> This command is used to configure LDP router-id. This is an optional parameter. If this is not configured, then the largest operational loopback address is selected as LDP router-id. If LDP has started, then any change will take effect only after disabling and enabling LDP.
> ip_address must be an IPv4 address in dotted decimal notation (###.###.###.###).
> Example
> Use the following command set to configure an LDP router ID:
> router-id 5.6.7.8
> enable
> end
> Exits the current configuration mode and returns to the Exec mode.
> Product
> HA
> Privilege
> Security Administrator, Administrator
> Syntax
> end
> Usage
> Return to the Exec mode.
> session
> Configures the LDP session parameters.
> Product
> GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> default session timers
> session timers { hold-interval integer_value | keepalive-interval integer_value }
> default
> This keyword configures the default values for keepalive-interval parameter at 15 and hold-interval parameter at 45.
> timers
> This keyword configures the LDP session keepalive parameters.
> keepalive-interval
> This keyword configures the LDP session keepalive parameters. It is an integer value ranging from 15 to 21845.
> hold-interval
> This keyword configures the Session Hold time interval in seconds. It is also an integer value ranging from 45 to 65535.
> Usage
> This optional command is used to configure LDP session timers. LDP session hold-interval is always set to three times LDP session Keepalive-interval. The “default” option sets the session Keepalive and hold intervals to the default values.
> Example
> Use the following commands to configure the LDP session parameters:
> session timers keepalive-interval 30
> session timers hold-interval 45
> default session timers
> exit
> Exits the current configuration mode and returns to the global configuration mode.
> Product
> GGSN
> Privilege
> Security Administrator, Administrator
> Syntax
> exit
> Usage
> Return to the context configuration mode.

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883