ingress-statistics
config>router>mpls
This command enters the context to configure LSP ingress statistics.
n/a
[no] lsp lsp-name sender ip-address
config>router>mpls>ingress-statistics
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.
n/a
the LSP name as configured at the ingress LER, up to 32 characters in length
the IP address of the ingress LER for the LSP
accounting-policy policy-id
no accounting-policy
config>router>mpls>ingr-stats>lsp
config>router>mpls>lsp>egress-statistics
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.
no accounting-policy
the accounting policy ID
[no] collect-stats
config>router>mpls>ingr-stats>lsp
config>router>mpls>lsp>egress-statistics
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.
no collect-stats
[no] egress-statistics
config>router>mpls>lsp
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.
no egress-statistics