维护NetStream
介绍维护NetStream的方法。
- 监控NetStream运行状态
在日常维护工作中,可以在任意视图下选择执行以下命令,了解NetStream的运行状况。 - 清除NetStream模板统计信息
当用户希望重新对NetStream模板输出进行统计,可以使用先此命令清除历史统计数据。
监控NetStream运行状态
在日常维护工作中,可以在任意视图下选择执行以下命令,了解NetStream的运行状况。
操作步骤
- 使用display ip netstream cache origin slot slot-id命令查看NetStream流缓存区的信息。
- 使用display ip netstream statistics slot slot-id命令查看NetStream报文的统计信息。
- 使用display ip netstream statistics interface interface-type interface-number命令查看接口采样报文的统计信息。
- 使用display netstream { all | global | interface interface-type interface-number }命令查看各级视图下的NetStream配置信息。
- 使用display ip netstream cache { as | as-tos | bgp-nexthop-tos | destination-prefix | destination-prefix-tos | index-tos | mpls-label | prefix | prefix-tos | protocol-port | protocol-port-tos | source-prefix | source-prefix-tos | source-index-tos | vni-sip-dip | vlan-id } slot slot-id命令查看缓存区中各种聚合的信息。
- 使用display ip netstream export option命令查看输出选项模板信息。
- 使用display ipv6 netstream cache origin slot slot-id命令查看NetStream流缓存区的信息。
- 使用display ipv6 netstream cache { as | as-tos | bgp-nexthop-tos | destination-prefix | destination-prefix-tos | index-tos | prefix | prefix-tos | protocol-port | protocol-port-tos | source-prefix | source-prefix-tos | mpls-label | vlan-id } slot slot-id命令查看缓存区中各种聚合的信息。
- 使用display ip netstream sampler-id allocated-info [ slot slot-id ]命令查看指定接口板的采样ID分配信息。