Monitor Commands

fabric-profile

Syntax

fabric-profile mda {mda-id | with-stats-enabled} {dest-mda | source-mda} [interval seconds] [repeat repeat] [absolute | rate]

Context

monitor

Description

This command enables monitoring of adapter card fabric profile statistics. The specified adapter card statistical information displays and automatically refreshes at the configured interval.

Parameters

mda-id

the slot number of the adapter card

with-stats-enabled

if used, this keyword replaces the mda-id parameter, in which case the adapter card that has fabric-stats-enabled configured will be the one that is monitored, that is, the command will be monitor fabric-profile mda with-stats-enabled dest-mda | source-mda. If there are no adapter cards that have fabric-stats-enabled configured, no statistics will be displayed.

dest-mda

displays network and access ingress statistics for all adapter cards going toward the fabric and destined for the specific destination adapter card. The following are also displayed: global fabric statistics, fabric firewall statistics, and the fabric port statistics if the destination adapter card has the collection of fabric statistics enabled. The sum of traffic forwarded or dropped is also displayed.

source-mda

displays network and access ingress traffic statistics from the specified adapter card going toward the fabric and toward a destination adapter card. Fabric firewall statistics and the sum of traffic forwarded or dropped are also displayed.

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

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

rate

the rate per second for each statistic is displayed instead of the delta

lag

Syntax

lag lag-id [lag-id...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]

Context

monitor

Description

This command enables monitoring of traffic statistics for Link Aggregation Group (LAG) ports. Statistical information for the specified LAG is shown at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified LAG. The subsequent statistical information listed for each interval is displayed as a delta to the previous screen. 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 shown. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters

lag-id

the LAG ID

Values

1 to 32

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

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

rate

the rate per second for each statistic is displayed instead of the delta

Output

The following output is an example of LAG monitoring statistics.

Output Example
A:Dut-B# monitor lag 1 interval 3 repeat 1
===============================================================================
Monitor statistics for LAG ID 1
===============================================================================
Port-id      Input packets                    Output packets
             Input bytes                      Output bytes
             Input errors [Input util %]      Output errors [Output util %]
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
1/2/1        24                               25
             2224                             2294
             0                                0
1/2/2        25                               8
             2170                             776
             0                                0
-------------------------------------------------------------------------------
Totals       49                               33
             4394                             3070
             0                                0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Delta)
-------------------------------------------------------------------------------
1/2/1        3                                3
             306                              306
             0                                0
1/2/2        0                                0
             0                                0
             0                                0
-------------------------------------------------------------------------------
Totals       3                                3
             306                              306
             0                                0
===============================================================================


A:Dut-B# monitor lag 1 interval 3 repeat 1 bytes
===============================================================================
Monitor statistics for LAG ID 1
===============================================================================
Port-id      Input bytes                      Output bytes
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
1/2/1        6100                             6170
1/2/2        2514                             1120
-------------------------------------------------------------------------------
Totals       8614                             7290
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Delta)
-------------------------------------------------------------------------------
1/2/1        306                              306
1/2/2        0                                0
-------------------------------------------------------------------------------
Totals       306                              306
===============================================================================

port

Syntax

port port-id [port-id...(up to 5 total)] [interval seconds] [repeat repeat] [absolute | rate] [multiclass]

port port-id [port-id...(up to 5 total)] atm [interval seconds] [repeat repeat] [absolute | rate]

port port-id atm aal-5 [interval seconds] [repeat repeat] [absolute | rate]

port port-id atm pvc vpi/vci [interval seconds] [repeat repeat] [absolute | rate]

port port-id atm pvc vpi/vci aal-5 [interval seconds] [repeat repeat] [absolute | rate]

port port-id atm pvc vpi/vci oam [interval seconds] [repeat repeat] [absolute | rate]

port port-id atm pvp vpi [interval seconds] [repeat repeat] [absolute | rate]

port port-id atm pvp vpi oam [interval seconds] [repeat repeat] [absolute | rate]

Context

monitor

Description

This command enables port traffic monitoring. The specified port’s statistical information is shown at the configured interval until the configured count is reached.

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

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 shown. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters

port-id

the port identifier

Syntax

port-id

