Specifications

Table Of Contents
snmp-server enable traps mpls rfc vpn
MP-802
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
The illegal-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 m
ax-thresh-cleared keyword is used and you attempt to create a route on a VRF that already
contains the maximum number of routes, the mplsL3VpnVrfNumVrfRouteMaxThreshExceeded
notification is sent (if enabled). When you remove routes from the VRF so that the number of routes falls
below the set limit, the mplsL3VpnNumVrfRouteMaxThreshCleared 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. If both IPv4 and IPv6
address-family configurations are present in the VRF, the threshold is an aggregate of the maximum
threshold values. An mplsL3VpnVrfNumVrfRouteMaxThreshExceeded notification is not sent until the
second address family reaches its maximum route threshold. Routes are not added to the address family
that has already reached its maximum route threshold.
Note If you configure a single address-family VRF with a maximum and middle threshold, and later add the
other address-family configuration to your VRF without configuring a maximum threshold, you no
longer receive a maximum threshold notification for the original address family when the threshold is
reach, but routes would no longer be added to the routing table for this address family.
The warning that the mid-threshold keyword enables is sent only at the time the warning threshold is
exceeded. If both IPv4 and IPv6 address-family configurations are present in the VRF, the threshold is
an aggregate of the middle or warning threshold values. An mplsL3VpnVrfRouteMidThreshExceeded
notification is not sent until the second address family reaches its warning threshold.
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 ma
ximum routes command gives you two options in the VRF address family configuration mode:
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 rfc 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 rfc 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.
Note When both IPv4 and IPv6 address-family configurations exist, the MPLS-L3-VPN-STD-MIB displays
the aggregate value of the maximum route settings (not to exceed the max int32 value). If the maximum
route limit is configured for one address family and not for the other address family, the aggregate value
is max int32 (4,294,967,295).
The notification types described are defined in the following MIB objects of the
MPLS-L3-VPN-STD-MIB: