clear alarms
Clear all active alarms.
Syntax
clear alarms
Parameters
The command does not contain any parameters.
Privilege group
commands-general
Command mode
ROOT
Example
LTP-16N# clear alarms
clear alarms 〈FILTER〉
Clear all alarms of the specified type.
Syntax
clear alarms <FILTER> <VALUE>
Parameters
<FILTER> — filters for alarms:
- type — filter alarms by type. <VALUE> values are available for this filter:
- fan — ventilation panel alarms;
- ram — memory lack alarm;
- load-average — CPU load alarm;
- temperature — temperature sensors alarm;
- pon-alarm-los — Loss of Signal pon alarm;
- pon-alarm-losi — Loss of Signal pon alarm for ONUi;
- pon-alarm-lofi — Loss of Frame pon alarm for ONUi;
- pon-alarm-loami — PLOAM Loss pon alarm for ONUi;
- pon-alarm-dowi — Drift of Window pon alarm for ONUi;
- pon-alarm-sdi — Signal Degraded pon alarm for ONUi;
- pon-alarm-sufi — Start-up Failure pon alarm for ONUi;
- pon-alarm-loai — Loss of Acknowledge pon alarm for ONUi;
- pon-alarm-dgi — Dying-Gasp pon alarm for ONUi;
- pon-alarm-dfi — Deactivate Failure pon alarm for ONUi;
- pon-alarm-tiwi — Transmission Interference Warning pon alarm for ONUi;
- pon-alarm-loki — Loss of Key pon alarm for ONUi;
- pon-alarm-lcdgi — Loss of GEM Channel Delineation pon alarm for ONUi;
- pon-alarm-rdii — Remote Defect Indication pon alarm for ONUi;
- login — system login alarm;
- login — system logout alarm;
- config-save — configuration save alarm;
- config-change — cofiguration change alarm;
- severity — filter alarms by importance. <VALUE> values available for this filter:
- info;
- minor;
- major;
- critical.
Privilege group
commands-general
Command mode
ROOT
Example
LTP-16N# clear alarms type fan
clear alarms history
Clear all events.
Syntax
clear alarms history
Parameters
The command does not contain any parameters.
Privilege group
commands-general
Command mode
ROOT
Example
LTP-16N# clear alarms history
clear counters interface front-port
Clear front-port interface counters.
Syntax
clear counters interface 10G-front-port <FRONT-PORT-ID>
Parameters
<FRONT-PORT-ID> — port index in the range [1-8]. The parameter can be set by a range or enumeration (For example: interface 10-front-port 1-5 or interface gpon-port 10,12).
Privilege group
commands-interface-front-port
Command mode
ROOT
Example
LTP-16N# clear counters interface front-port 1-4
clear counters interface ont
Clear counters on the ONT interfaces.
Syntax
clear counters interface ont <PORT-ID>[/ONT-ID] <SIDE>
Parameters
<PORT-ID> — pon port index in the range [1-16]. The parameter can be set by a range or enumeration (For example: interface ont 1-3 or interface ont 1,3,5,7).
[ONT-ID] — ONT index in the range [1-128]. The parameter can be set by a range or enumeration (For example: interface ont 1/5-7 or interface ont 1-7/1,3,5,7).
<SIDE> — side on which the counters will be cleared:
- olt-side — clear counters on the OLT side;
- ont-side — clear counters on the ONT side.
Privilege group
commands-interface-ont
Command mode
ROOT
Example
LTP-16N# clear counters interface ont 1/1 olt-side
clear counters interface port-channel
Clear aggregated port group counters.
Syntax
clear counters interface front-port <PORT-CHANNEL-ID>
Parameters
<PORT-CHANNEL-ID> — aggregated port group index [1-32]. The parameter can be set by a range or enumeration (For example: interface port-channel 1-3 or interface port-channel 1,3,5,7).
Privilege group
commands-interface-front-port
Command mode
ROOT
Example
LTP-16N# clear counters interface port-channel 1-3
clear mac
Clear MAC table.
Syntax
clear mac
Parameters
The command does not contain any parameters.
Privilege group
config-vlan, config-igmp, config-general, config-system, config-logging, config-interface-gpon-port, config-interface-ont, config-interface-ont-profile,
config-interface-front-port, config-access, config-cli, config-management, config-user
Command mode
ROOT
Example
LTP-16N# clear mac Clearing MAC table... All MAC entries
clear mac interface include 〈FILTER〉
Clear MAC table by filter.
Syntax
clear mac interface include <FILTER> <VALUE>
Parameters
<FILTER> — filters for addresses to be cleared:
- interface — clear MAC table by interface. <VALUE> values are available for this filter:
- front-port — clear MAC addresses of the specified front-ports;
- pon-port — clear MAC addresses of the specified pon-ports;
- port-channel — clear MAC addresses of the specified port-channels;
- ont — clear MAC addresses of the specified ONTs.
- mac — clear a specific MAC address in a AA:BB:CC:DD:EE:FF format;
- svid — clear MAC addresses by vlan. The following <VALUE> values are available for this filter: vlan index [1-4094]. The parameter can be specified as a range or an enumeration (For example: vlan 10-30 or vlan 10,40,70);
- cvid — clear MAC addresses by vlan. The following <VALUE> values are available for this filter: vlan index [1-4094]. The parameter can be specified as a range or an enumeration (For example: vlan 10-30 or vlan 10,40,70);
- gem — clear MAC addresses for a specified port. The following <VALUE> values are available for this filter: vlan index [0-4095].
Privilege group
clear mac interface: config-vlan, config-igmp, config-general, config-system, config-logging, config-interface-pon-port, config-interface-ont, config-interface-ont-profile, config-interface-front-port, config-access, config-cli, config-management, config-user;
clear mac vlan: view-configuration, view-firmware, config-vlan, config-igmp, config-ppoe, config-general, config-system, config-logging, config-interface-pon-port, config-interface-ont, config-interface-ont-profile, config-interface-front-port.
Command mode
ROOT
Example
LTP-16N# clear mac interface port-channel 32 Clearing MAC table... 10082 MAC entries
clear log files
Clear log files.
Syntax
clear log files
Parameters
The command does not contain any parameters.
Privilege group
config-system
Command mode
ROOT
Example
LTP-16N# clear log files
clear log 〈FILE_NAME〉
Clear specified log file.
Syntax
clear log <FILE_NAME>
Parameters
<FILE_NAME> – name of the log file to be cleared.
Privilege group
config-system
Command mode
ROOT
Example
LTP-16N# clear log LTP.log
clear dhcp-sessions
Clear active DHCP sessions from dhcp-snooping table.
Syntax
clear dhcp-sessions interface-ont <PORTID>/<ONT-ID>
clear dhcp-sessions interface-ont <PORTID>/<ONT-ID> <IP>
Parameters
<PORT-ID> – PON port index in the range [1-16]. The parameter can be set by a range or enumeration (for example: interface ont 1-3 or interface ont 1,3,5,7);
<ONT-ID> – ONT index in the range [1-128]. The parameter can be set by a range or enumeration (for example: interface ont 1/5-7 or interface ont 1-7/1,3,5,7).
<IP> – IP address specified in AAA.BBB.CCC.DDD format.
Privilege group
commands-general
Command mode
ROOT
Example
LTP-16N# clear dhcp-sessions interface-ont 1