Configuring IPSLA Path Discovery
The LSP path discovery (LPD) feature allows the IP SLA MPLS LSP to automatically discover all the active paths to the forwarding equivalence class (FEC), and configure LSP ping and traceroute operations across various paths between the provide edge (PE) devices.
Complete the following steps to configure IPSLA path discovery in a typical VPN setup for MPLS LPD operation:
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 3 |
mpls discoveryvpnnext-hop Example:
|
(Optional) Enables the MPLS VPN next hop neighbor discovery process.
|
||
Step 4 |
mpls discovery vpn interval seconds Example:
|
(Optional) Specifies the time interval at which routing entries that are no longer valid are removed from the next hop neighbor discovery database of an MPLS VPN. |
||
Step 5 |
auto ip slampls-lsp-monitor operation-number Example:
|
Begins configuration for an LSP Health Monitor operation and enters auto IP SLA MPLS configuration mode. |
||
Step 6 |
type echo ipsla-vrf-all Example:
|
Enters MPLS parameters configuration submode and allows the user to configure the parameters for an IP SLAs LSP ping operation using the LSP Health Monitor. |
What to do next
Configuration Parameters
Router(config)#auto ip sla mpls-lsp-monitor 1
Router(config-auto-ip-sla-mpls)#?
Auto IP SLAs MPLS LSP Monitor entry configuration commands:
exit Exit IP SLAs MPLSLM configuration
type Type of entry
Router(config-auto-ip-sla-mpls)#type ?
echo Perform MPLS LSP Ping operation
pathEcho Perform MPLS LSP Trace operation
Router(config-auto-ip-sla-mpls)#type pathEcho ?
ipsla-vrf-all Configure IP SLAs MPLS LSP Monitor for all VPNs
vrf vrf Name
Following parameters can be configured in the auto-ip-sla-mpls-params mode:
Router(config-auto-ip-sla-mpls)#type echo ipsla-vrf-all
Router(config-auto-ip-sla-mpls-params)#?
IP SLAs MPLSLM entry parameters configuration commands:
access-list Apply Access-List
default Set a command to its defaults
delete-scan-factor Scan Factor for automatic deletion
exit Exit IP SLAs MPLSLM configuration
exp EXP value
force-explicit-null force an explicit null label to be added
lsp-selector LocalHost address used to select the LSP
no Negate a command or set its defaults
path-discover IP SLAs LSP path discover configuration
reply-dscp-bits DSCP bits in reply IP header
reply-mode Reply for LSP echo request
request-data-size Request data size
scan-interval Scan Interval for automatic discovery in minutes
secondary-frequency Frequency to be used if there is any violation condition
happens
tag User defined tag
threshold Operation threshold in milliseconds
timeout Timeout of an operation
ttl Time to live
Following parameters can be configured in the auto-ip-sla-mpls-lpd-params mode:
Router(config-auto-ip-sla-mpls-params)#path-discover
Router(config-auto-ip-sla-mpls-lpd-params)#?
IP SLAs MPLS LSP Monitor LPD configuration commands:
default Set a command to its defaults
exit Exit IP SLAs MPLS LSP Monitor path discover
configuration
force-explicit-null Force an explicit null label to be added
hours-of-statistics-kept Maximum number of statistics hour groups to capture
interval Send interval between requests in msec
lsp-selector-base Base 127/8 address to start the tree trace
maximum-sessions Number of concurrent active tree trace requests
which can be submit at one time
no Negate a command or set its defaults
scan-period Time period for finishing tree trace discovery in
minutes
session-timeout Timeout value for the tree trace request in seconds
timeout Timeout for an MPLS Echo Request in seconds
Example for IPSLA Path Discovery
auto ip sla mpls-lsp-monitor 1
type echo ipsla-vrf-all
path-discover
auto ip sla mpls-lsp-monitor schedule 1 schedule-period 1 frequency 10 start-time now
This example shows the LPD parameter values configured:
auto ip sla mpls-lsp-monitor 2
type echo vrf vpn1
path-discover
force-explicit-null
hours-of-statistics-kept 1
scan-period 30
lsp-selector-base 127.0.0.7
session-timeout 20
timeout 100
interval 1000
auto ip sla mpls-lsp-monitor schedule 2 schedule-period 1 frequency 10 start-time now
Router#show
ip sla mpls-lsp-monitor summary
Index - MPLS LSP Monitor probe index
Destination - Target IP address of the BGP next hop
Status - LPD group status
LPD Group ID - Unique index to identify the LPD group
Last Operation Time - Last time an operation was attempted by
a particular probe in the LPD Group
Index Destination Status LPD Group ID Last Operation Time
1 2.2.2.2 up 100004 *20:08:01.481 UTC Tue Nov 14 2000
Router#show
ip sla mpls-lsp-monitor neighbors
IP SLA MPLS LSP Monitor Database : 1
BGP Next hop 2.2.2.2 (Prefix: 2.2.2.2/32) OK Paths: 2
ProbeID: 100004 (pavan_1)
Router# show ip sla mpls-lsp-monitor lpd operational-state
Entry number: 100004
MPLSLM Entry Number: 1
Target FEC Type: LDP IPv4 prefix
Target Address: 2.2.2.2
Number of Statistic Hours Kept: 2
Last time LPD Stats were reset: *18:00:57.817 UTC Sat Nov 11 2000
Traps Type: 1
Latest Path Discovery Mode: initial complete
Latest Path Discovery Start Time: *20:04:26.473 UTC Tue Nov 14 2000
Latest Path Discovery Return Code: OK
Latest Path Discovery Completion Time(ms): 40
Number of Paths Discovered: 2
Path Information :
Path Outgoing Lsp Link Conn Adj NextHop Downstream
Index Interface Selector Type Id Addr Addr Label Stack Status
1 Vl22 127.0.0.0 90 0 22.1.1.1 22.1.1.1 29 OK
2 Vl26 127.0.0.0 90 0 26.1.1.2 26.1.1.2 21 OK
Router# show ip sla mpls-lsp-monitor configuration
Entry Number : 1
Modification time : *20:19:08.233 UTC Tue Nov 14 2000
Operation Type : echo
Vrf Name : ipsla-vrf-all
Tag :
EXP Value : 0
Timeout(ms) : 5000
Threshold(ms) : 5000
Frequency(sec) : 10
ScanInterval(min) : 1
Delete Scan Factor : 1
Operations List : 100006
Schedule Period(sec): 1
Request size : 100
Start Time : Start Time already passed
SNMP RowStatus : Active
TTL value : 255
Reply Mode : ipv4
Reply Dscp Bits :
Path Discover : Enable
Maximum sessions : 1
Session Timeout(seconds) : 120
Base LSP Selector : 127.0.0.0
Echo Timeout(seconds) : 5
Send Interval(msec) : 1000
Label Shimming Mode :
Number of Stats Hours : 2
Scan Period(minutes) : 1
[Wrap text] [Edit this enclosure]
Unit-test_IPSLA: Added 12/02/2011 00:05:01 by pacv
[Unwrap text] [Edit this enclosure]
Unit-test_IPSLA: Added 12/02/2011 00:05:01 by pacv