Specifications

Table Of Contents
snmp-server enable traps mpls vpn
MP-807
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Usage Guidelines If this command is used without any of the optional keywords, all MPLS VPN notification types are
enabled.
The il
legal-label keyword enables a notification for illegal labels received on a VRF interface. Labels
are illegal if they are outside the legal range, do not have a Label Forwarding Information Base (LFIB)
entry, or do not match table IDs for the label.
When the max-
thresh-cleared keyword is used and you attempt to create a route on a VRF that already
contains the maximum number of routes, the mplsNumVrfRouteMaxThreshExceeded notification is
sent (if enabled). When you remove routes from the VRF so that the number of routes falls below the set
limit, the cMplsNumVrfRouteMaxThreshCleared notification is sent. You can clear all routes from the
VRF by using the clear ip route vrf command.
The max-
threshold keyword enables a notification that a route creation attempt was unsuccessful
because the maximum route limit was reached. Another notification is not sent until the number of routes
falls below the maximum threshold and reaches the maximum threshold again. The max-threshold value
is determined by the maximum routes command in VRF configuration mode.
The warning that the mid-
threshold keyword enables is sent only at the time the warning threshold is
exceeded.
For the vr
f-up (mplsVrfIfUp) or vrf-down (mplsVrfIfDown) notifications to be issued from an ATM or
Frame Relay subinterface, you must first configure the snmp-server traps atm subif command or the
snmp-server traps frame-relay subif command on the subinterfaces, respectively.
The values for the mi
d-threshold and max-threshold keywords are set using the maximum routes limit
{warn-threshold | warning-only} VRF command in configuration mode.
The maximum r
outes command gives you two options:
maximum routes limit warning-only—generates a warning message when you attempt to exceed
the limit. The specified limit is not enforced.
If you use the max
imum routes limit warning-only command with the snmp-server enable traps
mpls vpn command, a mid-threshold SNMP notification is generated when the limit value is reached
or exceeded. No max-threshold SNMP notification is generated.
maximum routes limit warn-threshold—generates a warning message when the warn-threshold is
reached. The specified limit is enforced.
If you use the max
imum routes limit warn-threshold command with the snmp-server enable traps
mpls vpn command, a mid-threshold SNMP notification is generated when the warn-threshold
value is reached. A max-threshold notification is generated when the limit value is reached.
The notification types described are defined in the following MIB objects of the
PPVPN
-MPLS-VPN-MIB:
mplsVrfIfUp
mplsVrfIfDown
mplsNumVrfRouteMidThreshExceeded
mplsNumVrfRouteMaxThreshExceeded
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
i
n a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.
Release Modification