set limits

Use this command to set the resource limit for the specified application and VRF.

Syntax

set limits [vrf vrf-name] [resource-ipv6netmask {default | full}] application limit

Parameters

vrf vrf-name (Optional) Specifies the name of the VRF to which the resource limit applies.
resource-ipv6netmask default | full (Optional) Specifies the IPv6 netmask setting: default = 64-bit mask, full = 128-bit mask. The default is default.
application Specifies the application to which the resource limit applies.
limit Specifies the resource limit value.

Defaults

The IPv6 netmask defaults to default (64-bit).

Mode

All command modes.

Usage

Use the set limits command to limit the resources, for the specified application, to a value up to the global limit for that application. Resource limits for all applications, on all VRFs, default to the device global limit for each application. Use show limits command to display a router application‘s global limit.

By setting a resource limit less than the global limit for a VRF, you assure that the VRF will not starve other VRFs for that application‘s resources.

Not all application limits can be modified on a device. Use the set limits vrf-name ? command to display a list of applications for which limits can be set for this device.

Use the resource-ipv6netmask full option to set the IPv6 netmask to support for bits 65 – 127.

Note

Note

Setting the resource-ipv6netmask option to full reduces the routing table space supported for IPv4 and IPv6 routes. It is recommended that you not use the full option unless you are actually using routes in that bit space.

Use the clear limits command to reset the application limit to the application limit‘s global value.

Examples

This example sets the OSPFv2 link state entries resource limit to 45000 entries on VRF vr2 and displays the new setting:

System(su)->set limits vrf vr2 application  ospf-ls-entries 45000
System(su)->show limits vrf vr2 application ospf-ls-entries
Application: ospf-ls-entries
Description: Maximum number of OSPF link-state entries
VRF NAME                            limit   in use reserved
-------------------------------- -------- -------- --------
vr2                                 45000        0        0
Chassis Total Resources .............      50000
Chassis Total Reserved  .............          0
Chassis Total Reserved Available ....          0
Chassis Total Unreserved Available ..      50000
System(su)->