84
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
clear ip ospf policy statistics
clear ip ospf policy statistics
To clear policy statistics for Open Shortest Path First (OSPF), use the clear ip ospf policy statistics
command.
clear ip ospf [instance-tag] policy statistics {area area-id filter-list {in | out} | redistribute {bgp
autonomous-system | direct | eigrp id | ospf id | rip id | static}} [vrf vrf-name]
Syntax Description
Command Default None
Command Modes Any command mode
Command History
instance-tag (Optional) Instance tag. Specify as an alphanumeric string of up to 20
characters.
area Clears policy statistics for an area.
area-id Area ID as an integer or IP address.
filter-list Specifies the policy statistics for filtered prefixes between OSPF areas.
in Filters prefixes sent into this OSPF area.
out Filters prefixes sent from this OSPF area.
redistribution Clears OSPF route redistribution statistics.
bgp
autonomous-system
Specifies the autonomous system number for the Border Gateway
Protocol. Specify the autonomous system number as
x.y, where the
range is from 1 to 65535 for both x and y, or as a single integer, where
the range is from 1 to 65535.
direct Specifies directly connected routes.
eigrp id Specifies the autonomous system number for the Enhanced Interior
Gateway Protocol. Specify the id argument as any case-sensitive,
alphanumeric string.
ospf id Specifies the Open Shortest Path First version 2 instance. Specify the id
argument as any case-sensitive, alphanumeric string.
rip id Specifies the Routing Information Protocol instance. Specify the id
argument as any case-sensitive, alphanumeric string.
static Specifies static routes.
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.