/interface

interface

/interface 的 RouterOS 目录参考。


interface

Type: Directory 带计数器和状态的接口列表。每个接口行统计自己的数据包和字节;以 fp 开头的值显示该流量中 Fast Path 的份额(精简的 CPU 转发;硬件卸载流量不会显示在其中),tx-queue-drop 统计被接口队列丢弃的数据包。

标志名称描述
Ddynamicdynamic(自动创建)
Xdisabled已禁用
Iinactive未激活
Rrunning运行中
Sslaveslave(网桥或绑定成员)
Ppassthroughpassthrough
wpower-limitedpower-limited(在 PoE-out 板卡上,功率预算生效)
参数类型描述
namestring接口名称
mtunum配置的 MTU
l2mtunum配置的二层 MTU
只读参数类型描述
default-namestring接口的出厂设置名称
typestring接口类型
actual-mtunum生效的 MTU(硬件/驱动程序协商)
max-l2mtunum硬件/驱动程序支持的最大二层 MTU
vrfenum接口绑定到的 VRF(主路由表为空)
mac-addressmacAddr接口的 MAC 地址
last-link-down-timedate链路最后一次断开的时间
last-link-up-timedate链路最后一次恢复的时间
link-downsnum链路断开的次数
rx-bytenum接收的字节数
tx-bytenum发送的字节数
rx-packetnum接收的数据包数
tx-packetnum发送的数据包数
rx-dropnum接收并丢弃的数据包数
tx-dropnum传输期间丢弃的数据包数
tx-queue-dropnum被接口队列丢弃的数据包数(拥塞信号)
rx-errornum损坏的接收帧
tx-errornum传输错误
fp-rx-bytenum通过 Fast Path 接收的字节数
fp-tx-bytenum通过 Fast Path 发送的字节数
fp-rx-packetnum通过 Fast Path 接收的数据包数
fp-tx-packetnum通过 Fast Path 发送的数据包数
fp-rps-dropnum在 receive-packet-steering 路径中丢弃的数据包数