clear (ospf | ospf3) statistics
语法
clear (ospf | osfp3) statistics <instance instance-name> <logical-system (all | logical-system-name)> <realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)>
语法(EX 系列交换机和 QFX 系列)
clear (ospf | osfp3) statistics <instance instance-name>
描述
清除开放最短路径优先 (OSPF) 统计信息。
选项
none | 清除 OSPF 统计信息。 |
instance instance-name | (可选)仅清除指定路由实例的统计信息。 |
logical-system (all | logical-system-name) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。 |
realm (ipv4-multicast | ipv4-unicast | ipv6-multicast) | (可选)(仅限 OSPFv3)清除指定 OSPFv3 域或地址家族的统计信息。 |
必需的权限级别
清楚
输出字段
有关输出字段的解释,请参阅 show (ospf | ospf3) 统计数据 。
示例输出
clear ospf 统计信息
以下示例输出在输入命令之前和之后 clear ospf statistics
显示 OSPF 统计信息:
user@host> show ospf statistics Packet type Total Last 5 seconds Sent Received Sent Received Hello 3254 2268 3 1 DbD 41 46 0 0 LSReq 8 7 0 0 LSUpdate 212 154 0 0 LSAck 65 98 0 0 DBDs retransmitted : 3, last 5 seconds : 0 LSAs flooded : 12, last 5 seconds : 0 LSAs flooded high-prio : 0, last 5 seconds : 0 LSAs retransmitted : 0, last 5 seconds : 0 LSAs transmitted to nbr: 3, last 5 seconds : 0 LSAs requested : 5, last 5 seconds : 0 LSAs acknowledged : 19, last 5 seconds : 0 Flood queue depth : 0 Total rexmit entries : 0 db summaries : 0 lsreq entries : 0 Receive errors: 626 subnet mismatches user@host> clear ospf statistics user@host> show ospf statistics Packet type Total Last 5 seconds Sent Received Sent Received Hello 3 1 3 1 DbD 0 0 0 0 LSReq 0 0 0 0 LSUpdate 0 0 0 0 LSAck 0 0 0 0 DBDs retransmitted : 0, last 5 seconds : 0 LSAs flooded : 0, last 5 seconds : 0 LSAs flooded high-prio : 0, last 5 seconds : 0 LSAs retransmitted : 0, last 5 seconds : 0 LSAs transmitted to nbr: 0, last 5 seconds : 0 LSAs requested : 0, last 5 seconds : 0 LSAs acknowledged : 0, last 5 seconds : 0 Flood queue depth : 0 Total rexmit entries : 0 db summaries : 0 lsreq entries : 0 Receive errors: None
版本信息
在 Junos OS 7.4 版之前引入的命令。
realm
Junos OS 9.2 版中引入的选项。