Difference between revisions of "Juniper JunOS"

From HackerNet
Jump to: navigation, search
(Created page with "Junos bygger på FreeBSD och man kan därför använda många Linux kommandon. Junos CLI är uppdelat i två kommandolägen. *Operational Mode *Configuration Mode Gå till...")
 
m
Line 5: Line 5:
 
*Configuration Mode
 
*Configuration Mode
  
 
+
==Operational==
 
Gå till operational mode. Här kan man köra kommandon för att troubleshoota och monitorera.
 
Gå till operational mode. Här kan man köra kommandon för att troubleshoota och monitorera.
 
  cli
 
  cli
Line 15: Line 15:
 
  show configuration | display set relative
 
  show configuration | display set relative
  
 +
==Configuration==
 
Gå till configuration mode.
 
Gå till configuration mode.
 
  configure  
 
  configure  

Revision as of 16:35, 17 February 2016

Junos bygger på FreeBSD och man kan därför använda många Linux kommandon.

Junos CLI är uppdelat i två kommandolägen.

  • Operational Mode
  • Configuration Mode

Operational

Gå till operational mode. Här kan man köra kommandon för att troubleshoota och monitorera.

cli

Lista conf i set kommandon. Andvändbart om man behöver paste in conf.

show configuration | display set

Lista conf efter hierarchy level

show configuration | display set relative

Configuration

Gå till configuration mode.

configure 

Går till configuration mode och låser den globala configurationen, så att andra användare inte kan commita förens du lämnat

configuration mode.

configure exclusive

Lämna configuration mode och commita ändringar.

commit and-quit

Lämna configuration mode utan att commita.

exit 

Kör operational mode kommandon i configuration mode.

run <operational mode kommando>