This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
juniper:configuration [2020/07/30 10:13] rb ↷ Page moved and renamed from juniper-configuration to juniper:configuration |
juniper:configuration [2020/11/19 14:11] (current) rb |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Конфигурация после первой загрузки свитча/ | ||
| + | |||
| + | < | ||
| + | login: root | ||
| + | password: < | ||
| + | |||
| + | root@% cli | ||
| + | root> configure | ||
| + | |||
| + | set system root-authentication plain-text-password | ||
| + | |||
| + | set system host-name < | ||
| + | set routing-options static route default next-hop < | ||
| + | set routing-options static route remote-prefix next-hop < | ||
| + | |||
| + | set interfaces < | ||
| + | |||
| + | set system services ssh | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Дополнительные конфиги для всех устройств ===== | ||
| + | |||
| < | < | ||
| set system time-zone Europe/Kiev | set system time-zone Europe/Kiev | ||
| + | |||
| + | set system services ssh root-login-deny | ||
| + | set system services netconf ssh | ||
| + | |||
| + | set snmp location " | ||
| + | set snmp contact " | ||
| + | set snmp community < | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Дополнительные конфиги для роутера ===== | ||
| + | |||
| + | < | ||
| set system no-redirects | set system no-redirects | ||
| set system no-redirects-ipv6 | set system no-redirects-ipv6 | ||
| set system no-ping-record-route | set system no-ping-record-route | ||
| - | |||
| set system arp gratuitous-arp-on-ifup | set system arp gratuitous-arp-on-ifup | ||
| set system arp non-subscriber-no-reply | set system arp non-subscriber-no-reply | ||
| - | |||
| - | set system services ssh root-login-deny | ||
| - | set system services netconf ssh | ||
| - | |||
| - | set snmp location " | ||
| - | set snmp contact " | ||
| - | set snmp community qw45vb89rs authorization read-only | ||
| set forwarding-options hash-key family inet layer-3 | set forwarding-options hash-key family inet layer-3 | ||
| set forwarding-options enhanced-hash-key family inet no-destination-port | set forwarding-options enhanced-hash-key family inet no-destination-port | ||
| set forwarding-options enhanced-hash-key family inet no-source-port | set forwarding-options enhanced-hash-key family inet no-source-port | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Дополнительные конфиги для свитчей | ||
| + | |||
| + | ===== Ошибки и методы их решения ===== | ||
| + | |||
| + | ==== Rescue configuration is not set ==== | ||
| + | |||
| + | < | ||
| + | switch> request system configuration rescue save | ||
| + | |||
| </ | </ | ||