
lsp-history
Enables the collection of LSP history for the specified or all history types.
Syntax: [no] lsp-history [his-type]
his-type
Specifies the history type to be enabled. Valid Values:
Default: all.
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. LSP 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.
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 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.
Use the no lsp-history command to disable LSP history for the relevant command mode.
LSP history 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.
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 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.
Factory Default: Disabled
Command Mode: Tunnel default, Tunnel name, Tunnel parameter-set Configuration.
Example 1: In the following example the lsp-history command enables history collection for spf for LSPs associated with 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)#lsp-history spf
router(config-te-tunnel)#end
router#
Example 2: In the following example, LSP history is disabled for SPF on LSPs associated with 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 lsp-history spf
router(config-te-tunnel)#end
router#
Related Commands: history-limit
clear tunnel-history
show mpls te tunnel-history
show mpls te lsp-history
tunnel-history
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%20Commands27.html
Last Updated: 12/19/04 at 14:56:07