RSVP LSP Statistics Commands

ingress-statistics

Syntax

ingress-statistics

Context

config>router>mpls

Description

This command enters the context to configure LSP ingress statistics.

Default

n/a

lsp

Syntax

[no] lsp lsp-name sender ip-address

Context

config>router>mpls>ingress-statistics

Description

This command configures statistics in the ingress data path of a terminating RSVP LSP at an egress LER. The LSP name must correspond to the name configured by the user at the ingress LER. It must not contain a colon (:), which is used as a field separator by the ingress LER for encoding the LSP and path names into the RSVP Session Name field in the Session_Attribute object. The user must also execute the no shutdown command in this context to enable statistics collection.

The no form of this command disables statistics for this RSVP LSP in the ingress data path and removes the accounting policy association from the LSP.

Default

n/a

Parameters

lsp-name

the LSP name as configured at the ingress LER, up to 32 characters in length

ip-address

the IP address of the ingress LER for the LSP

accounting-policy

Syntax

accounting-policy policy-id

no accounting-policy

Context

config>router>mpls>ingr-stats>lsp

config>router>mpls>lsp>egress-statistics

Description

This command associates an accounting policy with an RSVP LSP. Only one accounting policy at a time can be associated with an RSVP LSP on a particular node.

An accounting policy must first be configured in the config>log>accounting-policy context before it can be associated; otherwise an error message is generated.

The no form of this command removes the accounting policy association.

Default

no accounting-policy

Parameters

policy-id

the accounting policy ID

Values

1 to 99

collect-stats

Syntax

[no] collect-stats

Context

config>router>mpls>ingr-stats>lsp

config>router>mpls>lsp>egress-statistics

Description

This command enables accounting and statistical data collection.

The collected statistic counters can be retrieved via show and monitor commands or with the SNMPv3 interface. The counters can be saved to an accounting file if the specific statistics collection record is included in the default accounting policy or in a user-defined accounting policy.

If the no collect-stats command is issued, the statistics are still accumulated by the forwarding engine. However, the CPU will not obtain the results and write them to the accounting file. If a subsequent collect-stats command is issued, then the counters written to the accounting file will include all the traffic that went through while the no collect-stats command was in effect.

Default

no collect-stats

egress-statistics

Syntax

[no] egress-statistics

Context

config>router>mpls>lsp

Description

This command configures statistics in the egress data path of an originating LSP at a head-end node. The user must also execute the no shutdown command in this context to enable statistics collection.

The no form of this command disables the statistics in the egress data path and removes the accounting policy association from the RSVP LSP.

Default

no egress-statistics