|
Command or Action |
Purpose |
Step 1 |
enable
Example: Router> enable |
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
Step 2 |
configure terminal
Example: Router# configure terminal |
Enters global configuration mode. |
Step 3 |
mpls discovery vpn next-hop
Example: Router(config)# mpls discovery vpn next-hop |
(Optional) Enables the MPLS VPN BGP next hop neighbor discovery process.
Note |
This command is automatically enabled when the auto ip sla mpls-lsp-monitor command is entered. |
|
Step 4 |
mpls discovery vpn interval seconds
Example: Router(config)# mpls discovery vpn interval 120 |
(Optional) Specifies the time interval at which routing entries that are no longer valid are removed from the BGP next hop neighbor discovery database of an MPLS VPN. |
Step 5 |
auto ip sla mpls-lsp-monitor operation-number
Example: Router(config)# auto ip sla mpls-lsp-monitor 1 |
Begins configuration for an LSP Health Monitor operation and enters auto IP SLA MPLS configuration mode.
Note |
Entering this command automatically enables the mpls discovery vpn next-hop command. |
|
Step 6 |
Do one of the following:
-
type echo [ipsla-vrf-all | vrf vpn-name]
-
type pathEcho [ipsla-vrf-all | vrf vpn-name]
Example: Router(config-auto-ip-sla-mpls)# type echo ipsla-vrf-all
Example: Router(config-auto-ip-sla-mpls)# type pathEcho ipsla-vrf-all |
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. or Enters MPLS parameters configuration submode and allows the user to configure the parameters for an IP SLAs LSP traceroute operation using the LSP Health Monitor. |
Step 7 |
access-list access-list-number
Example: Router(config-auto-ip-sla-mpls-params)# access-list 10 |
(Optional) Specifies the access list to apply to an LSP Health Monitor operation. |
Step 8 |
scan-interval minutes
Example: Router(config-auto-ip-sla-mpls-params)# scan-interval 5 |
(Optional) Sets the timer for the IP SLAs LSP Health Monitor database. |
Step 9 |
delete-scan-factor factor
Example: Router(config-auto-ip-sla-mpls-params)# delete-scan-factor 2 |
(Optional) Specifies the number of times the LSP Health Monitor should check the scan queue before automatically deleting IP SLAs operations for BGP next hop neighbors that are no longer valid.
-
The default scan factor is 1. Each time the LSP Health Monitor checks the scan queue for updates, it deletes IP SLAs operations for BGP next hop neighbors that are no longer valid.
-
If the scan factor is set to 0, IP SLAs operations will not be automatically deleted by the LSP Health Monitor. This configuration is not recommended.
-
This command must be used with the scan-interval command.
|
Step 10 |
force-explicit-null
Example: Router(config-auto-ip-sla-mpls-params)# force-explicit-null |
(Optional) Adds an explicit null label to all echo request packets of an IP SLAs operation. |
Step 11 |
exp exp-bits
Example: Router(config-auto-ip-sla-mpls-params)# exp 5 |
(Optional) Specifies the experimental field value in the header for an echo request packet of an IP SLAs operation. |
Step 12 |
lsp-selector ip-address
Example: Router(config-auto-ip-sla-mpls-params)# lsp-selector 127.0.0.10 |
(Optional) Specifies the local host IP address used to select the LSP of an IP SLAs operation. |
Step 13 |
reply-dscp-bits dscp-value
Example: Router(config-auto-ip-sla-mpls-params)# reply-dscp-bits 5 |
(Optional) Specifies the differentiated services codepoint (DSCP) value for an echo reply packet of an IP SLAs operation. |
Step 14 |
reply-mode {ipv4 | router-alert}
Example: Router(config-auto-ip-sla-mpls-params)# reply-mode router-alert |
(Optional) Specifies the reply mode for an echo request packet of an IP SLAs operation.
-
The default reply mode is an IPv4 UDP packet.
|
Step 15 |
request-data-size bytes
Example: Router(config-auto-ip-sla-mpls-params)# request-data-size 200 |
(Optional) Specifies the protocol data size for a request packet of an IP SLAs operation. |
Step 16 |
secondary-frequency {both | connection-loss | timeout} frequency
Example: Router(config-auto-ip-sla-mpls-params)# secondary-frequency connection-loss 10 |
(Optional) Sets the faster measurement frequency (secondary frequency) to which an IP SLAs operation should change when a reaction condition occurs. |
Step 17 |
tag text
Example: Router(config-auto-ip-sla-mpls-params)# tag testgroup |
(Optional) Creates a user-specified identifier for an IP SLAs operation. |
Step 18 |
threshold milliseconds
Example: Router(config-auto-ip-sla-mpls-params)# threshold 6000 |
(Optional) Sets the upper threshold value for calculating network monitoring statistics created by an IP SLAs operation. |
Step 19 |
timeout milliseconds
Example: Router(config-auto-ip-sla-mpls-params)# timeout 7000 |
(Optional) Specifies the amount of time the IP SLAs operation waits for a response from its request packet. |
Step 20 |
ttl time-to-live
Example: Router(config-auto-ip-sla-mpls-params)# ttl 200 |
(Optional) Specifies the maximum hop count for an echo request packet of an IP SLAs operation. |
Step 21 |
exit
Example: Router(config-auto-ip-sla-mpls-params)# exit |
Exits MPLS parameters configuration submode and returns to global configuration mode. |
Step 22 |
auto ip sla mpls-lsp-monitor reaction-configuration operation-number react {connectionLoss | timeout} [action-type option] [threshold-type {consecutive [occurrences] | immediate | never}]
Example: Router(config)# auto ip sla mpls-lsp-monitor reaction-configuration 1 react connectionLoss action-type trapOnly threshold-type consecutive 3 |
(Optional) Configures certain actions to occur based on events under the control of the LSP Health Monitor. |
Step 23 |
exit
Example: Router(config)# exit |
Exits global configuration submode and returns to privileged EXEC mode. |