这些数据可以通过snmp采集吗
要查看开启了流量统计的 service-instance 的统计数据,最直接的方法是使用 display service-instance interface 命令。
在任意视图下执行 display service-instance interface 命令,并配合接口类型和编号,即可看到该接口上所有或指定 service-instance 的详细信息,其中就包括流量统计。
该命令的格式为:display service-instance interface interface-type interface-number [ service-instance instance-id ]
interface-type interface-number:指定接口类型和编号。
service-instance instance-id:可选项,指定要查看的 service-instance 的编号。如果不指定,则会显示该接口上配置的所有 service-instance 的信息。
使用示例:
假设我们想查看接口 GigabitEthernet 1/0/1 上 ID 为 5 的 service-instance 的统计信息,可以输入如下命令:
命令的输出结果中,包含了我们关心的双向流量统计信息:
Statistics on the PW in the inbound direction:接口入方向(接收)的统计,包括处理的字节数 (Bytes) 和包数 (Packets)。
Statistics on the PW in the outbound direction:接口出方向(发送)的统计,包括处理的字节数 (Bytes) 和包数 (Packets)。
如果想查看接口 GigabitEthernet 1/0/1 上所有 service-instance 的信息,可以省略 service-instance 参数:
这些数据可以通过snmp采集吗
这些数据可以通过snmp采集吗
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这些数据可以通过snmp采集吗