1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0"?> <interfaceDefinition> <node name="show"> <children> <node name="ip"> <children> <leafNode name="ports"> <properties> <help>Show IP ports in use by various system services</help> </properties> <command>sudo /usr/bin/netstat -tulnp</command> </leafNode> </children> </node> </children> </node> </interfaceDefinition>