vrf (IP SLA MPLS LSP monitor)
To specify which virtual routing and forwarding instance (VRF) is monitored in an IP SLA MPLS LSP monitor
ping or trace, use the
vrf
command in the the appropriate configuration mode. To revert to the monitoring of
all VRFs, use the
no
form of this command.
vrf vrf-name
no vrf
Syntax Description
Name of the VRF. Maximum length is 32 alphanumeric characters.
vrf-name
Command Default
All VRFs are monitored.
Command Modes
IP SLA MPLS LSP monitor ping configuration
IP SLA MPLS LSP monitor trace configuration
Command History
Modification
Release
This command was introduced.
Release 3.5.0
Usage Guidelines
The
vrf
command in IP SLA MPLS LSP monitor configuration mode specifies to monitor a specific VRF in
ping and trace operations. The default is that all VRFs are monitored.
Task ID
Operations
Task ID
read, write
monitor
Examples
The following example shows how to use the
vrf
command in IP SLA MPLS LSP monitor configuration
mode:
RP/0/0/CPU0:router#
configure
RP/0/0/CPU0:router(config)#
ipsla
RP/0/0/CPU0:router(config-ipsla)#
mpls lsp-monitor
RP/0/0/CPU0:router(config-ipsla-mplslm)#
monitor 2
RP/0/0/CPU0:router(config-ipsla-mplslm-def)#
type mpls lsp trace
RP/0/0/CPU0:router(config-ipsla-mplslm-lsp-trace)#
vrf vpn-lsp
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
297
IP Service Level Agreement Commands
vrf (IP SLA MPLS LSP monitor)