Hi
I want to implement this command:
show interfaces [interface-id] counters
The xml content I edited is as follows, but the effect is not as expected
<COMMAND name="show interface" help="Show Interface info">
<PARAM name="if-subcommands" help="Interface subcommands" mode="switch" ptype="SUBCOMMAND">
<PARAM name="interface-id" help="Physical interface(Multiples of 4)" ptype="UINT" mode="subcommand" optional="true">
<PARAM name="counters" help="Counters for Physical Interfaces" ptype="SUBCOMMAND" mode="subcommand"> </PARAM>
</PARAM>
<PARAM name="Ethernet" help="Physical Interface" ptype="SUBCOMMAND" mode="subcommand">
<PARAM name="phy-if-id" help="Physical interface(Multiples of 4)" ptype="UINT" optional="true"> </PARAM>
</PARAM>
<PARAM name="status" help="Physical interfaces status" ptype="SUBCOMMAND" mode="subcommand"> </PARAM>
</PARAM>
<ACTION>
.......
</ACTION>
<xi:include href="include/pipe.xml"/>
</COMMAND>