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:
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.
For information, see section Accessing Command Modes in JUNOSe System Basics Configuration 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.
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.
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.
- host1#^C
monitor atm vc
monitor atm vp
host1#monitor atm vc atm 12/0 100
Seconds
between
Interface VCD polls Input bps/pps Output bps/pps
----------------------- ----- -------- --------------- ---------------
ATM 12/0 100 0 --/-- --/--
ATM 12/0 100 5 6631624/6476 6631624/6476
ATM 12/0 100 5 6630808/6475 6631008/6475
ATM 12/0 100 5 6632448/6477 6632240/6476
ATM 12/0 100 5 6629168/6473 6629168/6473
ATM 12/0 100 5 6631008/6475 6631216/6475
host1#^C
host1#monitor atm vc atm 12/0 100 atm 12/0 200 display-time-of-day
Seconds
between Time
Interface VCD polls Input bps/pps Output bps/pps (UTC)
----------------------- ----- -------- --------------- --------------- --------
ATM 12/0 100 0 --/-- --/-- 17:33:06
ATM 12/0 200 0 --/-- --/-- 17:33:06
ATM 12/0 100 5 6635104/6479 6635104/6479 17:33:11
ATM 12/0 200 5 6633264/6477 6633472/6478 17:33:11
ATM 12/0 100 5 6632856/6477 6632856/6477 17:33:16
ATM 12/0 200 5 6633264/6477 6633056/6477 17:33:16
host1# ^C
host1#monitor atm vp atm 12/0 0 atm 12/0 1 load-interval 10
Seconds
between
Interface VPI polls Input bps/pps Output bps/pps
----------------------- ----- -------- --------------- ---------------
ATM 12/0 0 0 --/-- --/--
ATM 12/0 1 0 --/-- --/--
ATM 12/0 0 10 6635312/6479 6635312/6479
ATM 12/0 1 10 6634288/6478 6634288/6478
ATM 12/0 0 10 6637664/6482 6637664/6482
ATM 12/0 1 10 6637872/6482 6637872/6482
host1#^C
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 --/-- --/-- 17:36:19
ATM 12/0 1 0 --/-- --/-- 17:36:19
ATM 12/0 0 15 6634352/6478 6634352/6478 17:36:34
ATM 12/0 1 15 6633608/6478 6633608/6478 17:36:34
ATM 12/0 0 15 6635176/6479 6635176/6479 17:36:49
ATM 12/0 1 15 6635040/6479 6635040/6479 17:36:49
host1# ^C