[Contents] [Prev] [Next] [Index] [Report an Error]

Displaying Interface Rate Statistics for ATM VCs and ATM VPs

You can use the following commands to display bit rate and packet rate statistics over a specified time interval for one or more ATM virtual circuits (VCs) or virtual paths (VPs) configured on the router.

To monitor the data rate for ATM VCs and ATM VPs:

  1. Log in to the router by using a local console session or a virtual terminal (vty) session (such as a Telnet session).

    While you use the monitor atm vc command or the monitor atm vp command, you must keep the console or terminal session open. You cannot issue any other commands during the session.

    For information about logging in to the router, see section Accessing the CLI in JUNOSe System Basics Configuration Guide.

  2. Access User Exec mode or Privileged Exec mode.

    For information, see section Accessing Command Modes in JUNOSe System Basics Configuration Guide.

  3. Specify the interface identifier and VCD (for each ATM VC) or VPI (for each ATM VP) that you want to monitor. For information about specifying an ATM interface, see Interface Types and Specifiers in JUNOSe Command Reference Guide.
    host1#monitor atm vc atm 12/0 1 atm 8/0 1 display-time-of-day
    host1#monitor atm vp atm 12/0 0 atm 12/0 1 load-interval 15 display-time-of-day

    By default, the router uses a 5-second time interval between polls to calculate bit rates and packet rates for each specified VC or VP. Optionally, you can use the load-interval keyword to specify a nondefault time interval in the range 5–30 seconds (for ATM VCs) or 5–300 seconds (for ATM VPs).

    You can also include the optional display-time-of-day keyword to show the time of day at which the router gathers statistics for each interval. Displaying the time of day enables you to monitor when a particular VC or VP is underutilized or overutilized.

  4. Review the command output.
    host1#monitor atm vc atm 12/0 1 atm 8/0 1 display-time-of-day                              Seconds
                                  between                                     Time
           Interface         VCD   polls    Input bps/pps   Output bps/pps   (UTC)
    ----------------------- ----- -------- --------------- --------------- --------
    ATM 12/0                    1        0           --/--           --/-- 10:43:11
    ATM 8/0                     1        0           --/--           --/-- 10:43:11
    ATM 12/0                    1        5      121840/100      121840/100 10:43:16
    ATM 8/0                     1        5      121600/100      121600/100 10:43:16
    ATM 12/0                    1        5        98008/80        98008/80 10:43:21
    ATM 8/0                     1        5        98008/80        98008/80 10:43:21
    ...
    host1#monitor atm vp atm 12/0 0 atm 12/0 1 load-interval 15 display-time-of-day
                                  Seconds
                                  between                                    Time
           Interface         VPI   polls    Input bps/pps  Output bps/pps   (UTC)
    ----------------------- ----- -------- --------------- --------------- --------
    ATM 12/0                    0        0           --/--           --/-- 09:47:18
    ATM 12/0                    1        0           --/--           --/-- 09:47:18
    ATM 12/0                    0       15    6635792/6480    6635792/6480 09:47:33
    ATM 12/0                    1       15    6635312/6479    6635312/6479 09:47:33
    ATM 12/0                    0       15    6635176/6479    6635176/6479 09:47:48
    ATM 12/0                    1       15    6634424/6478    6634424/6478 09:47:48
    ATM 12/0                    0       15    6635448/6479    6635448/6479 09:48:03
    

    The monitor atm vc command and monitor atm vp command display similar information, except that the monitor atm vc command displays the VCD for each interface and the monitor atm vp command displays the VPI for each interface.

    The router polls the statistics of each VC or VP identified in the command at the specified load interval to calculate and display bit rate and packet rate statistics. The first line of output for each interface always displays 0 (zero) for the number of seconds between polls, and dashes (--/--) in the Input bps/pps and Output bps/pps columns. These values indicate that the router initially takes a baseline for each interface against which to measure subsequent statistics. The router continues to display subsequent lines of output for each interface at the specified load interval until you press Ctrl+c to stop the command.

    For a description of the fields in the command display, see monitor atm vc and monitor atm vp.

  5. If you remove an ATM interface or (for VCs) an ATM 1483 subinterface while you are monitoring one or more VCs or VPs that reside on the deleted interface, press Ctrl+c to stop the monitor atm vc command or monitor atm vp command, and then restart the command to ensure accurate interface rate statistics are displayed.

    If you leave the monitor atm vc command or monitor atm vp command running after you remove the interface, the command displays undefined or inaccurate statistics for the VC or VP on the interface that has been removed. The display of undefined or inaccurate statistics can result when you remove the interface by issuing either the no interface atm command or slot erase command, and can continue even after you recreate the interface with the same VC or VP configuration.

  6. When you are finished monitoring, press Ctrl+c to stop the monitor atm vc command or monitor atm vp command.
    host1#^C

monitor atm vc

monitor atm vp


[Contents] [Prev] [Next] [Index] [Report an Error]