查询指定端口的NCSI info。
<tool name> ncsi -i <device name> -t <setting type> -p <port id>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
物理设备名,例如:hinic0、hinic1。 |
<setting type> |
类型。 |
|
<port id> |
端口号。 |
例如:0、1。 |
项目 |
描述 |
---|---|
result |
查询结果。 |
无。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | hinicadm3 ncsi -i hinic0 -p 0 -t 0 =====================ncsi settings ram===================== ncsi_cable_state = 0x0 ncsi_ver = 0x01 ncsi_pkg_id = 0x0 arb_en = 0x1 duplex_set = 0x1 chan_num = 0x1 iid = 0x0 lldp_over_ncsi_enable = 0x0 lldp_over_mctp_enable = 0x0 magic_word = 0xdeadbeef lldp_tx_enable = 0x0 --------------channel 0-------------- aen_en = 0x0 index = 0x0 port = 0x0 state = 0x0 ncsi_port_en = 0x0 --------------capabilities-------------- capa_flags = 0x1d bcast_filter = 0x1 multicast_filter = 0x0 buffering = 0x2ee0 aen_ctrl = 0x3 vlan_count = 0x8 mixed_count = 0x4 multicast_count = 0x4 unicast_count = 0x4 vlan_mode = 0x5 chan_count = 0x4 --------------parameters-------------- mac_address_count = 0x4 mac_address_flags = 0x0 vlan_tag_count = 0x8 vlan_tag_flags = 0x0 link_settings = 0x0 broadcast_packet_filter_settings = 0x0 channel_enable = 0x0 broadcast_packet_filter_status = 0x0 channel_network_tx_enable = 0x0 global_mulicast_packet_filter_status = 0x0 vlan_mode = 0x0 flow_control_enable = 0x0 AEN_control = 0x0 mac_add[0]: 00:00:00:00:00:00 mac_add[1]: 00:00:00:00:00:00 mac_add[2]: 00:00:00:00:00:00 mac_add[3]: 00:00:00:00:00:00 vlan_tag: 0-0-0-0-0-0-0-0 |