![Cisco Nexus 3548 series Command Reference Manual Download Page 108](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162108.webp)
88
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
clear ip ospf traffic
clear ip ospf traffic
To clear Open Shortest Path First (OSPF) traffic statistics, use the
clear ip ospf traffic
command.
clear ip ospf
[
instance-tag
]
traffic
[
interface
] [
vrf
vrf-name
]
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
Usage Guidelines
Use the
clear ip ospf traffic
command
to clear the traffic statistics from one or more OSPF
instances.
If you do not specify the
instance-tag
argument, Cisco NX-OS clears traffic statistics from
all OSPF
instances
.
Use the
show ip ospf traffic statistics
command to to view the statistics that you are clearing.
This command requires the LAN Base Services license.
Examples
This example shows how to clear OSPF traffic statistics for OSPF 100:
switch#
clear ip ospf 100 traffic
Related Commands
instance-tag
(Optional) Instance tag. Specify as an alphanumeric string of up to 20
characters.
interface
(Optional) Interface to clear traffic statistics for. Use the
?
option to
see the interface options.
vrf
vrf-name
(Optional) Specifies the name of the OSPF virtual routing and
forwarding (VRF) instance. The
vrf-name
argument can be any
alphanumeric string of up to 32 characters, except “default” and
“all”.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
show ip ospf traffic
statistics
Displays OSPF traffic statistics.