Table Of Contents
C Commands
clear ip interface statistics
clear vrrp
C Commands
This chapter describes the Cisco NX-OS Virtual Router Redundancy Protocol (VRRP) commands that begin with C.
clear ip interface statistics
To clear IP interface statistics, use the clear ip interface statistics command.
clear ip interface statistics
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Any command mode
Command History
Release
|
Modification
|
6.0(2)N1(1)
|
This command was introduced.
|
Examples
This example shows how to clear the IP interface statistics:
switch# clear ip interface statistics
Related Commands
Command
|
Description
|
show ip interface
|
Displays IP interface information.
|
clear vrrp
To clear the Virtual Router Redundancy Protocol (VRRP) statistics, use the clear vrrp command.
clear vrrp vr id interface {ethernet slot/port | port-channel number[.sub_if_number]}
Syntax Description
vr id
|
Clears VRRP statistics in a VRRP group on an interface. The range is from 1 to 255.
|
interface
|
Specifies an Ethernet or EthreChannel interface or a subinterface.
|
ethernet slot/port
|
Clears VRRP statistics on the Ethernet interface. The slot number is from 1 to 255, and the port number is from 1 to 128.
|
port-channel number
|
Clears VRRP statistics on the EtherChannel interface. The EtherChannel number is from 1 to 4096.
|
.sub_if_number
|
(Optional) Subinterface number. The range is from 1 to 4093.
|
Command Default
None
Command Modes
Any command mode
Command History
Release
|
Modification
|
6.0(2)N1(1)
|
This command was introduced.
|
Examples
This example shows how to clear VRRP statistics from a specific Ethernet interface:
switch(config)# clear vrrp vr 1 interface ethernet 1/5
Related Commands
Command
|
Description
|
feature vrrp
|
Enables the VRRP feature.
|