commit
The command allows to apply (enable) the configuration changes. RUNNING configuration is replaced by CANDIDATE configuration. To enable the changes applied, you need to confirm the operation by ‘confirm’ command during the time period not exceeding the acknowledgement timer lifetime.
Syntax
commit
Parameters
Command contains no arguments.
Command mode
ROOT
Example
ma4000# commit
The configuration changes made in the current CLI transaction are applied.
confirm
The command is intended for confirmation of configuration application. If no confirmation has been entered within the specified time (commit), after a configuration change, the last confirmed configuration will be automatically restored. Automatic rollback system totally prevents loss of connection with the device.
Command syntax
confirm
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# confirm
Confirmation of configuration changes.
restore
This command allows to cancel the unconfirmed application of the configuration and return to the last confirmed one. Undoing changes can be carried out only until ‘confirm’ command is entered. When executing ‘restore’ command, there is a loss of unconfirmed configuration.
Syntax
restore [configuration section]
Parameters
[configuration section] – configuration section, optional parameter:
- pp4x – central switch management;
- profiles olt – PLC board OLT profiles;
- profiles ont – ONT board profiles;
Slot <NUMBER> – interface module configuration, where <NUMBER> – interface module number, may take values [0 .. 15].
Command mode
ROOT
Example
ma4000# restore
Reversion to the last confirmed configuration is completed.
rollback
The command allows to cancel not applied configuration changes. As a result of command execution, CANDIDATE configuration will be deleted. The command may be used only until the commit command is entered.
Syntax
rollback
Parameters
Command contains no arguments.
Command mode
ROOT
Example
ma4000# rollback
Cancellation of all not applied configuration changes has been made.
default
This command resets the configuration to default.
The command without specifying a parameter (configuration section) will be executed for the whole device, otherwise the factory default values will be set for the corresponding parts of the configuration.
Global reset of the configuration to the factory settings deletes all log files, ONT files, PP4/profile/slot configuration files.
The command requires confirmation.
Syntax
default [configuration section]
Parameters
[configuration section] – configuration section, optional parameter:
- pp4x – central switch management;
- profiles olt – PLC board OLT profiles;
- profiles ont – PLC board ONT profiles.
Slot <NUMBER> – interface module configuration, where <NUMBER> – interface module number, may take values [0 .. 15].
Command mode
ROOT
Example
ma4000# default Entire candidate configuration will be reset to default, all settings will be lost upon commit. Additional firmware will be deleted. Do you really want to continue ? y Candidate configuration for PLC8/ONT profiles has been reset to default Candidate configuration for PLC8/OLT profiles has been reset to default Candidate configuration for slot 0 has been reset to default Candidate configuration for slot 1 has been reset to default Candidate configuration for slot 2 has been reset to default Candidate configuration for slot 3 has been reset to default Candidate configuration for slot 4 has been reset to default Candidate configuration for slot 5 has been reset to default Candidate configuration for slot 6 has been reset to default Candidate configuration for slot 7 has been reset to default Candidate configuration for slot 8 has been reset to default Candidate configuration for slot 9 has been reset to default Candidate configuration for slot 10 has been reset to default Candidate configuration for slot 11 has been reset to default Candidate configuration for slot 12 has been reset to default Candidate configuration for slot 13 has been reset to default Candidate configuration for slot 14 has been reset to default Candidate configuration for slot 15 has been reset to default PP4X candidate configuration has been reset to default. Boot candidate configuration has been reset to default. Firmwaredeletingfinished. load-1-3-2#
All configuration sections have been reset to their original state.
firmware select image-alternate
The command is designed to change the active firmware image during reboot on a specified PP4X module.
Syntax
firmware select image-alternate [unit <NUMBER>]
Parameters
<NUMBER> – PP4X module number, may take values [1 .. 2].
The command requires confirmation.
Command mode
ROOT
Example
ma4000# firmware select image-alternate unit 1 WARNING: operations with concrete unit aren't safe !!! Set image 1 as active on unit 1? (y/N) y Verifying image 1 on unit 1, please wait... Updating unit 1... Firmware image 1 on unit 1 has been selected as the active image. When the unit is booted next time, it will use image 1. You will need to confirm that the active image on the unit is working properly by entering 'firmware pp4x confirm unit 1' command. If the command will not be entered in 10 minutes after the unit has booted, the unit will automatically reboot, and image 0 will be selected as the active image. Request complete.
firmware select image-current
The command is designed to select the current firmware image at reboot on a specified PP4X module. The command is executed if the next reboot is required from the current image, if the image was previously changed with the firmware select image-alternate commands.
The command requires confirmation.
Syntax
firmware select image-current [unit <NUMBER>]
Parameters
<NUMBER> – module number, may take values [1 .. 2].
Command mode
ROOT
Example
ma4000# firmware select image-current unit 1 WARNING: operations with concrete unit aren't safe !!! WARNING: firmware upgrade is already in progress on unit 1. To complete the firmware upgrade, do the following. 1. Reboot the unit. 2. Confirm that the active image on the unit is working properly by entering 'firmware pp4x confirm unit 1' command. If the command will not be entered in 10 minutes after the unit has rebooted, the unit will automatically reboot, and image 0 will be selected as the active image. Alternatively, you may choose to ignore this warning and proceed with the command to set another image as active. Proceed? y Set image 0 as active on unit 1? (y/N) y Verifying image 0 on unit 1, please wait... Updating unit 1... Firmware image 0 on unit 1 has been selected as the active image. When the unit is booted next time, it will use image 0. Request complete.
firmware confirm
The command is used to confirm the correctness of firmware download.
Syntax
firmware confirm
Parameters
Command contains no arguments.
Command mode
ROOT
Example
ma4000# firmware confirm
copy
This command allows:
- copy the file from the TFTP server to the Flash memory of the device;
- copy the file from the Flash memory of the device to the TFTP server;
- copy the file from the Flash memory of the firast device to the Flash memory of the second device;
Syntax
copy <SOURCE-URL> <DESTINATION-URL>
Parameters
<SOURCE-URL> – URL source, specified as:
src: | Description |
---|---|
Download FILE file from external TFTP server of HOST to the device. | |
Download FILE file from external HTTP server of HOST to the device. | |
Download the system configuration file in text form. | |
Download the system configuration file as tar.gz archive. | |
Download the system configuration file as ZIP archive. | |
Download the management module (РР4X) configuration file in text form. | |
Download the line card (PLC8) configuration file in text form. | |
Download the OLT profile configuration file in text form. | |
Download the ONT profile configuration file in text form. | |
Upload the FILE log file (see the list of existing files: show log) to an external TFTP server. Files from the /tmp/syslog/ directory. | |
Upload the FILE log file to an external TFTP server. Files from the /mnt/log/ directory. | |
Upload the ONT firmware file to an external TFTP server. |
<DESTINATION-URL> – destination URL, specified as:
dst : | Description |
---|---|
Upload the FILE file to an external TFTP server of the HOST. | |
Upload the FILE file to an external HTTP server of the HOST. | |
Restore system configuration from an uploaded file. | |
Restore the configuration of the management module (PP4X) from the uploaded file. | |
Restore the line card configuration (PLC8) from the uploaded file. | |
Restore OLT profile configuration from an uploaded file. | |
Restore ONT profile configuration from an uploaded file. | |
Upload the ONT firmware file to the system. | |
Upload and install the system firmware to an inactive partition. | |
Upload and install the license |
Command mode
ROOT
Example
ma4000# copy tftp://192.168.16.100/firmware.3.22.0.372.ma4k fs://firmware Source: Protocol: 'tftp' Hostname: '192.168.16.100' Path: 'firmware.3.22.0.372.ma4k' Filename: 'firmware.3.22.0.372.ma4k' Destination: Protocol: 'fs' Kind: container Copying file from host 192.168.16.100, remote path firmware.3.22.0.372.ma4k... Copying file: done (rc 0). Installing firmware, please wait... Firmware installation finished.
cli session-timeout
This command sets the inactivity time, after which the exit from the current CLI-session will be performed.
Syntax
cli session-timeout <TIME>
Parameters
<TIME> – inactivity time, after which the CLI connection will be closed, [0..2103840] minutes.
Command mode
CONFIG
Example
ma4000(config)# cli session-timeout 1
cli max-sessions
This command sets the maximum number of CLI sessions running simultaneously.
Syntax
cli max-sessions <VALUE>
Parameters
<VALUE> – maximum number of CLI sessions running simultaneously, [1..10].
Command mode
CONFIG
Example
ma4000(config)# cli max-sessions 5
cli display
This command sets the output format of the ONT list (show interface ont <SLOT/PORT/ONTID> connected and show interface ont <SLOT/PORT/ONTID> online)
Syntax
cli display <VALUE>
Parameters
<VALUE> – customizable display field:
- config-password – ONT OMCI password, specified in configuration
- description – ONT description
- equipment-id – board type
- gpon-port – channel number to which the ONT is connected
- profile <PROFILE> – ONT profiles:
<PROFILE> – profile type: cross-connect, dba, management, ports, scripting, shaping
- received-password – ONT OMCI password, specified on ONT
- rssi – level of received signal on OLT from ONT
- status – ONT operation status
- version – firmware version
Command mode
CONFIG
Example
ma4000(config)# cli display profile cross-connect
show cli
This command is used to view CLI settings (maximum number and inactivity time for CLI sessions, display show interface ont <SLOT/PORT/ONTID> connected and show interface ont <SLOT/PORT/ONTID> online command fields).
Syntax
show cli
Parameters
Command contains no arguments.
Command mode
ROOT
Example
ma4000# show cli Cli: Session timeout: 5 Confirm timeout: 5 Custom ont list showing: Ont id: enabled GPON-port: enabled Enabled: enabled Rssi: enabled Profile shaping: disabled Profile ports: disabled Profile management: disabled Profile scripting: disabled Profile cross connect: enabled Profile DBA: disabled Version: enabled Equipment id: enabled Config password: disabled Received password: enabled Description: enabled Max session: 10
firmware ont auto update add
This command adds an entry to the list of rules for ONT firmware autoupdate.
Syntax
firmware ont auto update add <NAME> <TYPE> <VERSION> <FILE>
Parameters
<NAME> – entry name, specified as the string of up to 32 characters;
<TYPE> – ONT type, specified as the string of up to 32 characters;
<VERSION> – ONT firmware version, that requires update;
<FILE> – the name of the ONT firmware file that will be used to update ONT.
Command mode
ROOT
Example
ma4000# firmware ont auto update add entry 1 NTP-RG 1.1.1 firmware.bin
firmware ont auto update edit
This command edits the entry from the list of rules for ONT firmware autoupdate.
Syntax
firmware ont auto update edit<NAME> <TYPE> <VERSION> <FILE>
Parameters
<NAME> – entry name, specified as the string of up to 32 characters;
<TYPE> – ONT type, specified as the string of up to 32 characters;
<VERSION> – ONT firmware version, that requires update;
<FILE> – the name of the ONT firmware file that will be used to update ONT.
Command mode
ROOT
Example
ma4000# firmware ont auto update edit 1 NTP-RG 1.1.1 firmware.bin
firmware ont auto update delete
This command removes a certain entry from the list of ONT firmware autoupdate rules.
Syntax
firmware ont auto update delete <NAME>
Parameters
<NAME> – entry name, specified as the string of up to 32 characters;
Command mode
ROOT
Example
ma4000# firmware ont auto update delete entry 1
firmware ont auto update immediate
This command enables the mode of immediate updating of all connected ONTs.
Syntax
firmware ont auto update immediate
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# firmware ont auto update immediate
firmware ont auto update postpone
This command enables the delayed ONT update mode when they are connected.
Syntax
firmware ont auto update postpone
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# firmware ont auto update postpone
firmware ont delete image
This command removes ONT files from the system.
Syntax
firmware ont delete image [<NAME>]
Parameters
[<NAME>] – file name, the list of available files can be viewed by the show firmware ont command.
Command mode
ROOT
Example
ma4000# firmware ont delete image ntp-rg-1.2.3.bin
license set
This command is used to upload the license file to the basket.
Syntax
license set “””<LICENSE>”””
Parameters
<LICENSE> – full content of the license file obtained from the representative of Eltex Enterprise Ltd.
Command mode
ROOT
Example
ma4000# MA_135_load# license set """LICENSE""" License successfully installed. MA_135_load#
show firmware
This command displays the available firmware on the PP4X modules:
- Unit – PP4X module number;
- Image – firmware file ID;
- Running – specifies whether this configuration is current (yes/no);
- Boot – * specifies the firmware file that will be selected the next time the system boots up;
- Version – firmware version;
- Date – firmware date.
Syntax
show firmware
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show firmware Firmware status: ~~~~~~~~~~~~~~~~ Unit Image Running Boot Version Date ---- ----- ------- ----------- ------------------- ------------------- 1 0 Yes * 1 3 2 372 40813 07-Nov-2014 08:59:37 1 1 No 1 3 2 372 40813 07-Nov-2014 08:59:37 2 0 No 1 3 2 372 40813 07-Nov-2014 08:59:37 2 1 Yes * 1 3 2 372 40813 07-Nov-2014 08:59:37 "*" designates that the image was selected for the next bootshow configuration
The command is used to display the current boot configuration.
show firmware ont
This command displays the list of ONT firmware files uploaded to the system.
Syntax
show firmware ont
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# load-1-3-2# show firmware ont ONT firmware images: ~~~~~~~~~~~~~~~~~~~~ # Filename Version Hardware ---- --------------------------- -------------------- -------------------- 1 ntu-rg-3.50.2.1208.fw.bin ---- --------------------------- -------------------- -------------------- 2 ntu-2-3.50.2.1193.fw.bin ---- ------------------------- ---------------------- -------------------- 3 ntp-rg-revc-d3.20.2.471.fw.bin
show firmware ont auto update state
This command is used to view the set ONT autoupdate mode (immediate or postpone).
Syntax
show firmware ont auto update state
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show firmware ont auto update state Auto-update ONT: immediate
show firmware ont auto update entries
This command is used to view the list of rules for ONT firmware autoupdate.
Syntax
show firmware ont auto update entries
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show firmware ont auto update entries
show running-config
This command is used to view the current system configuration.
Syntax
show running-config [PARAM][VALUE]
Parameters
aaa | displays current authentication, authorization and accounting settings to manage user access to the system |
access-list | displays the current access list settings |
alarm | displays the current configuration of all alarms |
all | displays the full current configuration of the system |
backup | displays current device backup configuration settings |
backup-interface | displays current backup interface settings |
cli | displays the current command line configuration |
clock | displays the current clock settings |
dhclient | displays the current configuration |
diff | when specifying this command, the running-candidate configuration differences are viewed, optional parameter |
fan | displays the current profile configuration for fans |
gpon | displays the current configuration of the GPON interface module |
hostname | displays the current device name |
interface | displays the current configuration of the selected interface |
ip | displays the current IP routing settings |
ipv6 | displays the current IPv6 settings |
isolation | displays the current configuration of isolation groups |
journal | displays the current configuration for the event log |
lldp | displays the current LLDP settings |
logging | displays the current configuration for the system log |
mac | displays the current configuration for the MAC tables |
management | displays the current network settings of the ma4000 |
mirror | displays current interface mirroring settings |
port-channel | displays the current configuration of the selected logical interface |
profile | displays the current configuration of the selected profile |
qos | displays the current configuration of the qos-mapping |
selective-qinq | displays current Selective Q-in-Q settings |
shelf | displays the current basket slot configuration |
slot | displays the current configuration of the selected slot |
spanning-tree | displays the current STP configuration |
stack | displays the current configuration of the stack interface |
template | displays the current configuration of the ONT configuration templates |
user | displays the current configuration for CLI users |
vlan | displays the current configuration for the VLAN |
Command mode
ROOT
Example
ma4000# show running-config hostname ma4000 management ip 192.168.205.234 255.255.255.0 management gateway 192.168.205.230 management vlan 205
show candidate-config
This command is used to view the configuration that will be set after the settings are applied (commit command).
Syntax
show candidate-config
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show candidate-config hostname ma4000 management ip 192.168.205.234 255.255.255.0 management gateway 192.168.205.230 management vlan 205
show boot
This command allows to view the basic configuration during system boot: device name, VLAN control, debug message management during boot.
Syntax
show boot <CONFIG>
Parameters
<CONFIG> – configuration type:
- running-config – basic configuration from which the system will be booted;
- candidate-config – basic configuration candidate.
Command mode
ROOT
Example
ma4000# show boot candidate-config unit 1 priority 240 object load-1-3-2_2 management-vlan 199 boot-proto no debug-mode 08 00 24 D0 11 38 61 00 00 00 00 00
show startup-config
This command allows to view the configuration to be applied after rebooting the device.
Syntax
show startup-config
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show startup-config hostname ma4000 no lldp enable management ip 192.168.205.234 255.255.255.0 management gateway 192.168.205.230 management vlan 205
show license
This command displays information about the installed license:
- License valid – license validity;
- Carrier – name of the carrier that received the license;
- Licensed ONT count – the maximum number of simultaneously connected licensed ONTs;
- Licensed ONT online – number of connected licensed ONTs;
- SN – the list of serial numbers of PP4X boards supported in the license;
- Mac – list of mac addresses supported in PP4X boards license.
Syntax
show license
Parameters
The command contains no arguments.
Command mode
ROOT
Example
ma4000# show license Active license information: License valid: yes Version: 1.1 Carrier: Eltex Enterprise LLC Licensed vendor: all Licensed ONT count: unlimited Licensed ONT online: 2 SN: OL02000000 Mac: A8:F9:4B:00:00:00