sysconf ctc class show

Show configured classes.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

>Monitor

Syntax

sysconf ctc class show -interface <eth0> | <eth1> | <eth2> | <eth3> | <bond0> | <bond1>

Argument(s) Shortcut Description
-interface <net_device> -i

A network interface devicename on the Luna Network HSM 7 (eth0, eth1, eth2, eth3, bond0, or bond1).

If the “-i” option is not specified, interfaces without class definitions are skipped. If no class is defined, the message “No class configured” is shown.

If an interface is specified with the “-i” option, classes defined for that interface are displayed. If no class definitions are present, a response of “None” is shown.

Example with no interface specified but one is found with class configured

lunash:>sysconf ctc class show
eth0:
          class            min            max
---------------------------------------------
         class1         10kbit         15kbit
---------------------------------------------


Command Result : 0 (Success)

Example with an interface specified and class is configured

lunash:>sysconf ctc class show -i eth2

          class            min            max
---------------------------------------------
         class1         10kbit         15kbit
---------------------------------------------


Command Result : 0 (Success)

Example with an interface specified but no class configured

lunash:>sysconf ctc class show -i eth2 

          class            min            max
---------------------------------------------
NONE
---------------------------------------------


Command Result : 0 (Success)

Example with no interface specified and no class configured

lunash:>sysconf ctc class show

No class configured.


Command Result : 0 (Success)