slot[/mda[/port]] or slot/mda/port[.channel]

bundle-id: bundle-type-slot/mda.bundle-num

bundle keyword

bundle-num: 1 to 32

type ima, ppp

bpgrp-id: bpgrp-type-bpgrp-num

bpgrp keyword

bpgrp-num: 1 to 24

type ima, ppp

aps-id: aps-group-id[.channel]

aps keyword

group-id: 1 to 24

lcr-port-id: lcr-group-id/port[.channel]

lcr keyword

group-id: 1 to 6

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

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

rate

the rate per second for each statistic is displayed instead of the delta

multiclass

displays statistics for multi-class MLPPP bundles

atm

monitors ATM statistics

aal-5

monitors the AAL-5 statistics for the port

pvc vpi/vci

monitors ATM PVC statistics

Values

vpi: 0 to 4095 (NNI)

     0 to 255 (UNI)

vci: 1 | 2 | 5 to 65535

oam

monitors ATM PVC/PVP OAM statistics

pvp vpi

monitors ATM PVP statistics

Values

vpi: 0 to 4095 (NNI)      0 to 255 (UNI)

Output

The following outputs are examples of port monitoring information.

Output Example
*A:ALU-1# monitor port 1/1/1.1 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for Port 1/1/1.1
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets                                         330161274              330161274
Packets                                          6229458                6229458
Errors                                                 0                      0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets                                         330162917              330162917
Packets                                          6229489                6229489
Errors                                                 0                      0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets                                         330164560              330164560
Packets                                          6229520                6229520
Errors                                                 0                      0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets                                         330166203              330166203
Packets                                          6229551                6229551
Errors                                                 0                      0
===============================================================================
*A:ALU-1#
A:ALU-1# monitor port bundle-ppp-1/1.13 interval 5 repeat 2 rate multiclass 
===============================================================================
Monitor multiclass statistics for Bundle bundle-ppp-1/1.13
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Class 0
    Octets                                    2990779680             2990899240
    Packets                                      3051816                3051938
    Errors                                             0                      0
Class 1
    Octets                                    2984941820             2990898260
    Packets                                      3045859                3051937
    Errors                                             0                      0
Class 2
    Octets                                    2984939860             2990899240
    Packets                                      3045857                3051938
    Errors                                             0                      0
Class 3
    Octets                                    2984940840             2990899240
    Packets                                      3045858                3051938
    Errors                                             0                      0
-------------------------------------------------------------------------------
At time t = 5 sec (Mode: Rate)
-------------------------------------------------------------------------------
Class 0
    Octets                                          9408                   9408
    Packets                                           10                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.89                   1.89
Class 1
    Octets                                          9408                   9408
    Packets                                           10                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.89                   1.89
Class 2
    Octets                                          9212                   9408
    Packets                                            9                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.85                   1.89
Class 3
    Octets                                          9408                   9408
    Packets                                           10                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.89                   1.89
-------------------------------------------------------------------------------
At time t = 10 sec (Mode: Rate)
-------------------------------------------------------------------------------
Class 0
    Octets                                          9408                   9408
    Packets                                           10                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.89                   1.89
Class 1
    Octets                                          9408                   9408
    Packets                                           10                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.89                   1.89
Class 2
    Octets                                          9408                   9408
    Packets                                           10                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.89                   1.89
Class 3
    Octets                                          9212                   9408
    Packets                                            9                     10
    Errors                                             0                      0
Utilization (% of port capacity)                    1.85                   1.89
===============================================================================
A:ALU-1# 

scada

Syntax

scada scada-id [scada-id...(up to 5 total)] [interval seconds] [repeat repeat] [absolute | rate]

Context

monitor

Description

This command enables traffic monitoring for a SCADA bridge or branch. The statistical information for the specified bridge or branch is shown at the configured interval until the configured count is reached.

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

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 shown. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters

scada-id

specifies a bridge-id or a branch-id

Values

bridge-id: slot/mda/bridge-id, where bridge-id is 1 to 16

branch-id: slot/mda/bridge-id.branch-id, where bridge-id is 1 to 16 and branch-id is 1 to 32

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

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

rate

the rate per second for each statistic is displayed instead of the delta