Appendix A: Serial Command Line Interface (CLI)
10007175-02 KAT4000 User’s Manual
A-7
VLAN Aware [<portlist>] [enable|disable]
VLAN PVID [<portlist>] [<vid>|none]
VLAN Frame Type [<portlist>] [all|tagged]
Aggr Configuration
Aggr Add <portlist>
Aggr Delete <portlist>
Aggr Lookup <portlist>
Aggr Mode [smac|dmac|xor]
User Group Configuration
User Group Add <grouplist> [<portlist>]
User Group Delete <grouplist>
User Group Lookup <grouplist>
QoS Configuration [<portlist>]
QoS Mode [<portlist>] [tag|port|diffserv]
QoS Default [<portlist>] [<class>]
QoS Tagprio [<portlist>] [<tagpriolist>] [<class>]
QoS DiffServ [<dscpno>] [<class>]
QoS Userprio [<portlist>] [<tagprio>]
QoS Shaper [<portlist>] [disable|<rate>]
QoS Policer [<portlist>] [disable|<rate>]
Mirror Configuration
Mirror Port [<port>]
Mirror Source [<portlist>] [enable|disable]
IP Configuration
IP Setup [<ipaddress> [<ipmask> [<ipgateway>]]] [<vid>]
IP Mode [enable|disable]
IP ARP
IP Ping <ip_addr> <number_of_passes>
Debug Read Register <block> [<subblock>] <address>
Debug Write Register <block> <subblock> <address> <value>
Debug PHY Read <portlist> [<address>]
Debug PHY Write <portlist> <address> <value>
Debug SetRegs [clear | <address>] [<port_no>] [<value>]
Detailed Command Descriptions:
Some of the commands have optional parameters. If the optional parameter is omitted, a
default value may be used or the command may display the current setting (i.e., function as
a get command).
In Example 1, the omitted parameter is interpreted as the display command:
Example 1: Syntax:
System Name [<name>]
>system name <enter>
System Name: SuperSwitch-01
In Example 2, the omitted parameter is interpreted as the default value (VLAN ID 1):
Example 2: Syntax:
MAC Add <macaddress> <portlist> [<vid>]
>mac add 010203ABCDEF 16 <enter>
The following sections list the individual commands by showing the syntax and a descrip-
tion of each command.