Clear Commands

interface

Syntax

interface [ip-int-name][statistics]

Context

clear>router>mpls

Description

This command resets or clears statistics for MPLS interfaces.

Parameters

ip-int-name

specifies an existing IP interface. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

statistics

clears only statistics

lsp

Syntax

lsp [lsp-name]

Context

clear>router>mpls

Description

This command resets and restarts an LSP.

Parameters

lsp-name

specifies the name of the LSP to clear

lsp-egress-stats

Syntax

lsp-egress-stats [lsp-name]

Context

clear>router>mpls

Description

This command clears RSVP LSP egress statistics.

Note: When RSVP LSP statistics are cleared, the current aggregate statistics count is recorded as a baseline and is used to provide a relative count each time the statistics are viewed with the show command. Because this baseline number is not reconciled between the active and inactive CSMs, after a CSM activity switch the statistics on the newly active CSM will show the aggregate count as though no clear command has been executed.

Parameters

lsp-name

specifies the name of the LSP to clear

lsp-ingress-stats

Syntax

lsp-ingress-stats [ip-address lsp lsp-name]

Context

clear>router>mpls

Description

This command clears RSVP LSP ingress statistics.

Note: When RSVP LSP statistics are cleared, the current aggregate statistics count is recorded as a baseline and is used to provide a relative count each time the statistics are viewed with the show command. Because this baseline number is not reconciled between the active and inactive CSMs, after a CSM activity switch the statistics on the newly active CSM will show the aggregate count as though no clear command has been executed.

Parameters

ip-address

the system IP address of the sender (a.b.c.d)

lsp-name

the name that identifies the LSP

interface

Syntax

interface [ip-int-name][statistics]

Context

clear>router>rsvp

Description

This command resets or clears statistics for an RSVP-TE interface.

Parameters

ip-int-name

identifies the IP interface to clear. The interface name cannot be in the form of an IP address. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes

statistics

clears only statistics

statistics

Syntax

statistics

Context

clear>router>rsvp

Description

This command clears global statistics for the RSVP-TE instance; for example, clears path and resv timeout counters.