Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

clear virtual-chassis vc-port statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear virtual-chassis vc-port statistics
<all-members>
<interface-name>
<local>
<member member-id>

Description

Clear—reset to zero (0)—the traffic statistics counters on Virtual Chassis ports (VCPs).

Options

none

Clear traffic statistics for VCPs of all members of a Virtual Chassis or VCF.

all-members

(Optional) Clear traffic statistics for VCPs of all members of a Virtual Chassis or VCF.

interface-name

(Optional) Clear traffic statistics for the specified VCP.

local

(Optional) Clear traffic statistics for VCPs from the switch or external Routing Engine on which this command is entered.

member member-id

(Optional) Clear traffic statistics for VCPs from the specified member of a Virtual Chassis or VCF.

Required Privilege Level

clear

Sample Output

clear virtual-chassis vc-port statistics (EX4200 Virtual Chassis)

content_copy zoom_out_map
user@switch> clear virtual-chassis vc-port statistics
fpc0:
--------------------------------------------------------------------------
Statistics cleared

clear virtual-chassis vc-port statistics (EX8200 Virtual Chassis)

content_copy zoom_out_map
user@external-routing-engine> clear virtual-chassis vc-port statistics
member0:
--------------------------------------------------------------------------
Statistics cleared

member1:
--------------------------------------------------------------------------
Statistics cleared

member8:
--------------------------------------------------------------------------
Statistics cleared

member9:
--------------------------------------------------------------------------
Statistics cleared

clear virtual-chassis vc-port statistics member 3

content_copy zoom_out_map
user@switch> clear virtual-chassis vc-port statistics member 3
Cleared statistics on member 3

Release Information

Command introduced in Junos OS Release 9.0.

The options all-members and local were added in Junos OS Release 9.3 for EX Series switches.

footer-navigation