The mctp
utility provides a userspace interface to query and manage the
state of the kernel MCTP stack, in a similar way to iproute2's ip
utility.
Use mctp help
for the list of available commands:
$ mctp help
mctp link
mctp link show [ifname]
mctp link set [ifname] {unimplemented}
mctp address
mctp address show [IFNAME]
mctp address add <eid> dev <IFNAME>
mctp address remove <eid> dev <IFNAME> {unimplemented}
mctp route
mctp route show [net <network>]
mctp route add <eid> via <dev>
mctp route del {unimplemented}
mctp neigh
mctp neigh show [dev <network>]
mctp neigh add <eid> dev <device> lladdr <physaddr>
mctp neigh del {unimplemented}