PREV NEXT INDEX

Avici Systems Inc.


history-limit


Defines limits of parameters affection tunnel and LSP history.

Syntax: [no] history-limit max-entries [old age max-old-entries] [remove max-remove] [repeat max-head max-tail]

max-entries

Specifies the total number of history entries for any one LSP or tunnel. Valid Values: 0 - 2147483647. Default: 50.

age

Specifies the age of for an entry to be marked as old. Valid Values: 0 - 2147483647s/ms (seconds/milliseconds). Default: 300000ms.

max-old-entries

Specifies the maximum number of old entries allowed. An old entry is an entry older than the value specified by age. Oldest entries greater than this value are dropped. Valid Values: 0 - 2147483647. Default: 20.

max-remove

Specifies the maximum number of entries to drop should a configuration change require a reduction in the number of history entries. Valid Values: 0 - 2147483647. Default: 5.

max-head max-tail

Specifies the number of repeated head and tail entries maintained by the history. A count is maintained for all repeated entries dropped. Head specifies number of first entries. Tail specifies number of last entries. Valid Values: 0 - 2147483647. Default: 2 for both head and tail.

Description: IPriori provides for the collection and display of traps, state, protect, retry, timer, and spf data by tunnel or LSP using tunnel-history or LSP-history functionality. Tunnel history configuration can be limited by maximum number of entries, age, header (first) and tail (last) repeats, and maximum entries to be removed in the case of a configuration change. Supported history types are traps, state, protected tunnels, retry, timer, SPF, or all.

Use the history-limit command to configure limits on both tunnel and LSP history collection based upon maximum entries, age, the number of entries to drop should a history configuration change occur, the number of headers and tails to keep should entries repeat.

Use the no history-limit command to reset all or specified limits to the default values.

History limits can be configured in tunnel default, tunnel parameter-set, and tunnel name configuration modes. Specifying a history-limit configuration or enabling history in tunnel name mode overrides any configuration in parameter-set or tunnel default mode relative to the specified tunnel.

A tunnel is a persistent entity and an LSP is not. When an LSP is deleted, LSP history for that LSP is also deleted.

Use the tunnel-history command, optionally specifying the history type, to enable tunnel history relative to the configuration mode in which it is entered. Use the show mpls te tunnel-history command to display current tunnel history for the specified tunnel or all tunnels.

Use the lsp-history command, optionally specifying the history type, to enable LSP history relative to the configuration mode in which it is entered. Use the show mpls ate lsp-history command to display current tunnel history for the specified LSP or all LSPs including primaries and backups.

Factory Default: Disabled

Command Mode: Tunnel default, Tunnel name, Tunnel parameter-set Configuration.

Example 1: In the following example, tunnel history is configured to limit the maximum entries to 75, age of 500 seconds allowing for the keeping of a maximum number of old entries of 25 for the ChiToBos tunnel. The tunnel-history command enables history collection for spf for this tunnel:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#mpls te ospf

router(config-te)#tunnel ChiToBos

router(config-te-tunnel)#history-limit 75 old 500s 25

router(config-te-tunnel)#tunnel-history spf

router(config-te-tunnel)#end

router#

Example 2: In the following example, tunnel history limits are reset to the default values, except for max-entries which is set at 75, for the ChiToBos tunnel:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#mpls te ospf

router(config-te)#tunnel ChiToBos

router(config-te-tunnel)#no history-limit 75

router(config-te-tunnel)#tunnel-history spf

router(config-te-tunnel)#end

router#

Related Commands: tunnel-history
lsp-history
clear tunnel-history
show mpls te tunnel-history
show mpls te lsp-history


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: TE%20Commands.fm
    HTML File Name: TE%20Commands23.html
    Last Updated: 12/19/04 at 14:56:07

Please email suggestions and comments to: doc@avici.com