Beruflich Dokumente
Kultur Dokumente
MostUsedJunosCommandsForDummies
HowtoSetUptheSRX
ServicesGateway
HowtoSetUpOutof
BandRemote
ManagementonJunos
Devices
HowtoRack,Configure,
andAttachDevicestoa
JuniperEXSeries
Switch
MostUsedJunosCommands
ByWalterJ.Goralski,CathyGadecki,andMichaelBushongfromJUNOSOSForDummies,2ndEdition
VersionandVersionDetail
showversion:ListswhichversionofJunosOSisrunningonyourdevice.Italsoshowsthehostnameofthedeviceand
theJunipermodelnumber.
showversiondetail:ShowstheversionofallJunosprocessesrunningonthedevice.
ChassisHardwareandChassisHardwareDetail
showchassishardware:Displayshardwareinventoryofthedeviceandcomponentsinstalledinthedevice.Shows
version,Juniperpartnumber,serialnumber,anddescriptionofeachcomponent.
showchassishardwaredetail:Displaysversion,partnumber,andserialnumberforallmemoryinstalledondevice
components.
Configuration
configure:Accessesconfigurationmode.
showconfiguration:Displaystheconfigurationcurrentlyrunning(active)onthedevice.
commitconfirmed:Activatesconfigurationchanges,butreturnstopreviousconfigurationautomaticallyifyoudont
activelyacceptthenewconfiguration.Use:Whenyourecommittingaconfigurationthatyouthinkmaylockyououtofthe
deviceorotherwisedisruptaccesstothedevice,usethiscommandtoguaranteethatyoullbeabletologintothedevice.
BackUpandRollBack
requestsystemsnapshot:Backsupthedevicesfilesystems,includingconfigurations.
rollback:Returnstothepreviouslyactivedeviceconfiguration.
filelistdetail/configandfilelistdetail/var/db/config:Liststhebackupconfigurationfilesonthe
device.
Interfaces
showinterfacesterse:Listsallinterfaces(networkcards)presentintheboxandshowswhethertheyreoperational
(upordown)andlistsIPaddressesofeachinterface.Thiscommandshowsoneinterfaceperline,soitseasilyscannable.
showinterfaces:Multilineoutputperinterfacelistspropertiesofthephysical(hardware)interface,includingMAC
addressandhardwareMTU,andofthelogical(unitorsubinterface)interface,includingprotocolMTUconfiguredprotocol
addresses.
showinterfacesinterfacename:Multilineoutputforasinglephysicalinterface.Showsbothphysicalandlogical
interfaceinformation.
showinterfacesdetail,showinterfacesdetailinterfacename,showinterfacesextensive,and
showinterfacesextensiveinterfacename:Showincreasinglymoredetailedinformationaboutallinterfacesor
aboutaspecificinterface.Thedetailversionaddsinterfacestatistics,andtheextensiveversionaddserrorcounters.Output
islong,soyougenerallyspecifyaninterfacename.
Routing
showroute:Liststheentriesinallthedevicesroutingtables.Variantsincludethefollowing:
showrouteinet.0:ListsallIPv4routes.
http://www.dummies.com/howto/content/mostusedjunoscommands.html
1/2
16/02/2015
MostUsedJunosCommandsForDummies
showrouteinet.6l:ListsallIPv6routes.
showroutedetail:Addsroutepreference,nexthop,andotherinformation.
showrouteprotocol:Listsallrouteslearnedbythespecifiedroutingprotocol.
showrouteforwardingtable:Liststheentriesinallthedevicesforwardingtables.Use:Letsyoucheckwhich
activeroutesareactuallybeingusedtoforwardtrafficfromthedevicetowardnetworkdestinations.
showripneighbor:ListstheRIProuters(neighbors)inthenetwork.
showisisinterface:ListsthedevicesinterfacesrunningISIS.
showisisadjacency:ListstheISISrouters(adjacencies)inthenetwork.
showospfinterface:ListsthedeviceinterfacesrunningOSPF.
showospfneighbor:ListstheISISrouters(neighbors)inthenetwork.
showbgpneighbor:ListstheBGProuterstowhichthisdeviceisconnected.
showbgpsummary:ListsBGPgroup,peer,andsessionstateinformation.
showrouteprotocolbgp:ListstherouteslearnedfromBGP.
Switching
showEthernetswitchinginterfaces:ListsinformationabouttheswitchedEthernetinterfaces.
showvlans:ListstheconfiguredVLANs.
showvirtualchassisstatus:ListstheroleandmemberIDassignmentsinavirtualchassisconfiguration.
showspanningtreebridge:ListsconfiguredorcalculatedSpanningTreeProtocolparameters.
showspanningtreeinterface:ListsconfiguredorcalculatedinterfacelevelSpanningTreeProtocol(STP)
parameters.
Maintenance
showlogmessages:Liststhesystemlogmessagesinthedefaultsyslogfilemessages.Thesyslogfamilymonitorsall
systemwideoperationsonthedeviceandrecordsthemtosyslogfiles.Thiscommanddisplaystimestampedentriessothat
youcanseewhathasoccurredonthedeviceandwhenitoccurred.Usefulfortrackingdowndevice,network,andtrafficflow
problems.
showsystemuptime:Listshowlongadevicehasbeenupandrunning.Showsyouthelasttimethatthedevicewas
poweredon,restarted,orrebooted.
Recommends
JunosOSForDummies
HowtoGraphFunctionsontheTI84Plus
HowtoImproveSoilQualityforHealthyPlantGrowth
BestBedtimeFoodstoPromoteSleepandBoostMetabolism
10CommonDreamsandTheirMeanings
PromotedStoriesFromAroundTheWeb
Recommendedby
Copyright2015&TrademarkbyJohnWiley&Sons,Inc.Allrightsreserved.
http://www.dummies.com/howto/content/mostusedjunoscommands.html
2/2