Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

Загрузка конфигурации по протоколу tftp

Команда для загрузки конфигурации в CLI

copy tftp://<tftp-server-ip>:/<config-file-name> system:candidate-config

SNMP-запрос

snmpset -v2c -c<snmpv2community> -r0 -t300 <esr-ip> \
eltexRowStatus.1 i destroy eltexRowStatus.1 i createAndGo \
eltexSourceLocation.1 i tftp \
eltexSourceAddress.1 s "<tftp-server-ip>" \
eltexSourceFileName.1 s <config-file-name> \
eltexDestinationFileType.1 i candidateConfig \
eltexDestinationLocation.1 i local \
eltexOperationNotification.1 i true \
eltexFileHistoryIndex.1 i 0

Загрузка конфигурации по протоколу ftp без авторизации

Команда для загрузки конфигурации в CLI

copy ftp://<ftp-server-ip>:/<config-file-name> system:candidate-config

SNMP-запрос

snmpset -v2c -c<snmpv2community> -r0 -t300 <esr-ip> \
eltexRowStatus.1 i destroy eltexRowStatus.1 i createAndGo \
eltexSourceLocation.1 i ftp \
eltexSourceAddress.1 s "<ftp-server-ip>" \
eltexSourceFileName.1 s <config-file-name> \
eltexDestinationFileType.1 i candidateConfig \
eltexDestinationLocation.1 i local \
eltexOperationNotification.1 i true \
eltexFileHistoryIndex.1 i 0

Загрузка конфигурации по протоколу ftp с авторизацией

Команда для загрузки конфигурации в CLI

copy ftp://<ftp-user>:<ftp-user-password>@<ftp-server-ip>:/<config-file-name> system:candidate-config

SNMP-запрос

snmpset -v2c -c<snmpv2community> -r0 -t300 <esr-ip> \
eltexRowStatus.1 i destroy eltexRowStatus.1 i createAndGo \
eltexSourceLocation.1 i ftp \
eltexSourceAddress.1 s "<ftp-server-ip>" \
eltexSourceFileName.1 s <config-file-name> \
eltexDestinationFileType.1 i candidateConfig \
eltexDestinationLocation.1 i local \
eltexUserName.1 s <ftp-user-name>: \
eltexUserPassword.1 s <ftp-user-password> \
eltexOperationNotification.1 i true \
eltexFileHistoryIndex.1 i 0

Загрузка конфигурации по протоколу sftp с авторизацией

Команда для загрузки конфигурации в CLI

copy sftp://<name>:<sftp-user-password>@<sftp-server-ip>:/<config-file-name> system:candidate-config

SNMP-запрос

snmpset -v2c -c<snmpv2community> -r0 -t300 <esr-ip> \
eltexRowStatus.1 i destroy eltexRowStatus.1 i createAndGo \
eltexSourceLocation.1 i sftp \
eltexSourceAddress.1 s "<sftp-server-ip>" \
eltexSourceFileName.1 s <config-file-name> \
eltexDestinationFileType.1 i candidateConfig \
eltexDestinationLocation.1 i local \
eltexUserName.1 s <sftp-user>: \
eltexUserPassword.1 s <sftp-user-password> \
eltexOperationNotification.1 i true \
eltexFileHistoryIndex.1 i 0

Загрузка конфигурации по протоколу scp с авторизацией

Команда для загрузки конфигурации в CLI

copy scp://<scp-user>:<scp-user-password>@<scp-server-ip>:/<config-file-name> system:candidate-config

SNMP-запрос

snmpset -v2c -c<snmpv2community> -r0 -t300 <esr-ip> \
eltexRowStatus.1 i destroy eltexRowStatus.1 i createAndGo \
eltexSourceLocation.1 i scp \
eltexSourceAddress.1 s "<scp-server-ip>" \
eltexSourceFileName.1 s <config-file-name> \
eltexDestinationFileType.1 i candidateConfig \
eltexDestinationLocation.1 i local \
eltexUserName.1 s <scp-user>: \
eltexUserPassword.1 s <scp-user-password> \
eltexOperationNotification.1 i true \
eltexFileHistoryIndex.1 i 0

Применение candidate-config в running-config

Команда в CLI

commit

SNMP-запрос

snmpset -v2c -c<snmpv2community> -r1 -t30 <esr-ip> eltexConfigAction.1 i commit 

Подтверждение running-config

Команда в CLI

confirm

SNMP-запрос

snmpset -v2c -c<snmpv2community> -r1 -t30 <esr-ip> eltexConfigAction.1 i confirm
  • Нет меток