To change the global link and target intervals for LDP Hello messages, and configure a link interval for an interface, perform the following steps. 
	 
 
	 -  
		  In privileged EXEC mode, enter global configuration mode. 
		   
		  
 
			 
device# configure terminal
 
		    
		 -  
		  Enable MPLS on the device. 
		   
		  
 
			 
device(config)# router mpls
 
		    
		 -  
		  Access LDP configuration mode. 
		   
		  
 
			  
			 
device(config-router-mpls)# ldp
 
		    
		 -  
		  Change the interval for the link sessions. 
		   
		  
 
			  
			 
device(config-router-mpls-ldp)# hello-interval-link 10
 
		    
		  In this example, the hello interval set to 10. The default value is 5. You can enter an integer from 1 through 32767. 
			 

Note   
The Hello interval for link sessions can be overridden on a per-interface basis. 
			 
 
 
		    
		 -  
		  Change the interval for the target sessions. 
		   
		  
 
			  
			 
device(config-router-mpls-ldp)# hello-interval-target 20
 
		    
		  In this example, the hello interval set to 20. The default value is 15. You can enter an integer from 1 through 32767. The change takes effect immediately. 
			 

Note   
 This value can only be set globally for all targeted LDP sessions on the router. Per-interface configuration is only available for Link LDP sessions. 
			 
 
 
		    
		 -  
		  Access MPLS mode. 
		   
		  
 
			  
			 
device(config-router-mpls-ldp)# exit
 
		    
		 -  
		  Enable MPLS on an interface. 
		   
		  
 
			  
			 
device(config-router-mpls)# mpls-interface ethernet 0/2
 
		    
		  For example, MPLS is enabled on interface
					on Ethernet port 0/2. 
 
		 -  
		  Configure LDP parameters on the interface. 
		   
		  
 
			  
			 
device(config-router-mpls-interface-0/2)# ldp-params
 
		    
		 -  
		  Change the interval for link sessions on the interface. 
		   
		  
 
			  
			 
device(config-router-mpls-interface-0/2-ldp-params)# hello-interval 15
 
		    
		  In this example, the hello interval set on this interface for LDP Link Hello messages is set to 15 seconds. You can enter an integer from 1 through 65535. No default value exists for this parameter. However, when no value is set for this parameter, it defaults to the global LDP Hello interval. When you set a hello interval on the interface, it overrides the global LDP Hello interval. 
		  
 
		 
 
	  
		The following example shows the previous steps to configure the LDP Hello interval. 
		
 
		 
		
device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# hello-interval-link 10
device(config-router-mpls-ldp)# hello-interval-target 20
device(config-router-mpls-ldp)# exit
device(config-router-mpls)# mpls-interface ethernet 0/2
device(config-router-mpls-interface-0/2)# ldp-params
device(config-router-mpls-interface-0/2-ldp-params)# hello-interval 15