User Tools

Site Tools


juniper:configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:
 +===== Конфигурация после первой загрузки свитча/роутера =====
 +
 +<code>
 +login: root
 +password: <empty>
 +
 +root@% cli
 +root> configure
 +
 +set system root-authentication plain-text-password
 +
 +set system host-name <host-name>
 +set routing-options static route default next-hop <address>
 +set routing-options static route remote-prefix next-hop <destination-ip> retain no-readvertise
 +
 +set interfaces <em0/fxp0> unit 0 family inet address <address>/<prefix>
 +
 +set system services ssh
 +
 +</code>
 +
 +===== Дополнительные конфиги для всех устройств =====
 +
 <code> <code>
 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 "Ukraine, Kiyv, SomeAddress str."
 +set snmp contact "email@address"
 +set snmp community <community> authorization read-only
 +
 +</code>
 +
 +===== Дополнительные конфиги для роутера =====
 +
 +<code>
 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 "Ukraine, Kiyv, Prahovyh 50b" 
-set snmp contact "noc@mirohost.net" 
-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
 +
 +</code>
 +
 +===== Дополнительные конфиги для свитчей
 +
 +===== Ошибки и методы их решения =====
 +
 +==== Rescue configuration is not set ====
 +
 +<code>
 +switch> request system configuration rescue save
 +
 </code> </code>
  
  
juniper/configuration.1596093186.txt.gz · Last modified: 2020/07/30 10:13 by rb