--- title: "CLI Commands" slug: "cli-commands-8" tags: ["Hardware", "IPS 11.1.x"] updated: 2026-09-17T07:33:43Z published: 2026-09-17T07:33:43Z canonical: "docs.trellix.com/cli-commands-8" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # CLI Commands This section consists of the CLI commands used for configuring a 100G Active Fail-Open module in three mode levels. 1. Default mode 2. Enable mode 3. Configure mode To access all the commands for a 100G Active Fail-Open kit, except the commands available only to the administrator, enter enable mode. 1. Login to the CLI console of the 100G Active Fail-Open. 2. Enter `enable`. To access all commands for a 100G Active Fail-Open kit, enter configure mode. 1. Login to the CLI console of the 100G Active Fail-Open. 2. Enter `enable`. 3. Enter `configure`. > [!NOTE] > Note > > After each CLI configuration change made, enter the command **write memory** to keep the changes across system reboot. > [!NOTE] > Note > > - For any help regarding the CLI commands, enter **?**. > - Use **UP** or **Down** arrow keys to get past commands already executed. ### afo port-link This command enables or disables the FEC (Forward Error Correction) state for the monitor ports and network ports of the Active Fail-Open modules and segments. **Syntax** `afo port-link <1.1.mon0|1.1.mon1|1.1.net0|1.1.net1|2.1.mon0|2.1.mon1|2.1.net0|2.1.net1|> fec <disable|enable>` | Parameter | Description | | --- | --- | | port <1.1.mon0\|1.1.mon1\|1.1.net0\|1.1.net1\|2.1.mon0\|2.1.mon1\|2.1.net0\|2.1.net1\|> | The following are the monitor and network ports of an Active Fail-Open kit: - 1.1.mon0: Module 1 segment 1 monitor port 0 - 1.1.mon1: Module 1 segment 1 monitor port 1 - 1.1.net0: Module 1 segment 1 network port 0 - 1.1.net1: Module 1 segment 1 network port 1 - 2.1.mon0: Module 1 segment 1 monitor port 0 - 2.1.mon1: Module 1 segment 1 monitor port 1 - 2.1.net0: Module 1 segment 1 network port 0 - 2.1.net1: Module 1 segment 1 network port 1 | | disable | Disables the FEC state | | enable | Enables the FEC state | ### afo segment 1.1 active-op-mode This command configures the active operation mode of an Active Fail-Open kit. **Syntax** `afo segment <1.1/2.1> active-op-mode <bypass|inline|tap>` | Parameter | Description | | --- | --- | | 1.1 | Module 1 segment 1 | | 2.1 | Module 2 segment 1 | | bypass | bypass mode | | inline | inline mode | | tap | tap mode | ### afo segment heartbeat This command configures the heartbeat for an Active Fail-Open segment. **Syntax** `afo segment <1.1/2.1> hb <active-mode|active-restore|recover-time|hold-time|interval>` | Parameter | Description | | --- | --- | | 1.1 | Module 1 segment 1 | | 2.1 | Module 2 segment 1 | | active-mode | Enables or disables the heartbeat checking for an Active Fail-Open segment | | active-restore | Enables or disables the heartbeat active restore for an Active Fail-Open segment | | recover-time <0-50000> | Set the time between 0 (milliseconds) and 50000 (milliseconds) to recover from a heartbeat lost event. | | hold-time <10-50000> | Set the time between 10 (milliseconds) and 50000 (milliseconds) to hold the received heartbeats. | | interval <3-10000> | Set the heartbeat interval time between 3 (milliseconds) and 10000 (milliseconds). | ### afo segment port two-ports-link This command enables or disables the state of two-ports-link for an Active Fail-Open segment. **Syntax:** `afo segment <1.1|2.1> port two-ports-link <disable|enable>` | Parameter | Description | | --- | --- | | 1.1 | Module 1 segment 1 | | 2.1 | Module 2 segment 1 | | disable | Disables the status of two-ports-link | | enable | Enables the status of two-ports-link | ### afo segment port two-ports-link-threshold This command sets the two-ports-link-threshold value for an Active Fail-Open segment. **Syntax:** `afo segment <1.1|2.1> port two-ports-link-threshold <4-25 sec>` | Parameter | Description | | --- | --- | | 1.1 | Module 1 segment 1 | | 2.1 | Module 2 segment 1 | | <4-25 sec> | An integer between 4 (seconds) and 25 (seconds) > [!NOTE] > Note > > By default, the threshold value is 4 seconds. | ### clear afo error rxtx This command clears the received and transmitted errors of an Active Fail-Open module and segment. **Syntax** `clear afo error rxtx <all|module|segment>` | Parameter | Description | | --- | --- | | all | All received and transmitted errors of an Active Fail-Open kit | | module <1\|2> | All received and transmitted errors of an Active Fail-Open module 1 and 2 | | segment <1.1\|2.1> | All received and transmitted errors of an Active Fail-Open segment - 1.1: Module 1 segment 1 - 2.1: Module 2 segment 1 | ### clear afo stats This command clears the statistics of an Active Fail-Open kit. **Syntax** `clear afo stats <all|module<1|2>|port <1.1.mon0|1.1.mon1|1.1.net0|1.1.net1|2.1.mon0|2.1.mon1|2.1.net0|2.1.net1|>|segment<1.1|2.1>>` | Parameter | Description | | --- | --- | | all | All statistics of the Active Fail-Open kit | | module <1\|2> | All statistics of the Active Fail-Open module 1 and 2 | | port <1.1.mon0\|1.1.mon1\|1.1.net0\|1.1.net1\|2.1.mon0\|2.1.mon1\|2.1.net0\|2.1.net1\|> | Statistics of the following Active Fail-Open monitor and network ports: - 1.1.mon0: Module 1 segment 1 monitor port 0 - 1.1.mon1: Module 1 segment 1 monitor port 1 - 1.1.net0: Module 1 segment 1 network port 0 - 1.1.net1: Module 1 segment 1 network port 1 - 2.1.mon0: Module 1 segment 1 monitor port 0 - 2.1.mon1: Module 1 segment 1 monitor port 1 - 2.1.net0: Module 1 segment 1 network port 0 - 2.1.net1: Module 1 segment 1 network port 1 | | segment <1.1\|2.1> | Statistics of the Active Fail-Open segment - 1.1: Module 1 segment 1 - 2.1: Module 2 segment 1 | ### cli clear-history This command clears the CLI command history for the current user. **Syntax** `cli clear-history` ### clock set date This command sets the system date. **Syntax** `clock set date <yyyy-mm-dd>` | Parameter | Description | | --- | --- | | | Set the year, month, and date for the system date. | ### clock set time This command sets the system time. **Syntax** `clock set time <hh:mm:ss>` | Parameter | Description | | --- | --- | | | Set the exact hour, minute, and seconds for the system time. | ### clock timezone This command sets the system time zone area. **Syntax** `clock timezone <region> area <place>` | Parameter | Description | | --- | --- | | | Select the region for the timezone from the list available. | | | For the region selected, select the place from the list available. | ### com speed This command sets the serial console speed. **Syntax:** `com speed <speed>` | Parameter | Description | | --- | --- | | | Speed setting of 9600, 34800, or 115200 > [!NOTE] > Note > > 115200 is the default speed value for a 100G Active Fail-Open Chassis. | ### configurations reset This command resets the system to default configurations. **Syntax:** `configurations reset` ### configurations restore This command restores the system configuration from a saved configuration file. **Syntax:** `configurations restore <temp_afo_100G| is_config_yyyymmddHHMMSS>` | Parameter | Description | | --- | --- | | temp_afo_100G | File name when the configuration file is saved without using the default file name | | is_config_yyyymmddHHMMSS | Each time the current configurations are saved, the default file name is used with the current date and time. | ### configurations save This command saves the current configuration to a file with a default file name `is_config_yyyymmddHHMMSS`. **Syntax:** `configurations save` ### configurations upload This command uploads a configuration file with a default file name `is_config_yyyymmddHHMMSS` from SCP or FTP server. **Syntax:** `configurations upload <url>` | Parameter | Description | | --- | --- | | url | Uses url, such as http://xxx/file or scp://xxx@x.x.x.x: /path/file | ### dump create log This command creates a system log dump file. **Syntax:** `dump create log` ### dump delete This command deletes the selected dump file from the system. **Syntax:** `dump delete is_log_<yyyymmddHHMMSS>.tar.gz` ### enable/disable This command enables or disables administrator privileges. By default, it is disabled. **Syntax:** `IS100G_AFO>enable` `IS100G_AFO#disable` ### exit This command is used to exit the CLI. **Syntax:** `exit` ### log level This command sets the system log level. **Syntax:** `log level <debug|info|notice|warn|err|crit|alert|emerg>` | Parameter | Description | | --- | --- | | debug | System log level is set to debug level. | | info | System log level is set to information level. | | notice | System log level is set to notice level. | | warn | System log level is set to warning level. | | err | System log level is set to error level. | | crit | System log level is set to critical level. | | alert | System log level is set to alert level. | | emerg | System log level is set to emergency level. | ### log max-size This command sets the maximum size of the log file. **Syntax:** `log max-size <1-10>` | Parameter | Description | | --- | --- | | 1–10 MB | An integer value between 1 MB and 10 MB | ### log remote This command enables or disables the remote log. **Syntax:** `log remote <disable|enable>` | Parameter | Description | | --- | --- | | disable | Disables the remote log | | enable | Enables the remote log | ### log remote server This command sets the IP address of the remote log server. **Syntax:** `log remote server <IP address>` | Parameter | Description | | --- | --- | | IP address | Host name or IP address of the remote log server | ### log reset This command resets all system logs. **Syntax:** `log reset` ### management eth-if This command sets the IP address, network mask, default gateway, etc. for the management interface. **Syntax:** `management eth-if <default-gateway|enable|ip|ip-mask>` | Parameter | Description | | --- | --- | | default-gateway | IP address of the default gateway for the management interface | | enable | Enable management interface. | | ip | IP address for the management interface | | ip-mask | IP address of the network mask for the management interface | ### management whoami This command turns on/off the Sys Ok LED in the chassis. **Syntax:** `management whoami <on|off>` | Parameter | Description | | --- | --- | | on | Turns on the Sys Ok LED: Blinking green | | off | Turns off the Sys Ok LED | ### name This command sets the device name. **Syntax:** `name <hostname>` | Parameter | Description | | --- | --- | | hostname | Use the following parameters for the hostname: - 26 alpha: Upper and lowercase (a,b,c,...z and A, B, C,...Z) - 10 digits: 0 1 2 3 4 5 6 7 8 9 - 2 symbols: _ . | ### reload This command reboots the Active Fail-Open Chassis. > [!NOTE] > Note > > To reboot the chassis, you must have administrator privileges which are available in the `enable` mode. **Syntax:** `reload` ### reset This command resets the system to default factory settings. **Syntax:** `reset` ### session expired-time This command sets the CLI session's expiry time. **Syntax:** `session expired-time <0|1-2147483647>` | Parameter | Description | | --- | --- | | 0 | Disables the session expired-time | | 1–2147483647 | The session expired-time ranges from 1 second to 21474483647 seconds | ### show afo state This command displays the AFO kit's Module and Segment status, followed by the Port transceiver information. **Syntax:** `show afo state` **Sample Output:** ``` IS100G_AFO> enable ``` ### show afo state module This command displays the current status of an Active Fail-Open module. **Syntax:** `show afo state module <1/2>` | Parameter | Description | | --- | --- | | 1 | The current status of the Active Fail-Open module 1 | | 2 | The current status of the Active Fail-Open module 2 | **Sample Output:** `IS100G_AFO(config)# show afo state module 1` `Module 1 Status:` `Type : IAC-2P100FOSR-KIT` `SerialNumber : N/A` `TrackingNumber : N/A` `Firmware : IS100G_AFO_MOD_1.0` `Speed : 100G` `Media : 100GBase-SR4` `Transceiver : QSFP28 SR4` ### show afo state segment This command displays the status of an Active Fail-Open segment. **Syntax:** `show afo state segment <1.1|2.1>` | Parameter | Description | | --- | --- | | 1.1 | Module 1 segment 1 | | 2.1 | Module 2 segment 1 | **Sample Output:** `IS100G_AFO(config)# show afo state segment 1.1` `Segment 1.1 Status:` `HbChecking : on` `HbCheckingOffReason : none` `ApplicationState : active` `ActiveState : inline` `PassiveState : inline` `TwoPortLinkTriggered : no` `RX/TX Error Occurred : yes` `PortNet0Link : up` `PortNet1Link : up` `PortMon0Link : up` `PortMon1Link : up` `PortNet0Health : normal` `PortNet1Health : normal` `PortMon0Health : normal` `PortMon1Health : normal` `SegmentSpeed : 100G` ### show afo stats segment This command displays the statistics of an Active Fail-Open segment. **Syntax:** `show afo stats segment <1.1|2.1>` | Parameter | Description | | --- | --- | | 1.1 | Module 1 segment 1 | | 2.1 | Module 2 segment 1 | **Sample Output:** `IS100G_AFO(config)# show afo stats segment 1.1` `Port 1.1.net0 Accumulate Statistics:` `RxPkts : 1080974939617` `RxOctets : 2979243138312184` `RxPktGood : 1080974939617` `RxUnicastPkts : 1080974939617` `RxMulticastPkts : 0` `RxBroadcastPkts : 0` `RxErrors : 0` `RxDiscards : 0` `TxPkts : 1766597576376` `TxOctets : 2965528500585946` `TxPktGood : 1766597576376` `TxUnicastPkts : 1766597576376` `TxMulticastPkts : 0` `TxBroadcastPkts : 0` `TxErrors : 0` `TxDiscards : 0` `Port 1.1.net0 Realtime Statistics:` `RxPkts : 536472` `RxOctets : 1864061376` `RxPktGood : 536472` `RxUnicastPkts : 536472` `RxMulticastPkts : 0` `RxBroadcastPkts : 0` `RxErrors : 0` `RxDiscards : 0` `TxPkts : 1103687` `TxOctets : 1852722738` `TxPktGood : 1103687` `TxUnicastPkts : 1103687` `TxMulticastPkts : 0` `TxBroadcastPkts : 0` `TxErrors : 0` `TxDiscards : 0` `RxUsage : 14.99%` `TxUsage : 14.99%` ### show cli This command displays the current auto logout time in seconds. **Syntax:** `show cli` **Sample Output:** `IS100G_AFO> show cli` `CLI Current auto logout time(s): 10000` ### show clock This command displays the system date and time. **Syntax:** `show clock` **Sample Output:** `IS100G_AFO> show clock` `Current Clock:` `Tue Sep 17 08:31:09 UTC 2022` ### show com configured This command displays the RS232 port configuration. **Syntax:** `show com configured` **Sample Output:** `IS100G_AFO> show com configured` `Com Console Configuration:` `Speed : 115200` `Terminal Type : vt100` ### show configurations detail This command displays the system configuration in detail. **Syntax:** `show configurations detail <select from list>` | Parameter | Description | | --- | --- | |