用户视图下执行display mib-index interface 可以查看接口索引和实际物理端口的对应关系。
<ty9306>display mib-index interface
IfName IfIndex PortIndex
--------------------------------------------------
Eth-Trunk9 182 0
Eth-Trunk50 184 1
Eth-Trunk90 179 2
Eth-Trunk100 176 3
<ty9306>display mib-index interface
IfName IfIndex PortIndex
--------------------------------------------------
Eth-Trunk9 182 0
Eth-Trunk50 184 1
Eth-Trunk90 179 2
Eth-Trunk100 176 3