Symptom
In an ACI leaf the show hardware internal fc-mac... commands are VSH debug supervisor commands. A user needs to issue vsh to issue it. There is a module number required and it looks like it's ignored since I can specify '18' and the command takes it:
Here is shows it is not a supervisor command:
N9K-1# show hardware internal fc?
^
% Invalid parameter detected at '^' marker.
F241-14-09-N9K-1#
Here the commands shows it requires a module number from 1 to 18 even though it already in module 1:
fab2-leaf105-FX# vsh
Cisco iNX-OS Debug Shell
This shell should only be used for internal commands and exists
for legacy reasons. User should use ibash infrastructure as this
will be deprecated.
fab2-leaf105-FX# show hardware internal fc-mac ?
1 based slot number
all-ports Info for all ports
The module number is ignored and can be specified as anything and the command still works:
fab2-leaf105-FX# show hardware internal fc-mac 18 port 32 port-info
*************** GENERAL PORT INFO ***************
Ref Slot Num : 0
Ref Port Num : 0
Hardware Port Num : 0
Asic Num : 0
Port Base Addr : 0x0000000000000000
...etc...
Requests:
1 - Remove '-' and make it just 'fcmac' - This will be consistent with MDS and N9K standalone.
2 - Remove module number from command syntax
Resolution Summary
The command syntax has been changed to:
show hardware internal fcmac port xx options.
This command syntax matches the MDS command syntax.