Monitor Commands

fec-egress-stats

Syntax

fec-egress-stats ip-prefix/mask[interval seconds][repeat repeat][absolute | rate]

Context

monitor>router>ldp

Description

This command displays egress statistics for LDP FEC prefixes at the configured interval until the configured count is reached.

Monitor commands are similar to show commands, but only statistical information is displayed. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters

ip-prefix[/mask]

the IP prefix and prefix length associated with the prefix FEC

Values

ipv4-prefix:

a.b.c.d

ipv4-prefix-length:

32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

ipv6-prefix-length:

128

seconds

specifies the interval for each display, in seconds

Values

3 to 60

Default

10

repeat

specifies how many times the command is repeated

Values

1 to 999

Default

10

absolute

displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.

rate

displays the rate per second for each statistic instead of the delta

Output

The following output is an example of statistics for an LDP FEC instance.

Output Example
===============================================================================
Monitor egress statistics for LDP FEC prefix 10.10.10.29/32
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
FEC Prefix/Mask    : 10.10.10.29/32
-------------------------------------------------------------------------------
Collect Stats      : Disabled             Accounting Plcy.     : None
Admin State        : Up                   
FC BE
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC L2
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC AF
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC L1
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC H2
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC EF
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC H1
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC NC
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
===============================================================================
Monitor egress statistics for LDP FEC prefix 10.10.10.29/32
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
FEC Prefix/Mask    : 10.10.10.29/32
-------------------------------------------------------------------------------
Collect Stats      : Disabled             Accounting Plcy.     : None
Admin State        : Up                   
FC BE
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC L2
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC AF
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC L1
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC H2
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC EF
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC H1
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
FC NC
InProf Pkts        : 0                    OutProf Pkts         : 0
InProf Octets      : 0                    OutProf Octets       : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------

session

Syntax

sessionldp-id[ldp-id...(up to 5 max)][intervalseconds][repeatrepeat][absolute | rate]

Context

monitor>router>ldp

Description

This command displays statistical information for LDP sessions at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified LDP sessions. The subsequent statistical information listed for each interval is displayed as a delta to the previous screen output.

When the keyword rate is specified, the rate per second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands, but only statistical information is displayed. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters

ldp-id

specifies the IP address of the LDP session to display

Values

ip-addr[:label-space]

ip-addr — a.b.c.d

label-space — [0 to 65535]

seconds

configures the interval for each display in seconds

Values

3 to 60

Default

10

repeat

configures how many times the command is repeated

Values

1 to 999

Default

10

absolute

displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.

rate

displays the rate per second for each statistic instead of the delta

Output

The following output is an example of statistical information for the LDP session.

Output Example
ALU-103>monitor>router>ldp# session 10.10.10.104 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for LDP Session 10.10.10.104
===============================================================================
                              Sent                     Received
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5289
Keepalive                     8225                     8225
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5289
Keepalive                     8226                     8226
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5290
Keepalive                     8226                     8226
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5290
Keepalive                     8226                     8226
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
========================================================================
ALU-12>monitor>router>ldp#
ALU-12>monitor>router>ldp# session 10.10.10.104 interval 3 repeat 3 rate
===============================================================================
Monitor statistics for LDP Session 10.10.10.104
===============================================================================
                              Sent                     Received
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5289                     5290
Keepalive                     8227                     8227
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
FECs                          0                        0
Hello                         0                        0
Keepalive                     0                        0
Init                          0                        0
Label Mapping                 0                        0
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       0                        0
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
FECs                          0                        0
Hello                         0                        0
Keepalive                     0                        0
Init                          0                        0
Label Mapping                 0                        0
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       0                        0
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
FECs                          0                        0
Hello                         0                        0
Keepalive                     0                        0
Init                          0                        0
Label Mapping                 0                        0
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       0                        0
Address Withdraw              0                        0
===============================================================================
ALU-12>monitor>router>ldp#

statistics

Syntax

statistics [interval seconds][repeat repeat][absolute | rate]

Context

monitor>router>ldp

Description

This command displays statistics for an LDP instance at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the LDP statistics. The subsequent statistical information listed for each interval is displayed as a delta to the previous screen output.

When the keyword rate is specified, the rate per second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands, but only statistical information is displayed. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters

seconds

configures the interval for each display in seconds

Values

3 to 60

Default

10

repeat

configures how many times the command is repeated

Values

1 to 999

Default

10

absolute

displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.

rate

displays the rate per second for each statistic instead of the delta

Output

The following output is an example of statistics for an LDP instance.

Output Example
ALU-12>monitor>router>ldp# statistics interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for LDP instance
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
...
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
...
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
...
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
...
===============================================================================
ALU-12>monitor>router>ldp#
ALU-12>monitor>router>ldp# statistics interval 3 repeat 3 rate
===============================================================================
Monitor statistics for LDP instance
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
...
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 0                    Serv FECs Recv     : 0
...
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 0                    Serv FECs Recv     : 0
...
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 0                    Serv FECs Recv     : 0
...
===============================================================================