Home

Configuration File Management on EX Series

image

Contents

1. 17 Uploading a Configuration File J Web Procedure 19 Loading a Previous Configuration File CLI Procedure 19 Reverting to the Default Factory Configuration for the EX Series Switch 20 Reverting to the Default Factory Configuration by Using the LCD Panel 21 Reverting to the Default Factory Configuration by Using the request system z roize COMMANG zai deae acere hago S pH Sn A E ede eque 21 Copyright O 2012 Juniper Networks Inc iii Configuration File Management on EX Series Switches Chapter 4 Chapter 5 Part 3 Chapter 6 Chapter 7 Reverting to the Default Factory Configuration by Using the load factory default Command 22 Reverting to the Rescue Configuration for the EX Series Switch 23 Setting or Deleting the Rescue Configuration CLI Procedure 24 Setting or Deleting the Rescue Configuration J Web Procedure 25 Configuring Autoinstallation of Configuration Files CLI Procedure 25 Using the Commit Options to Commit Configuration Changes J Web PIONEER dts aud de Qoae oran die dat Di doc once 27 Default Configurations 2 602624 cn tonen Geese REP PERI ES ESL SA 29 EX2200 Switch Default Configuration 29 EX3200 Default Configuration 2224 02828 cut sauna ure 0 dates ee ER 33 EX3300 Switch Default Configuration
2. 37 EX4200 Default Contiguration ssrin sun a sans qi REPRISE 42 EX4500 Default Configuration 46 EX4550 Default Configuration 52 EX6200 Switch Default Configuration 62 EX8200 Switch Default Configuration 63 Configuration Statements 65 ARCHIVAL toss cg aed tks au 66 archive sites Configuration File 67 autoihnstallatioh cs duet RR pices ER YE ERPROSCIQE X IIR AR PRECOR 69 COMMILSVACHIONIZE serans wur ce mePCt PER CC nds 70 CoOsratiofie ecto ators ayctd eacus cud nd ar exec vo ca ein Becker ae 71 configuration servers l i e rr 72 IG LES RS CES Grasses sheets Re aes dius aree aus ird da Er d AGE EE RESI ES 73 transfer interval Configuration 74 transfer on commit 6 eer 75 Administration Routine Monitoring 2 2z 2 2s erm mak meri miii e eeee ee 79 Managing Configuration Files Through the Configuration History J Web Procede 2 seams SoG es deem hoes QUESTI EROMRITTOD cs SqU ROE RATES 79 Displaying Configuration History 79 Displaying Users Editing the Configuration 80 Comparing Configuration Files with the J Web Interface 8
3. ne 108 SHOW SYSt m COMNMIE 2 282280 mie demon desde Pine orar abi desserte 16 show system configuration archival 118 show system configuration rescUe 119 show system rollback 3 sso datas tees Rd ger ke oed ae noe xo Roa dausis 121 test configuration usse ve miam E LG heboduteedoes Pousada 123 Part 4 Troubleshooting Chapter 8 Troubleshooting Procedures 127 Troubleshooting Loss of the Root Password 127 Copyright O 2012 Juniper Networks Inc v Configuration File Management on EX Series Switches vi Copyright O 2012 Juniper Networks Inc List of Figures Part 2 Chapter 3 Part 4 Chapter 8 Configuration Configuration Tas KS xa xcci o al c e a e CR Dn n xn n f d 17 Figure 1 EX Series Switch LCD Panel 2 Troubleshooting Troubleshooting Procedures 127 Figure 2 Connecting to the Console Port on the EX Series Switch 127 Copyright O 2012 Juniper Networks Inc vii Configuration File Management on EX Series Switches viii Copyright O 2012 Juniper Networks Inc List of Tables Part 1 Chapter 1 Chapter 2 Part 2 Chapter 3 Part 3 Chapter 6 Chapter 7 About the Documentation 0 ccc enhn xi Table 1 Notice ICONS a 2a a duet he RR REIR AUT e e D
4. ge 0 1 0 unit O family ethernet switching ge O 1 1 unit O family ethernet switching ge 0 1 2 unit O family ethernet switching ge 0 1 3 unit O f family ethernet switching protocols f igmp snooping vlan all dp interface all Copyright 2012 Juniper Networks Inc Chapter 4 Default Configurations 45 Configuration File Management on EX Series Switches Related Documentation lldp med interface all rstp ethernet switching options f storm control f interface all poe interface all e Reverting to the Default Factory Configuration for the EX Series Switch on page 20 Connecting and Configuring an EX Series Switch CLI Procedure Connecting and Configuring an EX Series Switch J Web Procedure Understanding Configuration Files for EX Series Switches on page 7 EX Series Switches Interfaces Overview EX4500 Default Configuration 46 Each EX Series switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped The default configuration file sets values for system parameters such as syslog and commit configures Ethernet switching on all interfaces enables IGMP snooping and enables the LLDP and RSTP protocols NOTE Interfaces xe 0 0 0 through xe 0 0 39 are the network interface ports Optional uplink modules provide four 10 giga
5. ge 1 1 1 unit 0 family inet filter input mf_plp address 14 1 1 1 30 ge 1 2 1 unit O family inet filter input mf_plp address 13 1 1 1 30 Copyright 2012 Juniper Networks Inc 121 Configuration File Management on EX Series Switches ge 1 3 0 unit 0 family inet filter input mf plp address 12 1 1 1 30 122 Copyright 2012 Juniper Networks Inc test configuration Syntax Release Information Description Options Required Privilege Level List of Sample Output Output Fields Sample Output test configuration Chapter 7 Operational Commands test configuration filename Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Verify that the syntax of a configuration file is correct If the configuration contains any syntax or commit check errors a message is displayed to indicate the line number and column number in which the error was found filename Name of the configuration file syntax only Check the syntax of a partial configuration file without checking for commit errors This option introduced in Junos OS Release 12 1 view test configuration on page 123 When you enter this command you are provided feedback o
6. unit O family ethernet switching xe 0 0 21 unit O f family ethernet switching ge 0 0 22 1 unit O family ethernet switching xe 0 0 22 1 unit O f family ethernet switching Copyright 2012 Juniper Networks Inc Chapter 4 Default Configurations ge 0 0 23 unit O f family ethernet switching xe 0 0 23 unit O f family ethernet switching ge 0 0 24 1 unit O family ethernet switching xe 0 0 24 1 unit O f family ethernet switching ge 0 0 25 1 unit O f family ethernet switching xe 0 0 25 unit O f family ethernet switching ge 0 0 26 unit O family ethernet switching xe 0 0 26 unit O family ethernet switching ge 0 0 27 unit O f family ethernet switching xe 0 0 27 unit O f family ethernet switching ge 0 0 28 unit O f family ethernet switching xe 0 0 28 Copyright 2012 Juniper Networks Inc 57 Configuration File Management on EX Series Switches 58 unit O family ethernet switching ge 0 0 29 1 unit O f family ethernet switching xe 0 0 29 unit O f family ethernet switching ge 0 0 30 unit O f family ethernet switching xe 0 0 30 unit O family ethernet switching ge 0 0 31 unit O family ethernet switching xe 0 0 31 f unit O f family ethernet switching ge 0 1 0 f unit O f family ethernet switching x
7. commit synchronize edit system Statement introduced in Junos OS Release 7 4 Statement introduced in Junos OS Release 10 4 for EX Series switches For devices with multiple Routing Engines only Configure the commit command to automatically result in a commit synchronize action between dual Routing Engines within the same chassis The Routing Engine on which you execute the commit command the requesting Routing Engine copies and loads its candidate configuration to the other the responding Routing Engine Each Routing Engine then performs a syntax check on the candidate configuration file being committed If no errors are found the configuration is activated and becomes the current operational configuration on both Routing Engines the commit synchronize statement Otherwise the commit operation fails On the TX Matrix router synchronization only occurs between the Routing Engines within the same chassis and when synchronization is complete the new configuration is then distributed to the Routing Engines on the T640 routers That is the master Routing Engine on the TX Matrix router distributes the configuration to the master Routing Engine on each T640 router Likewise the backup Routing Engine on the TX Matrix router distributes the configuration to the backup Routing Engine on each T640 router In EX Series Virtual Chassis configurations On EX4200 switches in Virtual Chassis synchronization occurs between the switch in the
8. file checksum sha 256 on page 90 op List of Sample Output file checksum shal on page 89 Output Fields When you enter this command you are provided feedback on the status of your request Sample Output file checksum shal user host gt file checksum shal var db scripts opscript slax SHA1 var db scripts commitscript slax ba9e47120c7ce55cff29afd73eacd370e162c676 Copyright 2012 Juniper Networks Inc 89 Configuration File Management on EX Series Switches file checksum sha 256 Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output Output Fields Sample Output file checksum sha 256 90 file checksum sha 256 lt pathname gt filename Command introduced in Junos OS Release 9 5 Command introduced in Junos OS Release 9 5 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Calculate the Secure Hash Algorithm 2 family SHA 256 checksum of a file pathname Optional Path to a filename filename Name of a local file for which to calculate the SHA 256 checksum maintenance Configuring Checksum Hashes for a Commit Script in the Junos OS Configuration and Operations Automation Guide Configuring Checksum Hashes for an Event Script in the Junos OS Configuration and Operations Automation Guide Configuring Checksum Hashes for an Op Script in the Junos OS Configuration and Operation
9. reset chassis lcd menu reset virtual chassis configuration interfaces ge 0 0 0 unit O f family ethernet switching Copyright O 2012 Juniper Networks Inc ge 0 0 1 unit O family ethernet switching ge 0 0 2 1 unit O f family ethernet switching ge 0 0 3 1 unit O f family ethernet switching ge 0 0 4 1 unit O f family ethernet switching ge 0 0 5 1 unit O family ethernet switching ge 0 0 6 unit O family ethernet switching ge 0 0 7 unit O family ethernet switching ge 0 0 8 1 unit O f family ethernet switching ge 0 0 9 1 unit O family ethernet switching ge 0 0 10 unit O family ethernet switching ge 0 0 11 unit O f family ethernet switching Copyright 2012 Juniper Networks Inc Chapter 4 Default Configurations 39 Configuration File Management on EX Series Switches 40 ge 0 0 12 1 unit O f family ethernet switching ge 0 0 13 unit O f family ethernet switching ge 0 0 14 1 unit O f family ethernet switching ge 0 0 15 unit O family ethernet switching ge 0 0 16 unit O f family ethernet switching ge 0 0 17 unit O f family ethernet switching ge 0 0 18 unit O family ethernet switching ge 0 0 19 f unit O family ethernet switching ge 0 0 20 unit O f family ethernet switching ge 0 0 21 unit O fam
10. show system commit At the Next Reboot on page 117 show system commit Rollback Pending on page 117 show system commit QFX Series on page 117 Output Fields Table 13 on page 116 describes the output fields for the show system commit command Output fields are listed in the approximate order in which they appear Table 13 show system commit Output Fields Field Name Field Description Commit history Displays the last 50 commit operations listed most recent to first The identifier rescue designates a configuration created for recovery using the request system configuration rescue save command Timestamp Date and time of the commit operation Username User who executed the commit operation Commit method Method used to execute the commit operation e cli CLI interactive user performed the commit operation e Junos XML protocol Junos XML protocol client performed the commit operation e synchronize The commit synchronize command was performed on the other Routing Engine snmp An SNMP set request caused the commit operation e button A button on the router or switch was pressed to commit a rescue configuration for recovery e autoinstall A configuration obtained through autoinstallation was committed e other A method other than those identified was used to perform the commit operation 116 Copyright 2012 Juniper Networks Inc Sample Output show system commit show system commit At a Particular
11. 0 15 Copyright 2012 Juniper Networks Inc 31 Configuration File Management on EX Series Switches 32 unit O family ethernet switching ge 0 0 16 f unit O f family ethernet switching ge 0 0 17 unit O family ethernet switching ge 0 0 18 unit O family ethernet switching ge 0 0 19 f unit O f family ethernet switching ge 0 0 20 f unit O family ethernet switching ge 0 0 21 unit O f family ethernet switching ge 0 0 22 1 unit O f family ethernet switching ge 0 0 23 1 unit O f family ethernet switching ge 0 1 0 unit O family ethernet switching ge O 1 1 unit O f family ethernet switching ge 0 1 2 unit O f Copyright O 2012 Juniper Networks Inc Chapter 4 Default Configurations family ethernet switching ge 0 1 3 unit O f family ethernet switching protocols igmp snooping vlan all rstp lldp interface all lldp med interface all ethernet switching options f storm control f interface all Related Configuration Files Terms on page 13 Documentation Connecting and Configuring an EX Series Switch CLI Procedure Connecting and Configuring an EX Series Switch J Web Procedure Understanding Configuration Files for EX Series Switches on page 7 EX2200 Switches Hardware Overview EX3200 Default Configuration Each EX Series switch is programm
12. 1 Select Commit Options gt Discard configuration of your current session along with changes from other user sessions Your changes are discarded after the system validates your configuration 2 Click OK to confirm the discard action Preference Indicates your choice of 1 Select Commit Options gt Preference The Commit Preference committing all global page is displayed configurations together or committing each configuration change immediately 2 Configure the commit options by selecting your preference See Table 10 on page 28 for details on preference options Table 10 Commit Preference Options Option Function Validate and commit Sets the system to validate and force an immediate commit on every screen after every configuration configuration changes change Validate configuration Loads all the configuration changes for an accumulated single commit If there are errors in loading changes the configuration the errors are logged This is the default mode Once you select this option you need to select Commit Options gt Commit to commit your changes Related J Web User Interface for EX Series Switches Overview Documentation EX Series Switch Software Features Overview 28 Copyright O 2012 Juniper Networks Inc CHAPTER 4 Default Configurations EX2200 Switch Default Configuration on page 29 EX3200 Default Configuration on page 33 EX3300 Switch Default Configuration on page 37 EX4
13. Automatic Refreshing of Scripts on EX Series Switches on page 10 e Junos OS Junos XML Management Protocol Guide e Junos OS NETCONF XML Management Protocol Guide request system scripts refresh from event file config txt url http hostl juniper net on page 106 user switch gt request system scripts refresh from event file config txt url http hostl juniper net user switch gt Copyright 2012 Juniper Networks Inc Chapter 7 Operational Commands request system scripts refresh from op Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output Sample Output request system scripts refresh from op file config txt url http hostl juniper net request system scripts refresh from op file file name url url path Command introduced in Junos OS Release 10 1 for EX Series switches Automatically download the initial Junos OS configuration and a set of standard op scripts during a Junos XML management protocol NETCONF session when a switch is brought up for the first time The Junos XML management protocol equivalent for this operational mode command is request script refresh from lt type gt op lt type gt file file name file lt URL gt URL lt URL gt lt request script refresh from gt file file name Name of the file to be downloaded url url path URL of the file to be downloaded maintenance Understanding Automatic
14. EE ea UTMEST xiii Table 2 Text and Syntax Conventions xiii Overview Software Overview 444444 44444 hara 3 Table 3 Jumes OS Processes 444400smma eda ered Sade Gd pupa X Ru da sde 4 Configuration Files Overview lesse hh 7 Table 4 J Web Edit Point amp Click Configuration Links 9 Table 5 J Web Edit Point amp Click Configuration Icons 10 Table 6 J Web Edit Point amp Click Configuration Buttons 10 Table Confisuration File Teres it ss3acaecccdrdtidadabdaddaawdsewedas s 13 Configuration Configuration Tasks 2 252 iix Pet ee c eee Een Dawes Swab A TET 17 Table 8 Options for the load command 17 Table 9 Commit Options ox airce lt ven RR menteur dor e dre 28 Table 10 Commit Preference Options 28 Administration Routine Monitoring 00 0 hh hh 79 Table 11 J Web Configuration History Summary 79 Table 12 J Web Configuration Database Information Summary 80 Operational Cornirmands 2 23 2 1 92 e19 amd ridens sees hana e qux eR AES 83 Table 13 show system commit Output Fields 116 Copyright O 2012 Juniper Networks Inc ix Configuration File Management on EX Series Switches x Copyright 2012 Juniper Networks Inc About the Documentation Documenta
15. FDX 1000baseT FDX auto ehci0 Frescale Integrated USB 2 0 controller iomem 0xf7f22000 0xf7f22503 irq 44 on ocpbusO usb0 EHCI version 1 0 usbO on ehciO usb0 USB revision 2 0 uhub0 Freescale EHCI root hub class 9 0 rev 2 00 1 00 addr 1 uhub0 1 port with 1 removable self powered uhub1 SMSC USB2513Bi class 9 0 rev 2 00 b a0 addr 2 uhub1 multiple transaction translators uhubl 3 ports with 3 removable self powered umassO vendor Ox13fe USB DISK 2 0 rev 2 00 1 00 addr 3 umassO SCSI over Bulk Only quirks 0x0000 umass0 0 0 1 Attached to scbusO Initializing product 123 Copyright O 2012 Juniper Networks Inc 113 Configuration File Management on EX Series Switches 114 Setting up M T interface operations and attributes platform_cookie_read not implemented da0 at umass simO bus 0 target O lun 0 da0 lt USB DISK 2 0 PMAP gt Fixed Direct Access SCSI 0 device da0 40 000MB s transfers da0 3824MB 7831552 512 byte sectors 255H 63S T 487C Trying to mount root from ufs dev da0s1a Attaching packages jbase via dev mdctl Mounted jbase package on dev mdO Verified manifest signed by PackageProduction 11 4 0 Verified jboot signed by PackageProduction 11 4 0 Verified jbase ppc 11 4 20110829 eabu 1202 0 signed by PackageProduction 11 4 0 Mounted jkernel package on dev md1 Verified manifest signed by PackageProduction 11 4 0 veriexec fingerprint for dev 60 file 49356 38a5b5bdf84377
16. Refreshing of Scripts on EX Series Switches on page 10 e Junos OS Junos XML Management Protocol Guide Junos OS NETCONF XML Management Protocol Guide request system scripts refresh from op file config txt url http hostl juniper net on page 107 user switch gt request system scripts refresh from op file config txt url http hostl juniper net user switch gt Copyright 2012 Juniper Networks Inc 107 Configuration File Management on EX Series Switches request system zeroize Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output 108 request system zeroize media Command introduced in Junos OS Release 11 2 for EX Series switches Option media added in Junos OS Release 11 4 for EX Series switches Command introduced in Junos OS Release 12 2 for ACX Series Universal Access Routers Remove all configuration information on the Routing Engines and reset all key values The command removes all data files including customized configuration and log files by unlinking the files from their directories To completely erase user created data so that it is unrecoverable use the media option A CAUTION Before issuing this command use the request system snapshot command to back up the files currently Used to run the switch to a secondary device This command reboots the switch and sets it to the factory default configuration After the reboot
17. Statements archive sites Configuration File Syntax Hierarchy Level Release Information Description Options archive sites f file lt path gt lt filename gt ftp username host lt port gt url path password password http username host lt port gt url path password password pasvftp username host lt port gt url path password password scp username host lt port gt url path password password edit system archival configuration Statement introduced before Junos OS Release 7 4 Statement introduced in Junos OS Release 9 0 for EX Series switches Statement introduced in Junos OS Release 11 1 for the OFX Series Specify where to transfer the current configuration files When specifying a URL in a Junos OS statement using an IPv6 host address you must enclose the entire URL in quotation marks and enclose the IPv6 host address in brackets For example scp username password ipv6 host address lt port gt url path If you specify more than one archive site the router or switch attempts to transfer the configuration files to the first archive site in the list moving to the next only if the transfer fails The format for the destination filename is router name juniper conf gz YYYYMMDD HHMMSS e NOTE Thetime included in the destination filename is always in Coordinated Universal Time UTC regardless of whether the time on the router or switch is configured as UTC or the local time zone Th
18. Time show system commit At the Next Reboot show system commit Rollback Pending show system commit QFX Series user host gt show system commit 2003 07 28 2003 07 25 2003 07 25 2003 07 25 2003 07 25 2003 07 25 uUBBWNF 19 14 22 01 22 01 21 30 13 46 05 33 04 36 132 13 48 i21 PDT PDT PDT PDT PDT PDT rescue 2002 05 10 15 32 03 by by by by by by Chapter 7 Operational Commands root via other regress via cli regress via cli root via button regress via cli root via autoinstall PDT by root via other user host gt show system commit commit requested by root via cli at Tue May 7 15 59 00 2002 user host gt show system commit commit requested by root via cli at reboot user host gt show system commit 0 2005 01 05 15 00 37 PST by root via cli commit confirmed rollback in 3mins user switch gt show system commit QO 2011 11 25 19 17 49 PST by root via cli Copyright O 2012 Juniper Networks Inc 117 Configuration File Management on EX Series Switches show system configuration archival Syntax Release Information Description Options Required Privilege Level List of Sample Output Sample Output show system configuration archival 118 show system configuration archival Introduced in Junos OS Release 7 6 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Display
19. Upgrading Software Using Automatic Software Download on EX Series Switches Getting Started Guide for your router model autoinstallation on page 69 idle timeout Copyright O 2012 Juniper Networks Inc interfaces Syntax Hierarchy Level Release Information Description Options Required Privilege Level Related Documentation Chapter 5 Configuration Statements interfaces f interface name 1 bootp rarp slarp edit system autoinstallation Statement introduced before Junos OS Release 74 Statement introduced in Junos OS Release 9 0 for EX Series switches For J Series Services Routers and EX Series switches only Configure the interface on which to perform autoinstallation A request for an IP address is sent from the interface Specify the IP address procurement protocol bootp Send requests over serial interfaces with Frame Relay rarp Send requests over Ethernet interfaces slarp On J Series Services Routers only Send requests over serial interfaces with HDLC system To view this statement in the configuration system control To add this statement to the configuration Upgrading Software Using Automatic Software Download on EX Series Switches J Series Services Router Basic LAN and WAN Access Configuration Guide autoinstallation on page 69 Copyright O 2012 Juniper Networks Inc 73 Configuration File Management on EX Series Switches transfer interval Configura
20. all the text in the configuration file Press Ctrl C to copy the contents of the configuration text file to the Clipboard Log in to the switch using your username and password To enter configuration mode user switch gt configure You will see this output with the hash or pound mark indicating configuration mode Entering configuration mode edit user switch Load the configuration file edit user switch load merge terminal At the cursor paste the contents of the Clipboard using the mouse and the Paste icon edit user switch load merge terminal Type D ata new line to end input Cursor is here Paste the contents of the clipboard here Press Enter 10 Press Ctrl D to set the end of file marker To view results of the configuration steps before committing the configuration type the show command at the user prompt To commit these changes to the active configuration type the commit command at the user prompt You can also edit the configuration interactively using the CLI and commit it at a later time Related Documentation Uploading a Configuration File J Web Procedure on page 19 Understanding Configuration Files for EX Series Switches on page 7 Copyright O 2012 Juniper Networks Inc Chapter 3 Configuration Tasks Uploading a Configuration File J Web Procedure Related Documentation You can create a configuration file on your local system copy the file to the EX Series switch and t
21. downloads the file installs the file on the switch and commits the configuration Configuring Autoinstallation of Configuration Files CLI Procedure on page 25 Connecting and Configuring an EX Series Switch CLI Procedure Connecting and Configuring an EX Series Switch J Web Procedure Configuration Files Terms on page 13 Configuration Files Terms Table 7 on page 13 lists the various configuration file terms used for EX Series switches and their definitions Table 7 Configuration File Terms Term Definition active configuration The current committed configuration of a switch candidate configuration A working copy of the configuration that allows users to make configurational changes without causing any operational changes until this copy is committed configuration group Group of configuration statements that can be inherited by the rest of the configuration commit a configuration Have the candidate configuration checked for proper syntax activated and marked as the current configuration file running on the switching platform configuration hierarchy The Junos OS configuration consists of a hierarchy of statements There are two types of statements container statements which contain other statements and leaf statements which do not contain other statements All the container and leaf statements together form the configuration hierarchy default configuration The default configura
22. encrypted password 1 kPU w 4FGRAGanJ8U4Yq6sbj7 SECRET DATA services ftp rlogin Copyright 2012 Juniper Networks Inc 19 Configuration File Management on EX Series Switches rsh telnet 120 Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands show system rollback Syntax Release Information Description Options Required Privilege Level List of Sample Output Sample Output show system rollback compare show system rollback number lt compare number gt Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Display the contents of a previously committed configuration or the differences between two previously committed configurations B NOTE The show system rollback command is a purely operational mode command and cannot be issued with run from the configuration mode number Number of a configuration to view The output displays the configuration The range of values is O through 49 compare number Optional Number of another previously committed rollback configuration to compare to rollback number The output displays the differences between the two configurations The range of values is O through 49 view show system rollback compare on page 121 user host gt show system rollback 3 compare 1 edit interfaces
23. lists and describes some options for the load command Table 8 Options for the load command Options Description merge Combines the current active configuration and the configuration in filename or the one that you type at the terminal A merge operation is useful when you are adding a new section to an existing configuration If the active configuration and the incoming configuration contain conflicting statements the statements in the incoming configuration override those in the active configuration Copyright 2012 Juniper Networks Inc 17 Configuration File Management on EX Series Switches Table 8 Options for the load command continued Options Description override Discards the current candidate configuration and loads the configuration in filename or the one that you type at the terminal When you use the override option and commit the configuration all system processes reparse the configuration You can use the override option at any level of the hierarchy replace Searches for the replace tags deletes the existing statements of the same name if any and replaces them with the incoming configuration If there is no existing statement of the same name the replace operation adds the statements marked with the replace tag to the active configuration NOTE For this operation to work you must include replace tags in the text file or in the configuration you type at the terminal 9 Press Ctrl A to select
24. master role and the switch in the backup role On EX8200 switches in a Virtual Chassis synchronization occurs only between the master and backup XRE200 External Routing Engines and quit Optional EX Series only Quit configuration mode if the commit synchronization succeeds comment Optional EX Series only Write a message to the commit log and force Optional EX Series only Force a commit synchronization on the other Routing Engine ignore warnings system To view this statement in the configuration system control To add this statement to the configuration Synchronizing the Routing Engine Configuration Copyright O 2012 Juniper Networks Inc configuration Syntax Hierarchy Level Release Information Description Options Required Privilege Level Related Documentation Chapter 5 Configuration Statements Configuring Multiple Routing Engines to Synchronize Committed Configurations Autornatically configuration f transfer interval interval transfer on commit archive sites f file lt path gt lt filename gt ftp username host lt port gt url path password password http username host lt port gt url path password password pasvftp username host lt port gt url path password password scp username host lt port gt url path password password edit system archival Statement introduced before Junos OS Release 7 4 Statement introduced in Junos OS Release 9 0 f
25. name of a switch The hostname conf file typically contains all the configuration information necessary for the switch with this hostname A default configuration file named switch conf with the minimum configuration necessary to enable you to telnet into the new switch for further configuration Physically attach the switch to the network using a Gigabit Ethernet port If you configure the DHCP server to provide only the TFTP server hostname add an IP address to hostname mapping entry for the TFTP server to the DNS database file on the Domain Name System DNS server in the network If the switch is not on the same network segment as the DHCP server or other device providing IP address resolution configure an existing device as an intermediate device to receive TFTP and DNS requests and forward them to the TFTP server and the DNS server You must configure the LAN or serial interface on the intermediate device with the IP addresses of the hosts providing TFTP and DNS services Connect this interface to the switch If you are using hostname conf files for autoinstallation you must also complete the following tasks Configure the DHCP server to provide a hostname conf filename to each switch Each switch uses its hostname conf filename to request a configuration file from the TFTP server Copy the necessary hostname conf configuration files to the TFTP server Create a default configuration file named network conf and copy it to
26. page 82 Managing Configuration Files Through the Configuration History J Web Procedure Use the Configuration History function to manage configuration files 1 Displaying Configuration History on page 79 Displaying Users Editing the Configuration on page 80 Comparing Configuration Files with the J Web Interface on page 81 Downloading a Configuration File with the J Web Interface on page 81 Ol Be p M Loading a Previous Configuration File with the J Web Interface on page 81 Displaying Configuration History To manage configuration files with the J Web interface select Maintain Config Management gt History The main pane displays History Database Information page Table 11 on page 79 summarizes the contents of the display The configuration history display allows you to e View a configuration Compare two configurations Download a configuration file to your local system Roll back the configuration to any of the previous versions stored on the switch Table 11 J Web Configuration History Summary Field Description Number Version of the configuration file Date Time Date and time the configuration was committed Copyright 2012 Juniper Networks Inc 79 Configuration File Management on EX Series Switches Table 11 J Web Configuration History Summary continued Field Description User Name of the user who committed the configuration Client Method by which the configuration was
27. you configure the commit options for a single commit the system displays warning notifications that remind you to commit your changes immediately An example of such a page is the Interface Page Configure Interface To configure the commit options on an EX Series switch using the J Web interface 1 Select Commit Options Q NOTE All action links except Preference are disabled unless you edit add or delete a configuration Copyright O 2012 Juniper Networks Inc 27 Configuration File Management on EX Series Switches 2 Choose an action See Table 9 on page 28 for details on the actions 3 Configure the commit options by selecting Preference See Table 10 on page 28 for details on preference options Table 9 Commit Options Menu Item Function Your Action Commit Commits the candidate 1 Select Commit Options gt Commit configuration of the current user session along with changes from other user sessions Changes are committed after the system validates your configuration A window displays that the configuration was successfully committed or that the commit failed 2 Click OK Click Details to view the commit log Compare Displays the XML log of pending 1 Select Commit Options gt Compare uncommitted configurations on AS CEMES The XML log of pending configurations on the devices are displayed similar to the CLI interface in a human readable form 2 Click Close Discard Discards the candidate
28. 0 HIDO 80004080 Copyright 2012 Juniper Networks Inc 109 Configuration File Management on EX Series Switches request system zeroize 110 media EX4200 Switch user switch gt request system zeroize media warning System will be rebooted and may not boot without configuration Erase all data including configuration and log files yes no no yes warning ipsec key management subsystem not running not needed by configuration warning zeroizing fpcO master 0 root Waiting max 60 seconds for system process vnlru to stop done Syncing disks vnodes remaining 2 4 2 4 3 2 1100 0 done syncing disks All buffers synced Uptime 14m50s recorded reboot as normal shutdown Rebooting U Boot 1 1 6 Apr 21 2011 13 58 42 Board EX4200 48PX 1 1 EPLD Version 8 0 0x82 DRAM Initializing 512 MB FLASH 8 MB NAND No NAND device found 0 MiB Firmware Version 01 00 00 USB scanning bus for devices 2 USB Device s found scanning bus for storage devices 1 Storage Device s found ELF file is 32 bit Consoles U Boot console FreeBSD PowerPC U Boot bootstrap loader Revision 2 2 vtseng sv1 junos pool27 juniper net Fri Feb 26 17 48 51 PST 2010 Memory 512MB Loading boot defaults loader conf kernel data 0x9abfdc 0xb06e4 syms 0x4 0x83b30 0x4 0xbd7c6 Hit Enter to boot immediately or space bar for command prompt Booting kernel in 1 second Booting kernel Kernel en
29. 000 done syncing disks A11 buffers synced Uptime 5d19h20m26s recorded reboot as normal shutdown Rebooting U Boot 1 1 6 Mar 11 2011 04 39 06 Board EX4200 24T 2 11 EPLD Version 6 0 0x85 DRAM Initializing 1024 MB FLASH 8 MB Firmware Version 01 00 00 USB scanning bus for devices 2 USB Device s found scanning bus for storage devices 1 Storage Device s found ELF file is 32 bit Consoles U Boot console FreeBSD PowerPC U Boot bootstrap loader Revision 2 4 Cuser juniper net Fri Mar 11 03 03 36 UTC 2011 Memory 1024MB bootsequencing is enabled bootsuccess is set new boot device diskOs1 Loading boot defaults loader conf kernel data 0x915c84 0xa1260 syms 0x4 0x7cbd0 0x4 0xb1c19 Hit Enter to boot immediately or space bar for command prompt Booting kernel Kernel entry at 0x800000e0 GDB no debug ports present KDB debugger backends ddb KDB current backend ddb Copyright c 1996 2011 Juniper Networks Inc All rights reserved Copyright c 1992 2006 The FreeBSD Project Copyright c 1979 1980 1983 1986 1988 1989 1991 1992 1993 1994 The Regents of the University of California All rights reserved JUNOS 11 1R1 8 0 2011 03 09 20 14 25 UTC user juniper net volume bui 1d junos 11 1 release 11 1R1 8 obj powerpc bsd kernels JUNIPER EX kernel Timecounter decrementer frequency 50000000 Hz quality 0 cpu0 Freescale e500v2 core revision 2 2 cpu
30. 012 Juniper Networks Inc CHAPTER 5 Configuration Statements Copyright O 2012 Juniper Networks Inc Configuration File Management on EX Series Switches archival Syntax Hierarchy Level Release Information Description Options Required Privilege Level Related Documentation 66 archival f configuration f archive sites f file lt path gt lt filename gt ftp Username host lt port gt url path password password http username host lt port gt url path password password pasvftp username host lt port gt url path password password scp username host lt port gt url path password password transfer interval interval transfer on commit edit system Statement introduced before Junos OS Release 74 Statement introduced in Junos OS Release 9 0 for EX Series switches Statement introduced in Junos OS Release 11 1 for the QFX Series Configure copying of the currently active configuration to an archive site An archive site can be a file or an FTP or SCP location NOTE The edit system archival hierarchy is not available on QFabric systems The remaining statements are explained separately Systems admin To view this statement in the configuration admin control To add this statement to the configuration Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Archive Site Copyright O 2012 Juniper Networks Inc Chapter 5 Configuration
31. 1 Downloading a Configuration File with the J Web Interface 81 Loading a Previous Configuration File with the J Web Interface 81 Verifying Autoinstallation Status on an EX Series Switch 82 Operational Commands 32 04 sense sean Sage Eee 83 clear LOS ic wsidenocE ES eE ES TREE SEES qUs de qe adda eee E Meet 84 clear System commit 12 coccnhnoieniecabertunndadenesqeden teste 85 Ulizirela eMe M ECHTE IEEE 86 file checksum MAS ose dte deerbuteresuernesesRrxerqadoned dah daw guns 88 ile GhEEKSUMUISI alls sess 65 9224 oo Soe are Dee ee ba Ne RS rdc 89 file checksum sha 256 s ek rete dee derer eee bep baden dea desde 90 file xGotmpales us eus oce gem yeso ted verae dene duaevepU UTOR Ot 91 Copyright O 2012 Juniper Networks Inc Table of Contents ME CODY EE ee ce le QU DIRE BAM eee 94 file delete 2 sicssoteshaenesaeheitidenteprii ententsranert oeetest 96 Aj 97 file enarme isces uem dnd eese breue xen ie dans ln wore date Bees ade 99 BIG Sho a com cm nue en uda ute e aces ir Mauer 101 request system configuration rescue delete 103 request system configuration rescue save 104 request system scripts refresh from commit 105 request system scripts refresh from event 106 request system scripts refresh from op 107 request system zeroize
32. 2 Typical Uses for Autoinstallation Typical uses for autoinstallation of the software include To deploy and update multiple devices from a central location in the network Toupdate a device Autoinstallation takes place when a device that has been manually configured for autoinstallation is powered on Autoinstallation Configuration Files and IP Addresses For the autoinstallation process to work you must store one or more host specific or default configuration files on a configuration server in the network and have a service available typically Dynamic Host Configuration Protocol DHCP to assign an IP address to the switch You can set up the following configuration files for autoinstallation on the switch network conf Default configuration file for autoinstallation in which you specify IP addresses and associated hostnames for devices on the network switch conf Default configuration file for autoinstallation with a minimum configuration sufficient for you to telnet to the device and configure it manually hostname conf Host specific configuration file for autoinstallation on a device that contains all the configuration information necessary for the switch In the filename hostname is replaced with the hostname assigned to the switch Copyright O 2012 Juniper Networks Inc N Configuration File Management on EX Series Switches If the server with the autoinstallation configuration file is not on the s
33. 2 con Escape character is Entering server port type CTRL z for port menu nobody initiated a new r w session defaults loader conf kernel data 0x9178e4 0x94014 syms 0x4 0x80370 0x4 0xb85d4 Hit Enter to boot immediately or space bar for command prompt Booting kernel Kernel entry at Oxa00000e0 GDB debug ports uart GDB current port uart KDB debugger backends ddb gdb KDB current backend ddb platform_early_bootinit MX PPC Series Early Boot Initialization mxppc_set_re_type hw board type is ACX 2000 Copyright 2012 Juniper Networks Inc Chapter 7 Operational Commands WDOG initialized Copyright c 1996 2011 Juniper Networks Inc All rights reserved Copyright c 1992 2006 The FreeBSD Project Copyright c 1979 1980 1983 1986 1988 1989 1991 1992 1993 1994 The Regents of the University of California All rights reserved JUNOS 11 4 20110829 eabu 1282 0 0 2011 08 29 13 48 25 UTC bui Ider sv1 eabL04 juriper net Aolure bur lg junos eebu 232 11 4 dsvelaaent 20110829 0 00j povermc bsd kermels ANIFR PFUKermel WARNING debug mpsafenet forced to 0 as ipsec requires Giant Timecounter decrementer frequency 62500000 Hz quality O cpu0 Freescale e500v2 core revision 5 1 cpu0 HIDO 80004000 EMCP TBEN gt real memory 1585446912 1512 MB avail memory 1553997824 1482 MB Security policy loaded JUNOS MAC runasnonroot mac_runasnonroot Security policy loade
34. 200 Default Configuration on page 42 EX4500 Default Configuration on page 46 EX4550 Default Configuration on page 52 EX6200 Switch Default Configuration on page 62 EX8200 Switch Default Configuration on page 63 EX2200 Switch Default Configuration Each EX Series switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped The default configuration file for an EX2200 switch configures Ethernet switching and storm control on all interfaces configures Power over Ethernet PoE on all interfaces of models that provide PoE and enables the LLDP LLDP MED and RSTP protocols and IGMP snooping When you commit changes to the configuration a new configuration file is created that becomes the active configuration You can always revert to the factory default configuration because an EX2200 switch does not have an LCD panel use the CLI commands to revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 The following factory default configuration file is for an EX2200 switch with 24 ports all of which have PoE capability Copyright O 2012 Juniper Networks Inc 29 Configuration File Management on EX Series Switches e NOTE The factory default configuration file is different for different EX2200 switch models The number of interfaces in the default configuration file de
35. 3 Configuration File Management on EX Series Switches file copy Syntax Release Information Description Options Required Privilege Level List of Sample Output Output Fields Sample Output file copy A File from the Router or Switch to aPC file copy A Configuration File Between Routing Engines file copy A Log File Between Routing Engines file copy A File from the TX Matrix Plus Router to a T1600 94 file copy source destination lt source address address gt Command introduced before Junos OS Release 7 4 source address option added in Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for QFX Series switches Copy files from one place to another on the local router or switch or between the local router or switch and a remote system source Source of the original file Specify this as a URL or filename destination Destination of the copied file Specify this as a URL or filename If you are copying a file to the current directory your home directory on the local router or switch and are not renaming the file specify the destination with a period Source address address Optional Source IP host address This option is useful for specifying the source address of a secure copy scp file transfer maintenance file copy A File from the Router or Switch to a PC on page 94 file copy A Con
36. 49bea3041d2acdb9a7568dd315 a2379db31407cc4ea211148f95d92a262945d24df Verified jkernel ppc 11 4 20110829 eabu 1292 0 signed by PackageProduction 11 4 0 Mounted jpfe package on dev md2 Mounted jdocs package on dev md3 Verified manifest signed by PackageProduction 11 4 0 Verified jdocs 11 4 20110829_eabu_12q2 0 signed by PackageProduction 11 4 0 Mounted jroute package on dev md4 Verified manifest signed by PackageProduction 11 4 0 Verified jroute ppc 11 4 20110829 eabu 1292 0 signed by PackageProduction 11 4 0 Mounted jcrypto package on dev md5 Verified manifest signed by PackageProduction 11 4 0 Verified jcrypto ppc 11 4 20110829 eabu 12q2 0 signed by PackageProduction 11 4 0 swapon adding dev da0s1b as swap device Automatic reboot in progress dev da0s1a FILE SYSTEM CLEAN SKIPPING CHECKS clean 367062 free 38 frags 45878 blocks 0 0 fragmentation dev da0s1e FILE SYSTEM CLEAN SKIPPING CHECKS clean 51316 free 28 frags 6411 blocks 0 1 fragmentation dev da0s1f FILE SYSTEM CLEAN SKIPPING CHECKS clean 690268 free 84 frags 86273 blocks 0 0 fragmentation tunefs soft updates remains unchanged as disabled Creating initial configuration mgd error Cannot open configuration file config juniper conf mgd warning activating factory configuration mgd commit complete Setting initial options debugger_on_panic NO debugger_on_break NO Starting optional daemons Doing init
37. Console Port on the EX Series Switch Console port 9020088 RJ 45 cable 3 On the management device start your asynchronous terminal emulation application such as Microsoft Windows Hyperterminal and select the appropriate COM port to use for example COMI Copyright O 2012 Juniper Networks Inc 127 Configuration File Management on EX Series Switches 128 Configure the port settings as follows Bits per second 9600 Data bits 8 Parity None Stop bits 1 e Flow control None Power on your switch by plugging in the power cord or turning on the power at the wall switch When the following prompt appears press the Spacebar to access the switch s bootstrap loader command prompt Hit Enter to boot immediately or space bar for command prompt Booting kernel in 1 second At the following prompt type boot s to start up the system in single user mode loader gt boot s At the following prompt type recovery to start the root password recovery procedure Enter full path name of shell or recovery for root password recovery or RETURN for bin sh recovery A series of messages describe consistency checks mounting of filesystems and initialization and checkout of management services Then the CLI prompt appears Enter configuration mode in the CLI user switch gt configure Set the root password For example user switch set system root authentication plain text password A
38. IL rights reserved The information in this document is current as of the date on the title page YEAR 2000 NOTICE Juniper Networks hardware and software products are Year 2000 compliant Junos OS has no known time related limitations through the year 2038 However the NTP application is known to have some difficulty in the year 2036 END USER LICENSE AGREEMENT The Juniper Networks product that is the subject of this technical documentation consists of or is intended for use with Juniper Networks software Use of such software is subject to the terms and conditions of the End User License Agreement EULA posted at http www juniper net support eula html By downloading installing or using such software you agree to the terms and conditions of that EULA ii Copyright O 2012 Juniper Networks Inc Table of Contents About the DocUMeNntatlOn uxo inso x a xar RR dr pha RENE Sed b bespishesics Xi Documentation and Release Notes xi Supported PlatlonmMs eero eoi Se acad ese aware cece a coe as ah tie xi Using the Examples in This Manual xi Merging a Full Example 2429 22e bonne ie a ta EAR EGRE stat sientse xii Merging a Snippet 2 e e xii Documentation CONVENTIONS ocd oru rac reca Room pace do eX aun 4 wages CR d xiii Documentation Feedback llle en XV Requesting Technical Support XV Self Help Online Tools and Res
39. JU Per NETWORKS Junos OS for EX Series Ethernet Switches Configuration File Management on EX Series Switches Published 2012 06 19 Copyright O 2012 Juniper Networks Inc Juniper Networks Inc 1194 North Mathilda Avenue Sunnyvale California 94089 USA 408 745 2000 www juniper net This product includes the Envoy SNMP Engine developed by Epilogue Technology an Integrated Systems Company Copyright 1986 1997 Epilogue Technology Corporation All rights reserved This program and its documentation were developed at private expense and no part of them is in the public domain This product includes memory allocation software developed by Mark Moraes copyright 1988 1989 1993 University of Toronto This product includes FreeBSD software developed by the University of California Berkeley and its contributors All of the documentation and software included in the 4 4BSD and 4 4BSD Lite Releases is copyrighted by the Regents of the University of California Copyright 1979 1980 1983 1986 1988 1989 1991 1992 1993 1994 The Regents of the University of California All rights reserved GateD software copyright 1995 the Regents of the University All rights reserved Gate Daemon was originated and developed through release 3 0 by Cornell University and its collaborators Gated is based on Kirton s EGP UC Berkeley s routing daemon routed and DCN s HELLO routing protocol Development of Gated has be
40. No NAND device found 0 MiB Firmware Version 01 00 00 USB scanning bus for devices 2 USB Device s found scanning bus for storage devices 1 Storage Device s found ELF file is 32 bit Consoles U Boot console FreeBSD PowerPC U Boot bootstrap loader Revision 2 2 vtseng sv1 junos pool27 juniper net Fri Feb 26 17 48 51 PST 2010 Memory 512MB Loading boot defaults loader conf kernel data 0x9abfdc 0xb06e4 syms 0x4 0x83b30 0x4 0xbd7c6 Hit Enter to boot immediately or space bar for command prompt Booting kernel in 1 second Booting kernel Kernel entry at 0x800000e0 GDB no debug ports present KDB debugger backends ddb KDB current backend ddb Copyright c 1996 2011 Juniper Networks Inc All rights reserved Copyright c 1992 2006 The FreeBSD Project Copyright c 1979 1980 1983 1986 1988 1989 1991 1992 1993 1994 The Regents of the University of California All rights reserved JUNOS 11 4R1 2 0 2011 10 27 18 05 39 UTC userQjuniper net volume build junos 11 4 release 11 4R1 2 0bj powerpc bsd kernels JUNIPER EX kernel can t re use a leaf all_slot_serialid Timecounter decrementer frequency 50000000 Hz quality 0 cpu0 Freescale e500v2 core revision 2 2 cpu0 HIDO 80004080 EMCP TBEN EN MAS7 UPDATE Copyright O 2012 Juniper Networks Inc T Configuration File Management on EX Series Switches request system zeroize ACX2000 Universal 112 Access Ro
41. O family ethernet switching xe 0 2 4 1 unit O family ethernet switching ge 0 2 5 unit O f family ethernet switching Copyright 2012 Juniper Networks Inc Related Documentation Chapter 4 Default Configurations xe 0 2 5 unit O f family ethernet switching ge 0 2 6 unit O f family ethernet switching xe 0 2 6 unit O f family ethernet switching ge 0 2 7 unit O f family ethernet switching xe 0 2 7 unit O f family ethernet switching protocols f igmp snooping f vlan all rstp lldp interface all lldp med f interface all ethernet switching options storm control f interface all Reverting to the Default Factory Configuration for the EX Series Switch on page 20 Connecting and Configuring an EX Series Switch CLI Procedure Connecting and Configuring an EX Series Switch J Web Procedure Understanding Configuration Files for EX Series Switches on page 7 EX Series Switches Interfaces Overview Copyright 2012 Juniper Networks Inc 61 Configuration File Management on EX Series Switches EX6200 Switch Default Configuration 62 Related Documentation Each EX6200 switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped The default configuration file sets values for system parameters such as the Address Resolution Protocol A
42. RP aging timer while also enabling the Link Layer Discovery Protocol LLDP protocol the Rapid Spanning Tree Protocol RSTP Internet Group Management Protocol IGMP snooping and storm control When you commit changes to the configuration a new configuration file is created that becomes the active configuration You can always revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 This topic shows the factory default configuration file of an EX6200 switch protocols f lldp f interface all lldp med interface all igmp snooping vlan all rstp ethernet switching options f storm control f interface all poe interface all system arp aging timer 5 commit f factory settings f reset chassis lcd menu Configuration Files Terms on page 13 Connecting and Configuring an EX Series Switch CLI Procedure Understanding Configuration Files for EX Series Switches on page 7 EX6210 Switch Hardware Overview Copyright O 2012 Juniper Networks Inc Chapter 4 Default Configurations EX8200 Switch Default Configuration Each EX8200 switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped The default configuration file sets values for system parameters such as the Address Resolution Protocol ARP aging timer the s
43. Switch Purpose Display the status of the autoinstallation feature on an EX Series switch Action From the CLI enter the show system autoinstallation status command Sample Output user switch gt show system autoinstallation status Autoinstallation status Master state Active Last committed file None Configuration server of last committed file 10 25 100 1 Interface Name ge 0 0 0 State Configuration Acquisition Acquired Address 192 168 124 75 Hostname host ge 000 Hostname source DNS Configuration filename switch ge 000 conf Configuration filename server 10 25 100 3 Address acquisition Protocol DHCP Client Acquired address None Protocol RARP Client Acquired address None Interface Name ge 0 0 1 State None Address acquisition Protocol DHCP Client Acquired address None Protocol RARP Client Acquired address None Meaning The output shows the settings configured for autoinstallation Verify that the values displayed are correct for the switch when it is deployed on the network Related Configuring Autoinstallation of Configuration Files CLI Procedure on page 25 Documentation 82 Copyright O 2012 Juniper Networks Inc CHAPTER 7 Operational Commands Copyright 2012 Juniper Networks Inc Configuration File Management on EX Series Switches clear log Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output O
44. acket in front of output lines refers to the first file A right angle bracket in front of output lines refers to the second file Context The display is divided into two parts The first part is the first file the second partis the second file Output lines preceded by an exclamation point have changed Additions are marked with a plus sign and deletions are marked with a minus sign Unified The display is preceded by the line number from the first and the second file xx xxx x Before the line number additions to the file are marked with a plus sign and deletions to the file are marked with a minus sign The body of the output contains the affected lines Changes are viewed as additions plus deletions files filename Names of two local files to compare context Optional Display output in context format ignore white space Optional Ignore changes in the amount of white space unified Optional Display output in unified format none file compare files on page 92 file compare files context on page 92 file compare files unified on page 92 file compare files unified ignore white space on page 92 When you enter this command you are provided feedback on the status of your request Copyright O 2012 Juniper Networks Inc 91 Configuration File Management on EX Series Switches Sample Output 92 file compare files file compare files context file compare files unifie
45. ame LAN segment as the new device or if a specific device is required by the network you must configure anintermediate device directly attached to the new switch through which the new switch can send TFTP boot protocol BOOTP and Domain Name System DNS requests In this case you specify the IP address of the intermediate device as the location to receive TFTP requests for autoinstallation Typical Autoinstallation Process on a New Switch When the switch configured for autoinstallation is powered on it performs the following autoinstallation tasks 1 The switch sends out DHCP or BOOTP requests on each connected interface simultaneously to obtain an IP address If a DHCP server responds to these requests it provides the switch with some or all of the following information An IP address and subnet mask for the autoinstallation interface The location of the typically TFTP server Hypertext Transfer Protocol HTTP server or FTP server on which the configuration file is stored The name of the configuration file to be requested from the TFTP server The IP address or hostname of the TFTP server If the DHCP server provides the server s hostname a DNS server must be available on the network to resolve the name to an IP address The IP address of an intermediate device if the configuration server is on a different LAN segment from the switch 2 After the switch acquires an IP address the autoinstallation proce
46. ar tmp pccardd sartre conf snmpd syslogd core tarbal1 0 tgz user host gt file rename lccO reO var tmp snmpd var tmp snmpd rr user host gt file list lccO rel var tmp Copyright 2012 Juniper Networks Inc 99 Configuration File Management on EX Series Switches 100 1ccO re1 var tmp pccardd sartre conf snmpd rr syslogd core tarbal1 0 tgz Copyright 2012 Juniper Networks Inc file show Syntax Release Information Description Options Required Privilege Level List of Sample Output Output Fields Sample Output file show file show Routing Matrix Chapter 7 Operational Commands file show filename encoding base64 raw gt Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Display the contents of a file filename Name of a file For a routing matrix the filename must include the chassis information encoding base64 raw Optional Encode file contents with base64 encoding or show raw text maintenance file show on page 101 file show Routing Matrix on page 101 When you enter this command you are provided feedback on the status of your request userGhost gt file show var log messages Apr 13 21 00 08 romney kernel so 1 1 2 loopback suspected going to standby Apr 13 21 00 40 romney kernel so 1 1 2 loopback suspect
47. arity broadcast multicast string string2 string3 pound sign Indicates a comment specified on the same line asthe configuration statement to which it applies rsvp Required for dynamic MPLS only square brackets Enclose a variable for which you can substitute one or more values community name members community ids Indention and braces Identify a level in the configuration hierarchy semicolon J Web GUI Conventions Bold text like this Identifies a leaf statement at a configuration hierarchy level Represents J Web graphical user interface GUI items you click or select edit routing options static route default f nexthop address retain e Inthe Logical Interfaces box select All Interfaces e To cancel the configuration click Cancel bold right angle bracket Separates levels in a hierarchy of J Web selections In the configuration editor hierarchy select Protocols Ospf xiv Copyright O 2012 Juniper Networks Inc About the Documentation Documentation Feedback We encourage you to provide feedback comments and suggestions so that we can improve the documentation You can send your comments to techpubs comments juniper net or fill out the documentation feedback form at https www juniper net cgi bin docbugreport If you are using e mail be sure to include the following information with your comm
48. bit small form factor pluggable SFP transceivers xe 0 1 0 through xe 0 1 3 or four 1 gigabit small form factor pluggable SFP transceivers xe 0 2 0 through xe 0 2 3 Although you can install only one uplink module the interfaces for both are shown below When you commit changes to the configuration anew configuration file is created which becomes the active configuration You can always revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 This topic shows the factory default configuration file of an EX4500 switch system syslog user f any emergency file messages Copyright 2012 Juniper Networks Inc any notice authorization info file interactive commands f interactive commands any commit factory settings reset chassis lcd menu reset virtual chassis configuration interfaces f xe 0 0 0 f unit O f family ethernet switching xe 0 0 1 unit O family ethernet switching xe 0 0 2 unit O f family ethernet switching xe 0 0 3 unit O family ethernet switching xe 0 0 4 f unit O f family ethernet switching xe 0 0 5 unit O f family ethernet switching xe 0 0 6 1 unit O family ethernet switching xe 0 0 7 1 unit O f family ethernet switching xe 0 0 8 1 Copyright 2012 Juniper Networks Inc Chapter 4 Default Confi
49. by using the Enter key delete lines and modify copy and paste text 3 Click Commit to load and commit the configuration The switching platform checks the configuration for the correct syntax before committing it Copyright O 2012 Juniper Networks Inc Chapter 2 Configuration Files Overview Related gt CLI User Interface Overview D tati POSE Understanding J Web Configuration Tools Using the Point and Click CLI Tool in the J Web Interface to Edit Configuration Text To edit the configuration on a series of pages of clickable options that steps you through the hierarchy select Configure gt CLI Tools gt Point amp Click CLI The side pane displays the top level of the configured hierarchy and the main pane displays configured hierarchy options and the Icon Legend To expand or hide the hierarchy of all the statements in the side pane click Expand all or Hide all To expand or hide an individual statement in the hierarchy click the expand or collapse icon to the left of the statement Q TIP Only those statements included in the committed configuration are displayed in the hierarchy The configuration information in the main pane consists of configuration options that correspond to configuration statements Configuration options that contain subordinate statements are identified by the term Nested To include edit or delete statements in the candidate configuration click one of the links described i
50. ces uhidkld peertype peertype xdpc ipsec kld Doing additional network setup Starting final network daemons setting ldconfig path usr lib opt lib starting standard daemons cron Initial rc powerpc initialization Lock Manager RDM Embedded 7 04 Aug 2006 http www birdstep com Copyright c 1992 2006 Birdstep Technology Inc All Rights Reserved Unix Domain sockets Lock manager Lock manager lockmgr started successfully Database Initialization Utility RDM Embedded 7 04 Aug 2006 http www birdstep com Copyright c 1992 2006 Birdstep Technology Inc All Rights Reserved var pdb profile db initialized Profile database initialized Local package initialization kern securelevel 1 gt 1 starting local daemons Sat Sep 3 16 10 41 UTC 2011 Amnesiac ttyu0 Copyright 2012 Juniper Networks Inc 15 Configuration File Management on EX Series Switches show system commit Syntax show system commit Release Information Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Description Display the system commit history and any pending commit operation Options This command has no options Required Privilege view Level Related clear system commit on page 85 Documentation List of Sample Output show system commit on page 117 show system commit At a Particular Time on page 117
51. committed cli A user entered a Junos OS CLI command e junoscript A Junos XML protocol client performed the operation Commit operations performed by users through the J Web interface are identified in this way snmp An SNMP set request started the operation e other Another method was used to commit the configuration Comment Comment Log Message Method used to edit the configuration Imported via paste Configuration was edited and loaded with the Configure gt CLI Tools gt Edit Configuration Text option Imported upload filename Configuration was uploaded with the Configure gt CLI Tools gt Point Click Editor option e Modified via J Web Configure Configuration was modified with the J Web Configure menu e Rolled back via user interface Configuration was rolled back to a previous version through the user interface specified by user interface which can be Web Interface or CLI Action Action to perform with the configuration file The action can be Download or Rollback Displaying Users Editing the Configuration To display a list of users editing the switching platform configuration select Config Management History The list is displayed as Database Information in the main pane Table 12 on page 80 summarizes the Database Information display Table 12 J Web Configuration Database Information Summary Field Description User Name Name of user editing the
52. configuration Start Time Time of day the user logged in to the switch Idle Time Elapsed time since the user issued a configuration command from the CLI Terminal Terminal on which the user is logged in PID Process identifier assigned to the user by the switching platform Edit Flags Designates a private or exclusive edit Edit Path Level of the configuration hierarchy that the user is editing 80 Copyright 2012 Juniper Networks Inc Chapter 6 Routine Monitoring Comparing Configuration Files with the J Web Interface To compare any two of the past 50 committed configuration files 1 Select Config Management gt History A list of the current and the previous 49 configurations is displayed as Configuration History in the main pane 2 Select the check boxes to the left of the two configuration versions you want to compare 3 Click Compare The main pane displays the differences between the two configuration files at each hierarchy level as follows e Lines that have changed are highlighted side by side in green Lines that exist only in the more recent configuration file are displayed in red on the left e Lines that exist only in the older configuration file are displayed in blue on the right Downloading a Configuration File with the J Web Interface To download a configuration file from the switch to your local system 1 Select Config Management gt History A list of current and previous 49 configura
53. d file compare files unified ignore white space user host gt file compare files tmp one tmp two 100c100 full name File 1 gt full name File 2 102c102 lt class foo foo is not defined gt class super user user host gt file compare files tmp one tmp two context tmp one Wed Dec 3 17 12 50 2003 tmp two Wed Dec 3 09 13 14 2003 user bill full name Bill Smith class foo foo is not defined authentication encrypted password SECRET 97 105 user bill full name Bill Smith uid 1089 class super user authentication encrypted password SECRET user host gt file compare files tmp one tmp two unified tmp one Wed Dec 3 17 12 50 2003 tmp two Wed Dec 3 09 13 14 2003 Q 97 8 497 9 user bill full name Bill Smith class foo foo is not defined full name Bill Smith uid 1089 class super user authentication encrypted passwordSECRET user host gt file compare files tmp one tmp two unified ignore white space tmp one Wed Dec 3 09 13 10 2003 tmp two Wed Dec 3 09 13 14 2003 Q 99 7 499 7 user bill full name Bill Smith uid 1089 Copyright 2012 Juniper Networks Inc Chapter 7 Operational Commands class foo foo is not defined class super user authentication encrypted password lt SECRET gt SECRET DATA Copyright 2012 Juniper Networks Inc 9
54. d JUNOS MAC pcap mac_pcap ETHERNET SOCKET BRIDGE initialising Initializing M T platform properties nexusO lt PPC e500 Nexus device ocpbusO lt on chip peripheral bus on nexusO openpicO OpenPIC in on chip peripheral bus iomem Oxf7f40000 0xf7f600b3 on ocpbusO uart0 16550 or compatible iomem Oxf7f04500 0xf7f0450f irq 58 on ocpbusO uart0 console 9600 n 8 1 uartl 16550 or compatible iomem Oxf7f04600 0Oxf7f0460f irq 58 on ocpbusO 1bc0 Freescale 8533 Local Bus Controller iomem Oxf7f05000 0xf7f05fff O0xf8000000 Oxffffffff irq 17 on ocpbusO cfi0 AMD Fujitsu 8MB gt iomem OxffcO0000 Oxffffffff on lbcO fsyspldO0 iomem Oxfef00000 OxfefOOfff on lbcO ramdevO iomem Oxfeelf000 Oxfeelffff on lbcO 12c0 MPC85XX OnChip i2c Controller iomem Oxf7f03000 0xf7f03014 irq 59 on ocpbusO 8564 rtc0 8564 RTC gt on i2c0 USB2513i usb hub0 USB2513Bi usb hub on i2c0 tsec0 lt eTSEC ethernet controller iomem Oxf7f24000 Oxf7f24fff irq 45 46 50 on ocpbusO tsec0 hardware MAC address 84 18 88 c0 2b 7f miibusO MII bus on tsecO brgphyO BCM54610 10 100 1000baseTX PHY gt on miibusO brgphyO 10baseT 10baseT FDX 100baseTX 100baseTX FDX 1000baseT 1000baseT FDX auto tsecl lt eTSEC ethernet controller iomem Oxf7f25000 Oxf7f25fff irq 51 52 56 on ocpbusO tsecl hardware MAC address 02 00 00 00 00 04 miibus1 MII bus on tsecl gentbi0 Generic ten bit interface on miibus1 gentbi0 1000baseSX
55. dels that provide PoE Copyright O 2012 Juniper Networks Inc 37 Configuration File Management on EX Series Switches 38 Enables the following protocols Internet Group Management Protocol IGMP snooping e Rapid Spanning Tree Protocol RSTP e Link Layer Discovery Protocol LLDP e Link Layer Discovery Protocol Media Endpoint Discovery LLDP MED When you commit changes to the configuration a new configuration file is created that becomes the active configuration You can always revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 The following factory default configuration file is for an EX3300 switch with 24 PoE capable ports This file might differ from the default configuration file on your switch in the following ways f your model has 48 ports the file contains more interfaces which correspond to the additional network ports f your model is not PoE capable the file does not include the poe stanza e NOTE All models have four uplink ports as listed below ge 0 1 0 to ge 0 1 3 and xe 0 1 0 to xe 0 1 3 Uplink ports labeled 2 and 3 are configured as Virtual Chassis ports by default You can configure these ports as network ports system syslog user f any emergency file messages f any notice authorization info file interactive commands f interactive commands any commit factory settings
56. directory and number of files queued for archival transfer NOTE The edit system configuration hierarchy is not available on QFabric systems This command has no options maintenance show system configuration archival on page 118 user host gt show system configuration archival var transfer config total 8 Copyright 2012 Juniper Networks Inc Chapter 7 Operational Commands show system configuration rescue Syntax show system configuration rescue Release Information Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Description Display a rescue configuration if one exists NOTE The edit system configuration hierarchy is not available on QFabric systems Options This command has no options Required Privilege maintenance Level Related show system configuration archival on page 118 Documentation List of Sample Output show system configuration rescue on page 119 Sample Output show system user switch gt show system configuration rescue configuration rescue version 7 3 groups global system host name router1 domain name customer net domain search customer net backup router 192 168 124 254 name server 172 17 28 11 172 17 28 101 172 17 28 100 172 17 28 10 login user regress uid 928 class shell csh authentication
57. displays the configuration in text format Each level in the hierarchy is indented to indicate each statement s relative position in the hierarchy Each level is generally set off with braces with an open brace 1 at the beginning of each hierarchy level and a closing brace 1 at the end If the statement at a hierarchy level is empty the braces are not displayed Each leaf statement ends with a semicolon as does the last statement in the hierarchy This indented representation is used when the configuration is displayed or saved as an ASCII file However when you load an ASCII configuration file the format of the file is not so strict The braces and semicolons are required but the indention and use of new lines are not required in ASCII configuration files Understanding J Web Configuration Tools Using the CLI Editor in the J Web Interface to Edit Configuration Text Use the CLI Editor to edit configuration if you know the Junos OS CLI or prefer acommand interface To edit the entire configuration in text format A CAUTION We recommend that you use this method to edit and commit the configuration only if you have experience editing configurations through the CLI 1 Select Configure gt CLI Tools gt CLI Editor The main pane displays the configuration in a text editor 2 Navigate to the hierarchy level you want to edit You can edit the candidate configuration using standard text editor operations insert lines
58. e 0 1 0 f unit O f family ethernet switching ge O 1 1 unit O family ethernet switching xe 0 1 1 unit O family ethernet switching ge 0 1 2 unit O f Copyright O 2012 Juniper Networks Inc family ethernet switching xe 0 1 2 unit O family ethernet switching ge 0 1 3 unit O f family ethernet switching xe 0 1 3 unit O family ethernet switching ge 0 1 4 unit O f family ethernet switching xe 0 1 4 f unit O family ethernet switching ge 0 1 5 1 unit O f family ethernet switching xe 0 1 5 1 unit O family ethernet switching ge 0 1 6 unit O family ethernet switching xe 0 1 6 unit O family ethernet switching ge 0 1 7 1 unit O f family ethernet switching xe 0 1 7 1 unit O f family ethernet switching Copyright O 2012 Juniper Networks Inc Chapter 4 Default Configurations 59 Configuration File Management on EX Series Switches 60 ge 0 2 0 1 unit O family ethernet switching xe 0 2 0 unit O f family ethernet switching ge 0 2 1 unit O f family ethernet switching xe 0 2 1 unit O f family ethernet switching ge 0 2 2 unit O family ethernet switching xe 0 2 2 1 unit O f family ethernet switching ge 0 2 3 unit O family ethernet switching xe 0 2 3 unit O f family ethernet switching ge 0 2 4 1 unit
59. e default time zone on the router or switch is UTC Q NOTE The edit system archival hierarchy is not available on QFabric Systems The prefix used in the configuration statement determines the form of transfer file transfer on a path to a named file ftp transfer using active FTP server pasvftp transfer to a device that only accepts passive FTP services scp transfer to a known host using background SCP file transfers Copyright O 2012 Juniper Networks Inc 67 Configuration File Management on EX Series Switches Required Privilege Level Related Documentation 68 system To view this statement in the configuration system control To add this statement to the configuration Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Archive Site configuration on page 71 transfer on commit on page 75 Copyright O 2012 Juniper Networks Inc autoinstallation Syntax Hierarchy Level Release Information Description Options Required Privilege Level Related Documentation Chapter 5 Configuration Statements autoinstallation f configuration servers url interfaces f interface name 1 bootp rarp edit system Statement introduced before Junos OS Release 74 Statement introduced in Junos OS Release 9 1 for EX Series switches Statement introduced in Junos OS Release 12 2 for ACX Series Converged Access Gateway route
60. e delete request system software rollback Show system commit on page 116 request system configuration rescue save on page 104 This command produces no output user host gt request system configuration rescue save Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands request system scripts refresh from commit Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output Sample Output request system scripts refresh from commit file config txt url http hostl juniper net request system scripts refresh from commit file file name url url path Command introduced in Junos OS Release 10 1 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Automatically download the initial Junos OS configuration and a set of standard commit scripts during a Junos XML management protocol NETCONF session when a switch is brought up for the first time The Junos XML management protocol equivalent for this operational mode command is request script refresh from type commi t type file file name file lt URL gt URL lt URL gt lt request script refresh from gt file file name Name of the file to be downloaded url url path URL of the file to be downloaded maintenance Understanding Automatic Refreshing of Scripts on EX Series Switches on page 10 e Junos OS Junos XML Manageme
61. e front panel of the switch or by using the request system zeroize operational command or the load factory default configuration command If your switch model does not have an LCD panel use the commands Q TIP If you have lost the root password it is not necessary to revert to the factory default configuration to reset it See Troubleshooting Loss of the Root Password on page 127 Reverting to the Default Factory Configuration by Using the LCD Panel on page 21 Reverting to the Default Factory Configuration by Using the request system zeroize Command on page 21 Reverting to the Default Factory Configuration by Using the load factory default Command on page 22 Copyright O 2012 Juniper Networks Inc Chapter 3 Configuration Tasks Reverting to the Default Factory Configuration by Using the LCD Panel To set the switch to the default factory configuration use the LCD panel and buttons on the front panel of the switch as shown in Figure 1 on page 21 If the switch model does not have an LCD panel use one of the CLI commands described in the following sections Use the LCD panel to revert to the default factory configuration if you want to run EZsetup When you use the CLI to revert to the default factory configuration the configuration for the root password is retained and you cannot run EZSetup Figure 1 EX Series Switch LCD Panel LCD Menu Enter Chassis panel button button status LEDs e NOTE If you
62. ed going to standby Apr 13 21 02 48 romney last message repeated 4 times Apr 13 21 07 04 romney last message repeated 8 times Apr 13 21 07 13 romney kernel so 1 1 0 Clearing SONET alarm s RDI P Apr 13 21 07 29 romney kernel so 1 1 0 Asserting SONET alarm s RDI P user host gt file show lccO reO var tmp gdbinit 1cc0 re0 THHHHHHHHHBHHHHHHHHBHHHHBHHHHHHHHHBHHHHHHHHHHHHHHBHHHHHHBHHHHHHHHHHHNE Settings THHBHHHHHHHHHHHBHHHHHBHHHHBHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHBHHHHSNE set print pretty PART SES TE ETS TETE NE IE THIHIE ESS ESS SES TES NES SE 11111412 Basic stuff PART DES DETTE ESS ES AEE HAE BEEBE BABA ABE DES AA EE BEEBE AEE AE EE define msgbuf printf s msgbufp gt msg_ptr end hex dump of a block of memory usage dump address length define dump Copyright 2012 Juniper Networks Inc 101 Configuration File Management on EX Series Switches p argO argl set ch argO set j 0 set n argl while j n printf 9x x amp ch j ch j printf x ch j set j j 1 if C j 16 printf n end end end 102 Copyright 2012 Juniper Networks Inc Chapter 7 Operational Commands request system configuration rescue delete Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output Output Fields Sample Output request system configuration rescue delete request system con
63. ed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped The default configuration file sets values for system parameters such as syslog and commit configures Power over Ethernet PoE storm control and Ethernet switching on all interfaces and enables the LLDP and RSTP protocols When you commit changes to the configuration a new configuration file is created that becomes the active configuration You can always revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 The following factory default configuration file is for an EX3200 switch with 24 ports for models that have more ports this default configuration file has more interfaces Copyright O 2012 Juniper Networks Inc 33 Configuration File Management on EX Series Switches e NOTE Inthis example ge 0 0 0 through ge 0 0 23 are the network interface ports Optional uplink modules provide either two 10 gigabit small form factor pluggable XFP transceivers xe 0 1 0 and xe 0 1 1 or four 1 gigabit SFP transceivers ge 0 1 0 through ge 0 1 3 Although you can install only one uplink module the interfaces for both are shown below system f syslog user f any emergency file messages f any notice authorization info file interactive commands f interactive commands any commit f factory settings f reset chassis
64. edure Connecting and Configuring an EX Series Switch J Web Procedure Understanding Configuration Files for EX Series Switches on page 7 Copyright O 2012 Juniper Networks Inc 5 Configuration File Management on EX Series Switches EX Series Switches Interfaces Overview EX4550 Default Configuration 52 Each EX Series switch is programmed with a factory default configuration that contains the values set for each configuration parameter when the switch is shipped The default configuration file sets values for system parameters such as syslog and commit configures Ethernet switching on all interfaces enables IGMP snooping and enables the LLDP and RSTP protocols D NOTE Interfaces ge 0 0 0 through ge 0 0 31 or xe 0 0 0 through xe 0 0 31 are the network interface ports Optional expansion modules up to two provide eight 1 gigabit or 10 gigabit small form factor pluggable SFP transceivers ge 0 1 0 through ge 0 1 7 or xe 0 1 0 through xe 0 1 7 and ge 0 2 0 through ge 0 2 7 or xe 0 2 0 through xe 0 2 7 When you commit changes to the configuration a new configuration file is created which becomes the active configuration You can always revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 This topic shows the factory default configuration file of an EX4550 switch system syslog user f any emergency file messages any n
65. edure on page 17 Uploading a Configuration File J Web Procedure on page 19 Loading a Previous Configuration File CLI Procedure on page 19 Reverting to the Default Factory Configuration for the EX Series Switch on page 20 Reverting to the Rescue Configuration for the EX Series Switch on page 23 Setting or Deleting the Rescue Configuration CLI Procedure on page 24 e Setting or Deleting the Rescue Configuration J Web Procedure on page 25 Configuring Autoinstallation of Configuration Files CLI Procedure on page 25 Using the Commit Options to Commit Configuration Changes J Web Procedure on page 27 Uploading a Configuration File CLI Procedure You can create a configuration file on your local system copy the file to the EX Series switch and then load the file into the CLI After you have loaded the configuration file you can commiit it to activate the configuration on the switch You can also edit the configuration interactively using the CLI and commit it at a later time To upload a configuration file from your local system 1 Create the configuration file using a text editor such as Notepad making sure that the syntax of the configuration file is correct For more information about testing the syntax of a configuration file see the Junos OS System Basics and Services Command Reference 2 In the configuration text file Use an option to perform the required action when the file is loaded Table 8 on page 17
66. en supported in part by the National Science Foundation Portions of the GateD software copyright 1988 Regents of the University of California All rights reserved Portions of the GateD software copyright 1991 D L S Associates This product includes software developed by Maker Communications Inc copyright O 1996 1997 Maker Communications Inc Juniper Networks Junos Steel Belted Radius NetScreen and ScreenOS are registered trademarks of Juniper Networks Inc in the United States and other countries The Juniper Networks Logo the Junos logo and JunosE are trademarks of Juniper Networks Inc All other rademarks service marks registered trademarks or registered service marks are the property of their respective owners Juniper Networks assumes no responsibility for any inaccuracies in this document Juniper Networks reserves the right to change modify ransfer or otherwise revise this publication without notice Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are owned by or licensed to Juniper Networks U S Patent Nos 5 473 599 5 905 725 5 909 440 6 192 051 6 333 650 6 359 479 6 406 312 6 429 706 6 459 579 6 493 347 6 538 518 6 538 899 6 552 918 6 567902 6 578 186 and 6 590 785 Junos OS for EX Series Ethernet Switches Configuration File Management on EX Series Switches Release 12 2 Copyright O 2012 Juniper Networks Inc A
67. ename purge Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Delete a file on the local router or switch filename Narme of the file to delete For a routing matrix include chassis information in the filename if the file to be deleted is not local to the Routing Engine from which the command is issued purge Optional Overwrite regular files before deleting them maintenance file delete on page 96 file delete Routing Matrix on page 96 When you enter this command you are provided feedback on the status of your request userGhost gt file list var tmp dcd core rpd core snmpd core user host gt file delete var tmp snmpd core user host gt file list var tmp dcd core rpd core userGhost gt file list lccO reO var tmp dcd core rpd core snmpd core user host gt file delete lccO reO var tmp snmpd core user host gt file list var tmp dcd core rpd core Copyright 2012 Juniper Networks Inc file List Syntax Release Information Description Options Additional Information Required Privilege Level List of Sample Output Output Fields Sample Output file list file list Routing Matrix Chapter 7 Operational Commands file list detail recursive filename Command introduced before Junos OS Release 7 4 Command introduced in Juno
68. ents Document or topic name URL or page number Software release version if applicable Requesting Technical Support Technical product support is available through the Juniper Networks Technical Assistance Center JTAC If you are a customer with an active J Care or JNASC support contract or are covered under warranty and need post sales technical support you can access our tools and resources online or open a case with JTAC JTAC policies For a complete understanding of our JTAC procedures and policies review the JTAC User Guide located at http www juniper net us en local pdf resource guides 7100059 en pdf Product warranties For product warranty information visit http www juniper net support warranty JTAC hours of operation The JTAC centers have resources available 24 hours a day 7 days a week 365 days a year Self Help Online Tools and Resources For quick and easy problem resolution Juniper Networks has designed an online self service portal called the Customer Support Center CSC that provides you with the following features Find CSC offerings http www juniper net customers support Search for known bugs http www2 juniper net kb Find product documentation http www juniper net techpubs Find solutions and answer questions using our Knowledge Base http kb juniper net Download the latest versions of software and review release notes http www juniper net custo
69. er 3 Configuration Tasks Setting or Deleting the Rescue Configuration J Web Procedure Related Documentation A rescue configuration is a well known configuration that recovers a switch from a configuration that denies management access You set a current committed configuration to be the rescue configuration through the J Web interface or CLI If someone inadvertently commits a configuration that denies management access to an EX Series switch and the console port is not accessible you can overwrite the invalid configuration and replace it with the rescue configuration by using the LCD panel on the Switch The rescue configuration is a previously committed valid configuration We recommend that the rescue configuration include the IP address accessible from the network for the management port To view set or delete the rescue configuration using the J Web interface select Maintain Config Management Rescue On the Rescue page you can perform the following tasks View the current rescue configuration Click View rescue configuration Set the current running configuration as the rescue configuration Click Set rescue configuration Delete the current rescue configuration Click Delete rescue configuration Setting or Deleting the Rescue Configuration CLI Procedure on page 24 Reverting to the Rescue Configuration for the EX Series Switch on page 23 Configuration Files Terms on page 13 Configuring Auto
70. esw filter tnp addr esw getstats esw phy esw stats Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands file rename Syntax file rename source destination Release Information Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Description Rename a file on the local router or switch Options destination New name for the file source Original name of the file For a routing matrix the filename must include the chassis information Required Privilege maintenance Level List of Sample Output file rename on page 99 file rename Routing Matrix on page 99 Output Fields When you enter this command you are provided feedback on the status of your request Sample Output filerename The following example lists the files in var tmp renames one of the files and then displays the list of files again to reveal the newly named file user host gt file list var tmp dcd core rpd core snmpd core user host gt file rename var tmp dcd core var tmp dcd core 990413 userGhost gt file list var tmp dcd core 990413 rpd core snmpd core filerename The following example lists the files in var tmp renames one of the files and then Routing Matrix displays the list of files again to reveal the newly named file user host gt file list lccO rel var tmp 1ccO re1 v
71. et conf Copy the ex script snippet conf file to the var tmp directory on your routing platform commit file ex script snippet xsl 2 Move to the hierarchy level that is relevant for this snippet by issuing the following configuration mode command xii Copyright O 2012 Juniper Networks Inc About the Documentation edit user host edit system scripts edit system scripts 3 Merge the contents of the file into your routing platform configuration by issuing the load merge relative configuration mode command edit system scripts user host load merge relative var tmp ex script snippet conf load complete For more information about the load command see the Junos OS CLI User Guide Documentation Conventions Table 1 on page xiii defines notice icons used in this guide Table 1 Notice Icons Icon Meaning Description e Informational note Indicates important features or instructions Caution Indicates a situation that might result in loss of data or hardware damage Warning Alerts you to the risk of personal injury or death Laser warning Alerts you to the risk of personal injury from a laser Table 2 on page xiii defines the text and syntax conventions used in this guide Table 2 Text and Syntax Conventions Convention Description Examples Bold text like this Represents text that you type To enter configuration mode type theconfigure command user host gt configure Fixed
72. ethernet switching ge 0 0 10 unit O family ethernet switching xe 0 0 10 1 unit O family ethernet switching ge 0 0 1l f unit O f family ethernet switching xe 0 0 11 f unit O f family ethernet switching Copyright O 2012 Juniper Networks Inc ge 0 0 12 1 unit O f family ethernet switching xe 0 0 12 unit O f family ethernet switching ge 0 0 13 unit O f family ethernet switching xe 0 0 13 1 unit O f family ethernet switching ge 0 0 14 1 unit O f family ethernet switching xe 0 0 14 unit O f family ethernet switching ge 0 0 15 unit O family ethernet switching xe 0 0 15 1 unit O f family ethernet switching ge 0 0 16 f unit O family ethernet switching xe 0 0 16 f unit O family ethernet switching ge 0 0 17 unit O f family ethernet switching Copyright 2012 Juniper Networks Inc Chapter 4 Default Configurations 55 Configuration File Management on EX Series Switches 56 xe 0 0 17 1 unit O f family ethernet switching ge 0 0 18 unit O f family ethernet switching xe 0 0 18 unit O f family ethernet switching ge 0 0 19 f unit O f family ethernet switching xe 0 0 19 unit O family ethernet switching ge 0 0 20 f unit O f family ethernet switching xe 0 0 20 f unit O family ethernet switching ge 0 0 21
73. figuration File Between Routing Engines on page 94 file copy A Log File Between Routing Engines on page 94 file copy A File from the TX Matrix Plus Router to a TI600 Router Connected to the TX Matrix Plus Router on page 94 When you enter this command you are provided feedback on the status of your request user host gt file copy var tmp rpd core 4 berry c junipero tmp transferring file 0 KB 0 3 kB s ETA 00 00 00 100 The following sample command copies a configuration file from Routing Engine O to Routing Engine 1 user host gt file copy config juniper conf rel var tmp copied juniper conf The following sample command copies a log file from Routing Engine O to Routing Engine T user host gt file copy lccO reO var log chassisd lccO rel var tmp The following sample command copies a text file from Routing Engine 1 on the switch fabric chassis sfcO to Routing Engine 1 on the line card chassis lccO Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands Router Connected to userGhost file copy sfcO rel tmp sample txt lccO rel var tmp the TX Matrix Plus Router Copyright O 2012 Juniper Networks Inc 95 Configuration File Management on EX Series Switches file delete Syntax Release Information Description Options Required Privilege Level List of Sample Output Output Fields Sample Output file delete file delete Routing Matrix 96 file delete fil
74. figuration rescue delete Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Delete an existing rescue configuration NOTE The edit system configuration hierarchy is not available on QFabric systems This command has no options maintenance request system configuration rescue save on page 104 request system software rollback Show system commit on page 116 request system configuration rescue delete on page 103 This command produces no output user host gt request system configuration rescue delete Copyright O 2012 Juniper Networks Inc 103 Configuration File Management on EX Series Switches request system configuration rescue save Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output Output Fields Sample Output request system configuration rescue save 104 request system configuration rescue save Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Save the most recently committed configuration as the rescue configuration so that you can return to it at any time by using the rollback command This command has no options maintenance request system softwar
75. figurations 49 Configuration File Management on EX Series Switches 50 xe 0 0 31 f unit O family ethernet switching xe 0 0 32 unit O f family ethernet switching xe 0 0 33 unit O f family ethernet switching xe 0 0 34 unit O f family ethernet switching xe 0 0 35 1 unit O family ethernet switching xe 0 0 36 unit O family ethernet switching xe 0 0 37 unit O f family ethernet switching xe 0 0 38 unit O f family ethernet switching xe 0 0 39 unit O family ethernet switching xe 0 1 0 unit O f family ethernet switching xe 0 1 1 unit O f family ethernet switching Copyright 2012 Juniper Networks Inc Related Documentation Chapter 4 Default Configurations xe 0 1 2 unit O f family ethernet switching xe 0 1 3 unit O f family ethernet switching xe 0 2 0 unit O f family ethernet switching xe 0 2 1 unit O f family ethernet switching xe 0 2 2 unit O f family ethernet switching xe 0 2 3 unit O f family ethernet switching protocols igmp snooping vlan all rstp lldp interface all lldp med interface all ethernet switching options storm control f interface all Reverting to the Default Factory Configuration for the EX Series Switch on page 20 Connecting and Configuring an EX Series Switch CLI Proc
76. full example In this case use the load merge command Copyright O 2012 Juniper Networks Inc xi Configuration File Management on EX Series Switches If the example configuration does not start at the top level of the hierarchy the example is a snippet In this case use the load merge relative command These procedures are described in the following sections Merging a Full Example To merge a full example follow these steps 1 Fromthe HTML or PDF version of the manual copy a configuration example into a text file save the file with a name and copy the file to a directory on your routing platform For example copy the following configuration to a file and name the file ex script conf Copy the ex script conf file to the var tmp directory on your routing platform system scripts f commit f file ex script xsl interfaces f fxpO disable unit O family inet f address 10 0 0 1 24 2 Merge the contents of the file into your routing platform configuration by issuing the load merge configuration mode command edit user host load merge var tmp ex script conf load complete Merging a Snippet To merge a snippet follow these steps 1 From the HTML or PDF version of the manual copy a configuration snippet into a text file save the file with a name and copy the file to a directory on your routing platform For example copy the following snippet to a file and name the file ex script snipp
77. gurations 47 Configuration File Management on EX Series Switches 48 unit O family ethernet switching xe 0 0 9 f unit O f family ethernet switching xe 0 0 10 1 unit O f family ethernet switching xe 0 0 T f unit O family ethernet switching xe 0 0 12 unit O family ethernet switching xe 0 0 13 unit O f family ethernet switching xe 0 0 14 f unit O f family ethernet switching xe 0 0 15 1 unit O f family ethernet switching xe 0 0 16 f unit O f family ethernet switching xe 0 0 17 1 unit O family ethernet switching xe 0 0 18 unit O family ethernet switching xe 0 0 19 unit O f Copyright O 2012 Juniper Networks Inc family ethernet switching xe 0 0 20 f unit O family ethernet switching xe 0 0 21 unit O f family ethernet switching xe 0 0 22 unit O family ethernet switching xe 0 0 23 unit O f family ethernet switching xe 0 0 24 1 unit O family ethernet switching xe 0 0 25 unit O f family ethernet switching xe 0 0 26 unit O family ethernet switching xe 0 0 27 unit O family ethernet switching xe 0 0 28 unit O family ethernet switching xe 0 0 29 unit O f family ethernet switching xe 0 0 30 unit O f family ethernet switching Copyright O 2012 Juniper Networks Inc Chapter 4 Default Con
78. hen load the file into the CLI After you have loaded the configuration file you can commiit it to activate the configuration on the switch You can also edit the configuration interactively using the CLI and commit it at a later time To upload a configuration file from your local system 1 Select Maintain gt Config Management gt Upload The main pane displays the File to Upload box 2 Specify the name of the file to upload using one of the following methods Type the absolute path and filename in the File to Upload box Click Browse to navigate to the file 3 Click Upload and Commit to upload and commit the configuration The switch checks the configuration for the correct syntax before committing it Uploading a Configuration File CLI Procedure on page 17 Understanding J Web Configuration Tools Understanding Configuration Files for EX Series Switches on page 7 Loading a Previous Configuration File CLI Procedure You can return to a previously committed configuration file if you need to revert to a previous configuration The EX Series switch saves the last 50 committed configurations including the rollback number date time and name of the user who issued the commit configuration command Syntax rollback number Options none Return to the most recently saved configuration number Configuration to return to Range O through 49 The most recently saved configuration is number O and the
79. ial network setup Initial interface configuration additional daemons checking for core dump savecore Router rebooting after a normal shutdown savecore Router rebooting after a normal shutdown savecore no dumps found Additional routing options kern module path boot kernel boot modules gt modules peertype modules ifpfe drv modules iLoading the IMA Group Media Layer Attaching to media services layer Loading the IMA Link Media Layer Attaching to media services layer fpfe media modules dev modules platform modulLoading the SONET Media Layer Attaching to media services layer Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands es kld netpfe media ifpfem dsO ifpfem dslel ifpfem ds3e3 ifpfLoading the CHMIC module em ima ifpfem otn ifpfem sonetkld netpfe drv ifpfed atm ifpfed chmic ifpfed controller ifpfed dsO ifpfed dslel ifpfed ds3e3 ifpfed eth ifpfed irb ifpfed lt ifpfed ml cmn ifpfed ml ha ifpfed posLoading POS driver ifpfed pppoemodule register module if pfe pppoe already exists Module if pfe pppoe failed to register 17 kldload can t load modules ifpfe drv ifpfed pppoe ko File exists ifpmodule register module pci em already exists Module pci em failed to register 17 fed svcs ifpfed vtkld platform if emkldload can t load moduleLoading Multilink Services PICs module Loading the M amp T Platform NETPFE module s platform if em ko File exists mt ifpfekld platform devi
80. ile checksum shal on page 89 op List of Sample Output file checksum md5 on page 88 Output Fields When you enter this command you are provided feedback on the status of your request Sample Output file checksum md5 user host gt file checksum md5 jbundle 5 3R2 4 export signed tgz MD5 jbundle 5 3R2 4 export signed tgz 2a3b69e43f9bd4893729cc16f505a0f5 88 Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands file checksum shal Syntax file checksum shal pathname filename Release Information Command introduced in Junos OS Release 9 5 Command introduced in Junos OS Release 9 5 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Description Calculate the Secure Hash Algorithm SHA 1 checksum of a file Options pathname Optional Path to a filename filename Name of a local file for which to calculate the SHA 1 checksum Required Privilege maintenance Level Related Configuring Checksum Hashes for a Commit Script in the Junos OS Configuration and Documentation Operations Automation Guide Configuring Checksum Hashes for an Event Script in the Junos OS Configuration and Operations Automation Guide Configuring Checksum Hashes for an Op Script in the Junos OS Configuration and Operations Automation Guide Executing an Op Script from a Remote Site in the Junos OS Configuration and Operations Automation Guide file checksum md5 on page 88
81. ily ethernet switching ge 0 0 22 1 unit O f family ethernet switching Copyright 2012 Juniper Networks Inc Chapter 4 Default Configurations ge 0 0 23 1 unit O f family ethernet switching ge 0 1 0 unit O f family ethernet switching xe 0 1 0 unit O f family ethernet switching ge 0 1 1 unit O f family ethernet switching xe O 1 1 unit O family ethernet switching ge 0 1 2 unit O family ethernet switching xe 0 1 2 unit O family ethernet switching ge 0 1 3 unit O family ethernet switching xe 0 1 3 unit O f family ethernet switching protocols f igmp snooping vlan all rstp lldp interface all lldp med 1 interface all Copyright 2012 Juniper Networks Inc 41 Configuration File Management on EX Series Switches Related Documentation ethernet switching options f storm control f interface all poe interface all Configuration Files Terms on page 13 Connecting and Configuring an EX Series Switch CLI Procedure Understanding Configuration Files for EX Series Switches on page 7 EX3300 Switches Hardware Overview EX4200 Default Configuration 42 Each EX Series switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped The default configuration file sets values for system
82. ing Ethernet process switching interfaces VLANs and VLAN interfaces Manages Ethernet switching interfaces VLANs and VLAN interfaces Forwarding pfem Defines how routing protocols operate on the switch The overall performance of the process switch is largely determined by the effectiveness of the forwarding process Interface dcd Configures and monitors network interfaces by defining physical characteristics such process as link encapsulation hold times and keepalive timers Management mgd Provides communication between the other processes and an interface to the process configuration database Populates the configuration database with configuration information and retrieves the information when queried by other processes to ensure that the system operates as configured Interacts with the other processes when commands are issued through one of the user interfaces on the switch If a process terminates or fails to start when called the management process attempts to restart it a limited number of times to prevent thrashing and logs any failure information for further investigation Routing protocol process rpd Defines how routing protocols such as RIP OSPF and BGP operate on the device including selecting routes and maintaining forwarding tables Copyright O 2012 Juniper Networks Inc Chapter 1 Software Overview Related gt For more information about processes see Junos OS Network Operations Guide Documentatio
83. installation of Configuration Files CLI Procedure Autoinstallation is the automatic configuration of a device over the network from a pre existing configuration file that you create and store on a configuration server typically a Trivial File Transfer Protocol TFTP server You can use autoinstallation to automatically deploy multiple devices from a central location in the network To specify autoinstallation to run when you power on a switch already installed in your network you can enable it by specifying one or more interfaces protocols and configuration servers to be used for autoinstallation Before you explicitly enable and configure autoinstallation on the switch perform these tasks as needed for your network s configuration Havea service available typically Dynamic Host Configuration Protocol DHCP to assign an IP address to the switch Configure a DHCP server on your network to meet your network requirements You can configure an EX Series switch to operate as a DHCP server For more information see Configuring a DHCP Server on EX Series Switches CLI Procedure Copyright O 2012 Juniper Networks Inc 25 Configuration File Management on EX Series Switches 26 Create one of the following configuration files and store it on a TFTP server or HTTP server or FTP server in the network A host specific file with the name hostname conf for each switch undergoing autoinstallation Replace hostname with the
84. it O family ethernet switching ge 0 0 3 1 unit O family ethernet switching ge 0 0 4 1 unit O family ethernet switching ge 0 0 5 1 unit O family ethernet switching ge 0 0 6 unit O f family ethernet switching ge 0 0 7 unit O f family ethernet switching ge 0 0 8 1 unit O family ethernet switching ge 0 0 9 1 Copyright 2012 Juniper Networks Inc 43 Configuration File Management on EX Series Switches 44 unit O family ethernet switching ge 0 0 10 unit O f family ethernet switching ge 0 0 11 f unit O family ethernet switching ge 0 0 12 unit O family ethernet switching ge 0 0 13 unit O f family ethernet switching ge 0 0 14 1 unit O family ethernet switching ge 0 0 15 unit O f family ethernet switching ge 0 0 16 unit O f family ethernet switching ge 0 0 17 unit O f family ethernet switching ge 0 0 18 unit O family ethernet switching ge 0 0 19 f unit O f family ethernet switching ge 0 0 20 f unit O f Copyright O 2012 Juniper Networks Inc family ethernet switching ge 0 0 21 unit O f family ethernet switching ge 0 0 22 1 unit O f family ethernet switching ge 0 0 23 unit O family ethernet switching xe 0 1 0 unit O f family ethernet switching xe 0 1 1 unit O f family ethernet switching
85. lcd menu reset virtual chassis configuration interfaces f ge 0 0 0 unit O f family ethernet switching ge 0 0 1 unit O f family ethernet switching ge 0 0 2 unit O f family ethernet switching ge 0 0 3 unit O f family ethernet switching ge 0 0 4 1 unit O f family ethernet switching ge 0 0 5 34 Copyright 2012 Juniper Networks Inc unit O family ethernet switching ge 0 0 6 unit O f family ethernet switching ge 0 0 7 unit O family ethernet switching ge 0 0 8 1 unit O family ethernet switching ge 0 0 9 1 unit O f family ethernet switching ge 0 0 10 unit O family ethernet switching ge 0 0 11 unit O f family ethernet switching ge 0 0 12 unit O f family ethernet switching ge 0 0 13 unit O f family ethernet switching ge 0 0 14 1 unit O family ethernet switching ge 0 0 15 unit O f family ethernet switching ge 0 0 16 unit O f Copyright O 2012 Juniper Networks Inc Chapter 4 Default Configurations 35 Configuration File Management on EX Series Switches 36 family ethernet switching ge 0 0 17 unit O f family ethernet switching ge 0 0 18 unit O f family ethernet switching ge 0 0 19 f unit O f family ethernet switching ge 0 0 20 unit O f family ethernet switching ge 0 0 21 unit O f family ether
86. le you can overwrite the invalid configuration and replace it with the rescue configuration by using the LCD panel on the Switch The rescue configuration is a previously committed valid configuration You can also revert to the default factory configuration as described in Reverting to the Default Factory Configuration for the EX Series Switch on page 20 Before you begin to revert to the rescue configuration Ensure that you have physical access to the switch A rescue configuration for the switch must have been previously set To revert the switch to the rescue configuration 1 At the LCD panel on the switch press Menu until you see MAINTENANCE MENU Press Enter Press Menu until you see Load Rescue Press Enter When Commit Rescue is displayed press Enter The LCD panel displays the message Commit Rescue in Progress When the reversion is complete it displays the idle menu Copyright 2012 Juniper Networks Inc 23 Configuration File Management on EX Series Switches Related Documentation e NOTE If there is no rescue configuration saved on the switch the message Commit rescue failed is displayed Setting or Deleting the Rescue Configuration CLI Procedure on page 24 Setting or Deleting the Rescue Configuration J Web Procedure on page 25 e LCD Panel in EX3200 Switches LCD Panel in EX4200 Switches LCD Panel in EX4500 Switches e LCD Panel in an EX8200 Switch Configuration Files Te
87. load factory default command by itself is not supported on EX3300 EX4200 and EX4500 switches configured in a Virtual Chassis with multiple members To revert to the default factory configuration by using the load factory default command 1 edit user switch load factory default 2 edit user switch delete system commit factory settings 3 edit user switch set system root authentication plain text password 4 edit Copyright 2012 Juniper Networks Inc Related Documentation Chapter 3 Configuration Tasks user switch commit Check the member ID and mastership priority with the show virtual chassis status command and check to see whether there are remaining settings for uplink VCPs by using the show virtual chassis vc port command Configuring an EX4200 or EX4500 Virtual Chassis CLI Procedure EX2200 Switch Default Configuration on page 29 EX3200 Default Configuration on page 33 EX3300 Switch Default Configuration on page 37 EX4200 Default Configuration on page 42 EX4500 Default Configuration on page 46 EX8200 Switch Default Configuration on page 63 Understanding Configuration Files for EX Series Switches on page 7 For more information about the load factory default command see Junos OS CLI User Guide Reverting to the Rescue Configuration for the EX Series Switch If someone inadvertently commits a configuration that denies management access to an EX Series switch and the console port is not accessib
88. ment on EX Series Switches To completely erase user created data so that it is unrecoverable use the request system zeroize media command A CAUTION Before issuing request system zeroize use the request system snapshot command to back up the files currently used to run the switch toa secondary device To revert to the default factory configuration by using the request system zeroize command 1 user switch gt request system zeroize warning System will be rebooted and may not boot without configuration Erase all data including configuration and log files yes no yes 2 Type yes to remove configuration and log files and revert to the factory default configuration NOTE After running the request system zeroize command you cannot access the switch through the management Ethernet interface Instead log in through the console as root and start the Junos OS CLI by typing cli at the prompt Reverting to the Default Factory Configuration by Using the load factory default Command 22 The load factory default command is a standard Junos OS configuration command Issuing this configuration command replaces the current active configuration with the default factory configuration Use the LCD panel to revert to the default factory configuration if you want to run EZSetup When you use the CLI to revert to the default factory configuration the configuration for the root password is retained and you cannot run EZSetup NOTE The
89. mers csc software Search technical bulletins for relevant hardware and software notifications https www juniper net alerts Copyright 2012 Juniper Networks Inc XV Configuration File Management on EX Series Switches Join and participate in the Juniper Networks Community Forum http www juniper net company communities Open a case online in the CSC Case Management tool http www juniper net cm To verify service entitlement by product serial number use our Serial Number Entitlement SNE Tool https tools juniper net SerialNumberEntitlementSearch Opening a Case with JTAC You can open a case with JTAC on the Web or by telephone Use the Case Management tool in the CSC at http www juniper net cm Call 1 888 314 JTAC 1 888 314 5822 toll free in the USA Canada and Mexico For international or direct dial options in countries without toll free numbers see http www juniper net support requesting support html xvi Copyright O 2012 Juniper Networks Inc PART 1 Overview Software Overview on page 3 Configuration Files Overview on page 7 Copyright O 2012 Juniper Networks Inc Configuration File Management on EX Series Switches 2 Copyright 2012 Juniper Networks Inc CHAPTER 1 Software Overview Understanding Software Infrastructure and Processes on page 3 Understanding Software Infrastructure and Processes Each switch runs the Juniper Networks Junos operating sys
90. mmit all outstanding configuration changes in the J Web interface on EX Series switches simultaneously This helps in reducing the time J Web takes for committing configurations because when changes are committed at every step rollback configurations pile up For example suppose you want to delete a firewall filter and add a new one With immediate commits you would need to commit your changes twice for this action Using single commit you can decrease the number of commits to one thus saving time for working on other configurations When you edit a configuration you work on a copy of the current configuration which is your candidate configuration The changes you make to the candidate configuration are visible through the user interface immediately allowing other users to edit those configurations but they do not take effect on the switch until you commit the changes When you commit the configuration the candidate file is checked for proper syntax activated and marked as the current operational software configuration file If multiple Users are editing the configuration when you commit the candidate configuration changes made by all users take effect You can configure the commit options to either commit all configuration changes together or commit each configuration change immediately using the J Web Commit Preference page e NOTE There are some pages on which configuration changes must be committed immediately For such pages if
91. n For more information about basic system parameters supported protocols and software processes see Junos OS System Basics Configuration Guide Copyright O 2012 Juniper Networks Inc 5 Configuration File Management on EX Series Switches 6 Copyright O 2012 Juniper Networks Inc CHAPTER2 Configuration Files Overview Understanding Configuration Files for EX Series Switches on page 7 Using the CLI Viewer in the J Web Interface to View Configuration Text on page 8 Using the CLI Editor in the J Web Interface to Edit Configuration Text on page 8 Using the Point and Click CLI Tool in the J Web Interface to Edit Configuration Text on page 9 Understanding Automatic Refreshing of Scripts on EX Series Switches on page 10 Understanding Autoinstallation of Configuration Files on EX Series Switches on page 11 Configuration Files Terms on page 13 Understanding Configuration Files for EX Series Switches Related Documentation A configuration file stores the complete configuration of a switch The current configuration of a switch is called the active configuration You can alter this current configuration and you can also return to a previous configuration or to a rescue configuration For more information see Configuration Files Terms on page 13 Juniper Networks Junos operating system Junos OS saves the 50 most recently committed configuration files on the switch so that you can return to a previous c
92. n Table 4 on page 9 Then specify configuration information by typing in a field selecting a value from a list or clicking a check box toggle Table 4 J Web Edit Point amp Click Configuration Links Link Function Add new entry Displays fields and lists for a statement identifier allowing you to add a new identifier to a statement Configure Displays information for a configuration option that has not been configured allowing you to include a statement Delete Deletes the corresponding statement or identifier from the configuration All subordinate statements and identifiers contained within a deleted statement are also discarded Edit Displays information for a configuration option that has already been configured allowing you to edit a statement Identifier Displays fields and lists for an existing statement identifier allowing you to edit the identifier As you navigate through the configuration the hierarchy level is displayed at the top of the main pane You can click a statement or identifier in the hierarchy to display the corresponding configuration options in the main pane The main pane includes icons that display information about statements and identifiers when you place your cursor over them Table 5 on page 10 describes these icons Copyright O 2012 Juniper Networks Inc 9 Configuration File Management on EX Series Switches Table 5 J Web Edit Point amp Click Configuration Icons Icon Func
93. n the status of your request user host gt test configuration terminal Type D to end input system 1 host name bluesky paris 23 login terminal 3 8 syntax error paris edit system paris 23 syntax error terminal 4 11 statement must contain additional statements edit system login login statement must contain additional statements configuration syntax failed Copyright O 2012 Juniper Networks Inc 123 Configuration File Management on EX Series Switches 124 Copyright O 2012 Juniper Networks Inc Troubleshooting Troubleshooting Procedures on page 127 Copyright O 2012 Juniper Networks Inc 125 Configuration File Management on EX Series Switches 126 Copyright O 2012 Juniper Networks Inc CHAPTER 8 Troubleshooting Procedures Troubleshooting Loss of the Root Password on page 127 Troubleshooting Loss of the Root Password Problem Solution If you forget the root password for the switch you can use the password recovery procedure to reset the root password B NOTE You need physical access to the switch to recover the root password To recover the root password 1 Power off your switch by unplugging the power cord or turning off the power at the wall switch 2 Insert one end of the Ethernet cable into the serial port on the management device and connect the other end to the console port on the back of the switch See Figure 2 on page 127 Figure 2 Connecting to the
94. net switching ge 0 0 22 1 unit O f family ethernet switching ge 0 0 23 1 unit O family ethernet switching xe 0 1 0 unit O family ethernet switching xe 0 1 1 unit O family ethernet switching ge 0 1 0 unit O f family ethernet switching ge O 1 1 unit O family ethernet switching Copyright 2012 Juniper Networks Inc Related Documentation ge 0 1 2 unit O f family ethernet switching ge 0 1 3 unit O f family ethernet switching protocols f igmp snooping vlan all lldp interface all lldp med f interface all rstp ethernet switching options f storm control f interface all poe interface all Chapter 4 Default Configurations Reverting to the Default Factory Configuration for the EX Series Switch on page 20 Connecting and Configuring an EX Series Switch CLI Procedure Connecting and Configuring an EX Series Switch J Web Procedure Understanding Configuration Files for EX Series Switches on page 7 EX Series Switches Interfaces Overview EX3300 Switch Default Configuration Each EX Series switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped The EX3300 switch default configuration Sets Ethernet switching and storm control on all interfaces Sets Power over Ethernet PoE on all network ports of mo
95. nos OS command line interface CLI refresh andrefresh from configuration mode statements have been extended to work with Junos XML management protocol and NETCONF XML management protocol sessions Related Understanding Autoinstallation of Configuration Files on EX Series Switches on page 11 Documentation CLI User Interface Overview 10 Copyright O 2012 Juniper Networks Inc Chapter 2 Configuration Files Overview e Junos OS Junos XML Management Protocol Guide Junos OS NETCONF XML Management Protocol Guide Understanding Autoinstallation of Configuration Files on EX Series Switches Autoinstallation is the automatic configuration of a device over the network from a pre existing configuration file that you create and store on a configuration server typically a Trivial File Transfer Protocol TFTP server You can use autoinstallation to automatically configure new devices and to deploy multiple devices from a central location in the network You enable autoinstallation on Juniper Networks EX Series Ethernet Switches in your network to implement autoinstallation when they are powered on To configure autoinstallation you specify a configuration server an autoinstallation interface and a protocol for IP address acquisition This topic describes Typical Uses for Autoinstallation on page 11 Autoinstallation Configuration Files and IP Addresses on page 11 Typical Autoinstallation Process on a New Switch on page 1
96. nt Protocol Guide Junos OS NETCONF XML Management Protocol Guide request system scripts refresh from commit file config txt url http hostl juniper net on page 105 user switch gt request system scripts refresh from commit file config txt url http hostl juniper net user switch gt Copyright 2012 Juniper Networks Inc 105 Configuration File Management on EX Series Switches request system scripts refresh from event Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output Sample Output request system scripts refresh from event file config txt url http hostl juniper net 106 request system scripts refresh from event file file name url url path Command introduced in Junos OS Release 10 1 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Automatically download the initial Junos OS configuration and a set of standard event scripts during a Junos XML management protocol NETCONF session when a switch is brought up for the first time The Junos XML management protocol equivalent for this operational mode command is request script refresh from type event type file file name file lt URL gt URL lt URL gt lt request script refresh from gt file file name Name of the file to be downloaded url url path URL of the file to be downloaded maintenance Understanding
97. oldest saved configuration is number 49 Default O To return to a configuration prior to the most recently committed one Copyright O 2012 Juniper Networks Inc 19 Configuration File Management on EX Series Switches Related Documentation Specify the rollback number here 1 is entered and the configuration returns to the previously committed configuation edit user switch rollback 1 load complete 2 Activate the configuration you have loaded edit user switch commit Managing Configuration Files Through the Configuration History J Web Procedure on page 79 Configuration Files Terms on page 13 For more information on rollback see Junos OS CLI User Guide Reverting to the Default Factory Configuration for the EX Series Switch 20 If forany reason the current active configuration fails you can revert to the default factory configuration You can also roll back to a previous configuration as described in Loading a Previous Configuration File CLI Procedure on page 19 or revert to the rescue configuration as described in Reverting to the Rescue Configuration for the EX Series Switch on page 23 The default factory configuration contains the basic configuration settings This is the first configuration of the switch and it is loaded when the switch is first installed and powered on You can revert to the default factory configuration by using the Menu button to the right of the LCD on th
98. onfiguration The configuration files are named juniper conf gz The current active configuration juniper conf l gz to juniper conf 49 gz Rollback configurations To make changes to the configuration file you have to work in the configuration mode in the CLI or use the configuration tools in the J Web interface When making changes to a configuration file you are viewing and changing the candidate configuration file The candidate configuration allows you to make configuration changes without causing operational changes to the active configuration or causing potential damage to your current network operations Once you commit the changes made to the candidate configuration the system updates the active configuration Managing Configuration Files Through the Configuration History J Web Procedure on page 79 Uploading a Configuration File CLI Procedure on page 17 Copyright O 2012 Juniper Networks Inc 7 Configuration File Management on EX Series Switches Uploading a Configuration File J Web Procedure on page 19 Loading a Previous Configuration File CLI Procedure on page 19 Reverting to the Rescue Configuration for the EX Series Switch on page 23 Configuration Files Terms on page 13 Using the CLI Viewer in the J Web Interface to View Configuration Text Related Documentation To view the entire configuration file contents in text format select Configure CLI Tools CLI Viewer The main pane
99. or EX Series switches Statement introduced in Junos OS Release 11 1 for the QFX Series Configure the router or switch to periodically transfer its currently active configuration or after each commit NOTE The edit system archival hierarchy is not available on QFabric systems The remaining statements are explained separately system To view this statement in the configuration system control To add this statement to the configuration Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Archive Site archive archive sites on page 67 transfer interval on page 74 transfer on commit on page 75 Copyright O 2012 Juniper Networks Inc 71 Configuration File Management on EX Series Switches configuration servers Syntax Hierarchy Level Release Information Description Required Privilege Level Related Documentation 72 configuration servers f url edit system autoinstallation Statement introduced before Junos OS Release 7 4 Statement introduced in Junos OS Release 9 0 for EX Series switches For J Series Services Routers and EX Series switches only configure the URL address of a server from which to obtain configuration files Examples of URLs tftp hostname path filename ftp username prompt ftp hostname net filename system To view this statement in the configuration system control To add this statement to the configuration
100. otice authorization info file interactive commands interactive commands any commit factory settings reset chassis lcd menu reset virtual chassis configuration interfaces ge 0 0 0 unit O f family ethernet switching xe 0 0 0 f Copyright 2012 Juniper Networks Inc unit O family ethernet switching ge 0 0 1 f unit O f family ethernet switching xe 0 0 1 unit O f family ethernet switching ge 0 0 2 unit O family ethernet switching xe 0 0 2 unit O family ethernet switching ge 0 0 3 1 unit O family ethernet switching xe 0 0 3 unit O f family ethernet switching ge 0 0 4 1 unit O f family ethernet switching xe 0 0 4 1 unit O f family ethernet switching ge 0 0 5 1 unit O family ethernet switching xe 0 0 5 unit O family ethernet switching ge 0 0 6 unit O f Copyright O 2012 Juniper Networks Inc Chapter 4 Default Configurations 53 Configuration File Management on EX Series Switches 54 family ethernet switching xe 0 0 6 1 unit O f family ethernet switching ge 0 0 7 unit O f family ethernet switching xe 0 0 7 1 unit O family ethernet switching ge 0 0 8 1 unit O f family ethernet switching xe 0 0 8 1 unit O family ethernet switching ge 0 0 9 1 unit O f family ethernet switching xe 0 0 9 f unit O family
101. ources XV Opening a Case With JTAC ws 423 cumin se ease curses eaSaasigene os oh xvi Part 1 Overview Chapter 1 Software OVerVIeW sessi nre ema w re shied va ews moan e ER ews aes cower es 3 Understanding Software Infrastructure and Processes 3 Routing Engine and Packet Forwarding Engine 3 Junos OS PrOCeSS S hia ess ansa sre qe E Sew ger xa 4 Chapter 2 Configuration Files Overview lessen hh 7 Understanding Configuration Files for EX Series Switches 7 Using the CLI Viewer in the J Web Interface to View Configuration Text 8 Using the CLI Editor in the J Web Interface to Edit Configuration Text 8 Using the Point and Click CLI Tool in the J Web Interface to Edit Configuration o a r 9 Understanding Automatic Refreshing of Scripts on EX Series Switches 10 Understanding Autoinstallation of Configuration Files on EX Series Switches 11 Typical Uses for Autoinstallation 11 Autoinstallation Configuration Files and IP Addresses 11 Typical Autoinstallation Process on a New Switch 12 Configuration Files Terms 4 2 13 Part 2 Configuration Chapter 3 Configuration TASKS 215542 Lust max doe rar Race os bee M Te ns ed BR cos 17 Uploading a Configuration File CLI Procedure
102. parameters such as syslog and commit configures Power over Ethernet PoE storm control and Ethernet switching on all interfaces and enables the LLDP and RSTP protocols When you commit changes to the configuration a new configuration file is created that becomes the active configuration You can always revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 The following factory default configuration file is for an EX4200 switch with 24 ports for models that have more ports this default configuration file has more interfaces e NOTE Inthis example ge 0 0 0 through ge 0 0 23 are the network interface ports Optional uplink modules provide either two 10 gigabit small form factor pluggable XFP transceivers xe 0 1 0 and xe 0 1 1 or four 1 gigabit SFP transceivers ge 0 1 0 through ge 0 1 3 Although you can install only one uplink module the interfaces for both are shown below system f syslog user f any emergency file messages f any notice authorization info file interactive commands f interactive commands any Copyright O 2012 Juniper Networks Inc Chapter 4 Default Configurations commit factory settings reset chassis lcd menu reset virtual chassis configuration interfaces f ge 0 0 0 unit O family ethernet switching ge 0 0 1 f unit O f family ethernet switching ge 0 0 2 1 un
103. pends on the number of ports in the EX2200 switch The poe stanza does not appear for models without PoE Uplink ports for the EX2200 switches except the EX2200 C models will be listed as ge 0 1 0 to ge 0 1 3 and for the EX2200 C switches as ge 0 1 0 to ge 0 1 1 system syslog user f any emergency file messages any notice authorization info file interactive commands f interactive commands any commit factory settings reset chassis lcd menu reset virtual chassis configuration interfaces f ge 0 0 0 unit O f family ethernet switching ge 0 0 1 unit O f family ethernet switching ge 0 0 2 unit O f family ethernet switching ge 0 0 3 unit O f family ethernet switching 30 Copyright 2012 Juniper Networks Inc Chapter 4 Default Configurations ge 0 0 4 1 unit O f family ethernet switching ge 0 0 5 unit O f family ethernet switching ge 0 0 6 unit O family ethernet switching ge 0 0 7 unit O f family ethernet switching ge 0 0 8 1 unit O family ethernet switching ge 0 0 9 1 unit O family ethernet switching ge 0 0 10 unit O f family ethernet switching ge 0 0 11 f unit O family ethernet switching ge 0 0 12 unit O f family ethernet switching ge 0 0 13 unit O f family ethernet switching ge 0 0 14 1 unit O family ethernet switching ge 0
104. ries Description Configure the router or switch to transfer its currently active configuration to an archive site each time you commit a candidate configuration e NOTE When specifying a URL in a Junos OS statement using an IPv6 host address you must enclose the entire URL in quotation marks and enclose the IPv6 host address in brackets For example ftp username lt password gt ipv6 host address lt port gt url path e NOTE The edit system archival hierarchy is not available on QFabric Systems Required Privilege system To view this statement in the configuration Level system control To add this statement to the configuration Related gt Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Documentation Archive Site archive configuration on page 71 transfer interval on page 74 Copyright O 2012 Juniper Networks Inc 75 Configuration File Management on EX Series Switches 76 Copyright O 2012 Juniper Networks Inc PART 3 Administration Routine Monitoring on page 79 Operational Commands on page 83 Copyright O 2012 Juniper Networks Inc 77 Configuration File Management on EX Series Switches 78 Copyright O 2012 Juniper Networks Inc CHAPTER 6 Routine Monitoring Managing Configuration Files Through the Configuration History J Web Procedure on page 79 Verifying Autoinstallation Status on an EX Series Switch on
105. rms on page 13 Setting or Deleting the Rescue Configuration CLI Procedure Related Documentation 24 A rescue configuration is a well known configuration that recovers a switch from a configuration that denies management access You set a current committed configuration to be the rescue configuration through the J Web interface or CLI If someone inadvertently commits a configuration that denies management access to an EX Series switch and the console port is not accessible you can overwrite the invalid configuration and replace it with the rescue configuration by using the LCD panel on the Switch The rescue configuration is a previously committed valid configuration We recommend that the rescue configuration include the IP address accessible from the network for the management port To set the current active configuration as the rescue configuration user switch gt request system configuration rescue save To delete an existing rescue configuration user switch gt request system configuration rescue delete Setting or Deleting the Rescue Configuration J Web Procedure on page 25 Reverting to the Rescue Configuration for the EX Series Switch on page 23 Loading a Previous Configuration File CLI Procedure on page 19 Configuration Files Terms on page 13 Forinformation on show system configuration rescue see Junos OS System Basics and Services Command Reference Copyright O 2012 Juniper Networks Inc Chapt
106. rs For ACX Series routers J Series Services routers and EX Series switches only Download a configuration file automatically from an FTP Hypertext Transfer Protocol HTTP or Trivial FTP TFTP server When you power on a router or switch configured for autoinstallation it requests an IP address from a Dynamic Host Configuration Protocol DHCP server Once the router or switch has an address it sends a request to a configuration server and downloads and installs a configuration The remaining statements are explained separately system To view this statement in the configuration system control To add this statement to the configuration e ACX Series Autoinstallation Overview Before You Begin Autoinstallation on an ACX Series Universal Access Router Autoinstallation Configuration of ACX Series Universal Access Routers USB Autoinstallation on ACX Series Routers Verifying Autoinstallation on ACX Series Universal Access Routers Show system autoinstallation status Upgrading Software Using Automatic Software Download on EX Series Switches J Series Services Router Basic LAN and WAN Access Configuration Guide configuration servers on page 72 idle timeout Copyright O 2012 Juniper Networks Inc 69 Configuration File Management on EX Series Switches commit synchronize 70 Syntax Hierarchy Level Release Information Description Options Required Privilege Level Related Documentation
107. s Automation Guide Executing an Op Script from a Remote Site in the Junos OS Configuration and Operations Automation Guide file checksum md5 on page 88 file checksum shal on page 89 op file checksum sha 256 on page 90 When you enter this command you are provided feedback on the status of your request user host gt file checksum sha 256 var db scripts commitscript slax SHA256 var db scripts commitscript slax 94c2b061fb55399e15babd2529453815601a602b5c98e5c12ed929c9d343dd71 Copyright 2012 Juniper Networks Inc file compare Syntax Release Information Description Options Required Privilege Level List of Sample Output Output Fields Chapter 7 Operational Commands file compare files filename filename context unified lt ignore white space gt Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the OFX Series Compare two local files and describe the differences between them in default context or unified output styles Default In the first line of output c means lines were changed between the two files d means lines were deleted between the two files and a means lines were added between the two files The numbers preceding this alphabetical marker represent the first file and the lines after the alphabetical marker represent the second file A left angle br
108. s OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Display a list of files on the local router or switch none Display a list of all files for the current directory detail recursive Optional Display detailed output or descend recursively through the directory hierarchy respectively filename Optional Display a list of files For a routing matrix the filename must include the chassis information The default directory is the home directory of the user logged in to the router or switch To view available directories enter a space and then a backslash after the file list command To view files within a specific directory include a backslash followed by the directory and optionally subdirectory name after the file list command maintenance file list on page 97 file list Routing Matrix on page 97 When you enter this command you are provided feedback on the status of your request userGhost gt file list var tmp dcd core rpd core snmpd core user host gt file list lccO reO var tmp 1cc0 re0 var tmp gdbinit pccardd Test chassisd chassisd nathan check time cores diagTestPrep diagtest Copyright O 2012 Juniper Networks Inc 97 Configuration File Management on EX Series Switches 98 diagtest regress do switchovers dump test err manoj log esw clearstats esw counter esw debug esw debug ge esw filt test
109. se 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Clear any pending commit operation This command has no options maintenance or the actual user who scheduled the commit Show system commit on page 116 clear system commit on page 85 clear system commit None Pending on page 85 clear system commit User Does Not Have Required Privilege Level on page 85 When you enter this command you are provided feedback on the status of your request user host gt clear system commit Pending commit cleared user host gt clear system commit No commit scheduled user host gt clear system commit error Permission denied Copyright O 2012 Juniper Networks Inc 85 Configuration File Management on EX Series Switches file archive Syntax Release Information Description Options Required Privilege Level List of Sample Output Output Fields Sample Output file archive Multiple Files file archive Single File file archive with Compression 86 file archive destination destination source source compress Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Archive and optionally compress one or multiple local system files as a single file locally or at a remote location destina
110. ss on the switch attempts to download a configuration file in the following ways a If the DHCP server specifies the host specific configuration file hostname conf the switch uses that filename in the TFTP server request The autoinstallation process on the new switch makes three unicast TFTP requests for hostname conf If these attempts fail the switch broadcasts three requests to any available TFTP server for the file b If the switch does not locate a hostname conf file the autoinstallation process sends three unicast TFTP requests for a network conf file that contains the switch s hostname to IP address mapping information If these attempts fail the switch broadcasts three requests to any available TFTP server for the file c If the switch fails to find a network conf file that contains a hostname entry for the switch the autoinstallation process sends out a DNS request and attempts to resolve the switch s IP address to a hostname 12 Copyright O 2012 Juniper Networks Inc Related Documentation Chapter 2 Configuration Files Overview d If the switch determines its hostname it sends a TFTP request for the hostname conf file e If the switch is unable to map its IP address to a hostname it sends TFTP requests for the default configuration file switch conf The TFTP request procedure is the same as for the network conf file 3 After the switch locates a configuration file on a TFTP server the autoinstallation process
111. ssage files in the local directory var log messages as the single file messages archive tgz Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands user host gt file archive compress source var log messages destination var log messages archive tgz usr bin tar Removing leading from absolute path names in the archive Copyright O 2012 Juniper Networks Inc 87 Configuration File Management on EX Series Switches file checksum md5 Syntax file checksum md5 pathname filename Release Information Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Description Calculate the Message Digest 5 MD5 checksum of a file Options pathname Optional Path to a filename filename Name of a local file for which to calculate the MD5 checksum Required Privilege maintenance Level Related Configuring Checksum Hashes for a Commit Script in the Junos OS Configuration and Documentation Operations Automation Guide Configuring Checksum Hashes for an Event Script in the Junos OS Configuration and Operations Automation Guide Configuring Checksum Hashes for an Op Script in the Junos OS Configuration and Operations Automation Guide Executing an Op Script from a Remote Site in the Junos OS Configuration and Operations Automation Guide file checksum sha 256 on page 90 f
112. tem Junos OS for Juniper Networks EX Series Ethernet Switches on its general purpose processors Junos OS includes processes for Internet Protocol IP routing and for managing interfaces networks and the chassis The Junos OS runs on the Routing Engine The Routing Engine kernel coordinates communication among the Junos OS processes and provides a link to the Packet Forwarding Engine With the J Web interface and the command line interface CLI to the Junos OS you configure switching features and routing protocols and set the properties of network interfaces on your switch After activating a software configuration use either the J Web or CLI user interface to monitor the switch manage operations and diagnose protocol and network connectivity problems Routing Engine and Packet Forwarding Engine on page 3 Junos OS Processes on page 4 Routing Engine and Packet Forwarding Engine A switch has two primary software processing components Packet Forwarding Engine Processes packets applies filters routing policies and other features and forwards packets to the next hop along the route to their final destination Routing Engine Provides three main functions Creates the packet forwarding switch fabric for the switch providing route lookup filtering and switching on incoming data packets then directing outbound packets to the appropriate interface for transmission to the network e Maintains the routing tables
113. the TFTP server This file contains IP address to hostname mapping entries If the DHCP server does not send a hostname conf filename to a new switch the switch uses network conf to resolve its hostname based on its IP address Alternatively you can add the IP address to hostname mapping entry for the switch to a DNS database file The switch uses the hostname to request a hostname conf file from the TFTP server To configure autoinstallation 1 Specify the URL address of one or more servers from which to obtain configuration files edit system user switch set autoinstallation configuration servers tftp tftpconfig sp com C NOTE You can also use an FTP address for example ftp user password sftpconfig sp com Copyright 2012 Juniper Networks Inc Chapter 3 Configuration Tasks 2 Configure one or more Ethernet interfaces to perform autoinstallation and one or two procurement protocols for each interface The switch uses the protocols to send a request for an IP address for the interface edit system user switch set autoinstallation interfaces ge 0 0 0 bootp Related Verifying Autoinstallation Status on an EX Series Switch on page 82 D tati ee ete Understanding Autoinstallation of Configuration Files on EX Series Switches on page 11 Understanding DHCP Services for EX Series Switches Using the Commit Options to Commit Configuration Changes J Web Procedure You can use the single commit feature to co
114. tion Syntax Hierarchy Level Release Information Description Options Required Privilege Level Related Documentation 74 transfer interval interval edit system archival configuration Statement introduced before Junos OS Release 74 Statement introduced in Junos OS Release 9 0 for EX Series switches Statement introduced in Junos OS Release 11 1 for the QFX Series Configure the router or switch to periodically transfer its currently active configuration to an archive site B NOTE The edit system archival hierarchy is not available on QFabric systems interval Interval at which to transfer the current configuration to an archive site Range 15 through 2880 minutes e NOTE The edit system archival hierarchy is not available on QFabric Systems system To view this statement in the configuration system control To add this statement to the configuration Using Junos OS to Configure a Router or Switch to Transfer Its Configuration to an Archive Site archive configuration on page 71 transfer on commit on page 75 Copyright O 2012 Juniper Networks Inc Chapter 5 Configuration Statements transfer on commit Syntax transfer on commit Hierarchy Level edit system archival configuration Release Information Statement introduced before Junos OS Release 7 4 Statement introduced in Junos OS Release 9 0 for EX Series switches Statement introduced in Junos OS Release 11 1 for the QFX Se
115. tion C Displays a comment about a statement Indicates that a statement is inactive M Indicates that a statement has been added or modified but has not been committed 6g Indicates that the statement or identifier is required in the configuration Provides online help information After typing or selecting your configuration edits click a button in the main pane described in Table 6 on page 10 to apply your changes or cancel them refresh the display or discard parts of the candidate configuration An updated configuration does not take effect until you commit it Table 6 J Web Edit Point amp Click Configuration Buttons Button Function Refresh Updates the display with any changes to the configuration made by other users Commit Verifies edits and applies them to the current configuration file running on the switch Discard Removes edits applied to or deletes existing statements or identifiers from the candidate configuration Related gt CLI User Interface Overview pocumentation Understanding J Web Configuration Tools Understanding Automatic Refreshing of Scripts on EX Series Switches You can autornatically refresh commit event and op scripts using operational mode commands on EX Series switches The commands are e request system scripts refresh from commit e request system scripts refresh from event e request system scripts refresh from op The existing Junos operating system Ju
116. tion and Release Notes on page xi Supported Platforms on page xi Using the Examples in This Manual on page xi Documentation Conventions on page xiii Documentation Feedback on page xv Requesting Technical Support on page xv Documentation and Release Notes To obtain the most current version of all Juniper Networks technical documentation see the product documentation page on the Juniper Networks website at http www juniper net techpubs If the information in the latest release notes differs from the information in the documentation follow the product Release Notes Juniper Networks Books publishes books by Juniper Networks engineers and subject matter experts These books go beyond the technical documentation to explore the nuances of network architecture deployment and administration The current list can be viewed at http www juniper net books Supported Platforms For the features described in this document the following platforms are supported EX Series Using the Examples in This Manual If you want to use the examples in this manual you can use the load merge or the load merge relative command These commands cause the software to merge the incoming configuration into the current candidate configuration The example does not become active until you commit the candidate configuration If the example configuration contains the top level of the hierarchy or multiple hierarchies the example is a
117. tion contains the initial values set for each configuration parameter when a switch is shipped rescue configuration Well known configuration that recovers a switch from a configuration that denies management access You set a current committed configuration to be the rescue configuration through the J Web interface or CLI roll back a configuration Return to a previously committed configuration Copyright O 2012 Juniper Networks Inc 13 Configuration File Management on EX Series Switches Related Documentation EX2200 Switch Default Configuration on page 29 EX3200 Default Configuration on page 33 EX4200 Default Configuration on page 42 EX4500 Default Configuration on page 46 EX8200 Switch Default Configuration on page 63 Loading a Previous Configuration File CLI Procedure on page 19 Managing Configuration Files Through the Configuration History J Web Procedure on page 79 Reverting to the Rescue Configuration for the EX Series Switch on page 23 Understanding Configuration Files for EX Series Switches on page 7 Copyright O 2012 Juniper Networks Inc PART 2 Configuration Configuration Tasks on page 17 Default Configurations on page 29 Configuration Statements on page 65 Copyright O 2012 Juniper Networks Inc Configuration File Management on EX Series Switches 16 Copyright O 2012 Juniper Networks Inc CHAPTER 3 Configuration Tasks Uploading a Configuration File CLI Proc
118. tion destination Destination of the archived file or files Specify the destination as a URL or filename The Junos OS adds one of the following suffixes if the destination filename does not already have it For archived files The suffix tar For archived and compressed files The suffix tgz source source Source of the original file or files Specify the source as a URL or filename compress Optional Compress the archived file with the GNU zip gzip compression Utility The compressed files have the suffix tgz maintenance file archive Multiple Files on page 86 file archive Single File on page 86 file archive with Compression on page 86 When you enter this command you are provided feedback on the status of your request The following sample command archives all message files in the local directory var log messages as the single file messages archive tar user host gt file archive source var log messages destination var log messages archive tar usr bin tar Removing leading from absolute path names in the archive user host gt The following sample command archives one message file in the local directory Nar log messages as the single file messages archive tar user host gt file archive source var log messages destination var log messages archive tar usr bin tar Removing leading from absolute path names in the archive user host The following sample command archives and compresses all me
119. tions is displayed as Configuration History in the main pane 2 In the Action column click Download for the version of the configuration you want to download 3 Select the options your Web browser provides that allow you to save the configuration file to a target directory on your local system The file is saved as an ASCII file Loading a Previous Configuration File with the J Web Interface To load roll back and commit a previous configuration file stored on the switching platform l Select Config Management gt History A list of current and previous 49 configurations is displayed as Configuration History in the main pane 2 In the Action column click Rollback for the version of the configuration you want to load The main pane displays the results of the rollback operation Copyright O 2012 Juniper Networks Inc 81 Configuration File Management on EX Series Switches e NOTE When you click Rollback the switch loads and commits the selected configuration This behavior is different from the switch s behavior that occurs after you enter the rollback configuration mode command from the CLI In the latter case the configuration is loaded but not committed Related Loading a Previous Configuration File CLI Procedure on page 19 D tati ocumentatnon Understanding Configuration Files for EX Series Switches on page 7 Understanding J Web Configuration Tools Verifying Autoinstallation Status on an EX Series
120. try at 0x800000e0 GDB no debug ports present KDB debugger backends ddb KDB current backend ddb Copyright c 1996 2011 Juniper Networks Inc All rights reserved Copyright c 1992 2006 The FreeBSD Project Copyright c 1979 1980 1983 1986 1988 1989 1991 1992 1993 1994 The Regents of the University of California All rights reserved JUNOS 11 4R1 2 0 2011 10 27 18 05 39 UTC userQjuniper net volume build junos 11 4 release 11 4R1 2 0bj powerpc bsd kernels JUNIPER EX kernel can t re use a leaf all_slot_serialid Timecounter decrementer frequency 50000000 Hz quality 0 cpu0 Freescale e500v2 core revision 2 2 cpu0 HIDO 80004080 EMCP TBEN EN MAS7 UPDATE real memory 511705088 488 MB avail memory 500260864 477 MB ETHERNET SOCKET BRIDGE initialising Initializing EXSERIES platform properties Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands Automatic reboot in progress Media check on da0 on ex platforms dev da0s2a FILE SYSTEM CLEAN SKIPPING CHECKS clean 20055 free 31 frags 2503 blocks 0 0 fragmentation zeroizing dev da0sla zeroizin dev da0s3d zerdizing dev da0s3e zehoiaind dev da0s4d dev da0s4e syncing disks All buffers synced Uptime 3m40s Rebooting U Boot 1 1 6 Apr 21 2011 13 58 42 Board EX4200 48PX 1 1 EPLD Version 8 0 0x82 DRAM Initializing 512 MB FLASH 8 MB NAND
121. tthe following prompt enter the new root password For example New password juniper Retype new password At the second prompt reenter the new root password If you are finished configuring the network commit the configuration root switch commit commit complete Exit configuration mode in the CLI root switch exit Exit operational mode in the CLI root switch gt exit At the prompt enter y to reboot the switch Reboot the system y n y Copyright O 2012 Juniper Networks Inc Chapter 8 Troubleshooting Procedures Related gt Connecting and Configuring an EX Series Switch CLI Procedure D tati PERRIER Connecting and Configuring an EX Series Switch J Web Procedure For information about configuring an encrypted root password configuring SSH keys to authenticate root logins and configuring special requirements for plain text passwords see the Junos OS System Basics Configuration Guide Copyright O 2012 Juniper Networks Inc 129 Configuration File Management on EX Series Switches 130 Copyright O 2012 Juniper Networks Inc
122. used by the switch and controls the routing protocols that run on the switch Copyright O 2012 Juniper Networks Inc 3 Configuration File Management on EX Series Switches Provides control and monitoring functions for the switch including controlling power and monitoring system status Junos OS Processes The Junos OS running on the Routing Engine and Packet Forwarding Engine consists of multiple processes that are responsible for individual functions The separation of functions provides operational stability because each process accesses its own protected memory space In addition because each process is a separate software package you can selectively upgrade all or part of the Junos OS for added flexibility Table 3 on page 4 describes the primary Junos OS processes Table 3 Junos OS Processes Process Chassis process Name Description chassisd Detects hardware on the system that is used to configure network interfaces Monitors the physical status of hardware components and field replaceable units FRUs detecting when environment sensors such as temperature sensors are triggered Relays signals and interrupts for example when devices are taken offline so that the system can close sessions and shut down gracefully Ethernet eswd Handles Layer 2 switching functionality such as MAC address learning Spanning Tree switching protocol and access port security The process is also responsible for manag
123. uter real memory 511705088 488 MB avail memory 500260864 477 MB ETHERNET SOCKET BRIDGE initialising Initializing EXSERIES platform properties Automatic reboot in progress Media check on da0 on ex platforms dev da0sla FILE SYSTEM CLEAN SKIPPING CHECKS clean 20064 free 48 frags 2502 blocks 0 1 fragmentation zeroizing dev da0s2a Creating initial configuration mgd error Cannot open configuration file config juniper conf mgd warning activating factory configuration mgd commit complete mgd mgd Please login as root No password is required mgd To start Initial Setup type ezsetup at the JUNOS prompt mgd To start JUNOS CLI type cli at the JUNOS prompt mgd Setting initial options debugger_on_panic NO debugger on break NO Starting optional daemons Doing initial network setup Amnesiac ttyu0 user switch gt request system zeroize warning System will be rebooted and may not boot without configuration Erase all data including configuration and log files yes no no yes warning ipsec key management subsystem not running not needed by configuration warning zeroizing reO regress fortius g20 p2 gt telnet gt q Connection closed bash 2 05b bash 2 05b bash 2 05b telnet fortius g20 p2 con Trying 10 216 3 52 Connected to fortius g20 p
124. utput Fields Sample Output clear log 84 clear log filename all Command introduced before Junos OS Release 7 4 Command introduced in Junos OS Release 9 0 for EX Series switches Command introduced in Junos OS Release 11 1 for the QFX Series Remove contents of a log file filename Name of the specific log file to delete all Optional Delete the specified log file and all archived versions of it Clear show log clear log on page 84 See file list for an explanation of output fields The following sample commands list log file information clear the contents of a log file and then display the updated log file information user host gt file list lccO reO var log sampled detail 1cc0 re0 rw r 1 root wheel 26450 Jun 23 18 47 var log sampled total 1 user host gt clear log lccO reO sampled 1cc0 re0 user host gt file list IccO reO var log sampled detail 1cc0 re0 57 Sep 15 03 44 var log sampled rw r 1 root wheel total 1 Copyright O 2012 Juniper Networks Inc Chapter 7 Operational Commands clear system commit Syntax Release Information Description Options Required Privilege Level Related Documentation List of Sample Output Output Fields Sample Output clear system commit clear system commit None Pending clear system commit User Does Not Have Required Privilege Level clear system commit Command introduced before Junos OS Relea
125. want to convert an EX3300 EX4200 or EX4500 switch from a member of a multimember Virtual Chassis configuration to a standalone switch first disconnect the cables connected to the Virtual Chassis ports VCPs See Disconnecting a Fiber Optic Cable from an EX Series Switch Disconnecting a Virtual Chassis Cable from an EX4200 Switch or Disconnecting a Virtual Chassis Cable from an EX4500 Switch The Menu button procedure deletes all modified configuration parameters including Virtual Chassis parameters such as member ID mastership priority and setting of VCP uplinks To revert to the default factory configuration by using the LCD panel 1 Pressthe Menu button until you see MAINTENANCE MENU on the panel 2 Press the Enter button 3 Press Menu until you see FACTORY DEFAULT 4 Press Enter The display says RESTORE DEFAULT 5 Press Enter The screen flashes FACTORY DEFAULT IN PROGRESS and returns to the idle menu Reverting to the Default Factory Configuration by Using the request system zeroize Command The request system zeroize commandis a standard Junos OS operational mode command Issuing this command removes all configuration information and resets all key values The operation unlinks all user created data files including customized configuration and log files from their directories The switch then reboots and reverts to the default factory configuration Copyright O 2012 Juniper Networks Inc 21 Configuration File Manage
126. width text like this Represents output that appears on the user host gt show chassis alarms terminal screen i No alarms currently active Copyright 2012 Juniper Networks Inc xiii Configuration File Management on EX Series Switches Table 2 Text and Syntax Conventions continued Convention Description Examples Italic text like this e Introduces or emphasizes important e A policy term is a named structure new terms that defines match conditions and e Identifies book names actions Identifies RFC and Internet draft titles Junos OS System Basics Configuration Guide RFC1997 BGP Communities Attribute Italic text like this Represents variables options for which Configure the machine s domain name you substitute a value in commands or configuration statements edit root set system domain name domain name Text like this Represents names of configuration e To configure a stub area include the statements commands files and directories configuration hierarchy levels or labels on routing platform components stub statement at the edit protocols ospf area area id hierarchy level The console port is labeled CONSOLE angle brackets Enclose optional keywords or variables stub default metric metric pipe symbol Indicates a choice between the mutually exclusive keywords or variables on either side of the symbol The set of choices is often enclosed in parentheses for cl
127. you cannot access the switch through the management Ethernet interface Log in through the console as root and start the Junos OS command line interface CLI by typing cli at the prompt media Optional Erase all user created files from the system including all plain text passwords secrets and private keys for SSH local encryption local authentication IPsec RADIUS TACACS and SNMP In addition to removing all configuration and log files the media option causes memory and the media to be scrubbed removing all traces of any user created files The duration of the scrubbing process is dependent on the size of the media being erased As a result the request system zeroize media operation can take considerably more time than the request system zeroize operation maintenance e Reverting to the Default Factory Configuration for the EX Series Switch on page 20 Reverting to the Rescue Configuration for the EX Series Switch on page 23 request system zeroize EX4200 Switch on page 109 request system zeroize media EX4200 Switch on page 110 request system zeroize ACX2000 Universal Access Router on page 112 Copyright O 2012 Juniper Networks Inc Sample Output request system zeroize EX4200 Switch Chapter 7 Operational Commands user switch gt request system zeroize warning System will be rebooted and may not boot without configuration Erase all data including configuration and log files yes no no yes 0 1 1
128. ystem log and file messages while also enabling the Link Layer Discovery Protocol LLDP protocol the Rapid Spanning Tree Protocol RSTP Internet Group Management Protocol IGMP snooping and storm control When you commit changes to the configuration a new configuration file is created that becomes the active configuration You can always revert to the factory default configuration See Reverting to the Default Factory Configuration for the EX Series Switch on page 20 This topic shows the factory default configuration file of an EX8200 switch system arp aging timer 5 syslog user f any emergency file messages f any notice authorization info file interactive commands f interactive cCommands any commit f factory settings f reset chassis lcd menu protocols f igmp snooping f vlan all rstp lldp interface all lldp med interface all ethernet switching options f storm control f interface all Copyright O 2012 Juniper Networks Inc 63 Configuration File Management on EX Series Switches 64 Related Documentation poe interface all Configuration Files Terms on page 13 Connecting and Configuring an EX Series Switch CLI Procedure Connecting and Configuring an EX Series Switch J Web Procedure Understanding Configuration Files for EX Series Switches on page 7 EX8208 Switch Hardware Overview EX8216 Switch Hardware Overview Copyright 2

Download Pdf Manuals

image

Related Search

Related Contents

ZyXEL Prestige 630 User's Manual  Ingecon HybrId Ac Link      HP Pro Tablet 10 EE G1 32GB Grey    vTab7A Bedienungsaltg  Créez votre propre disque dur  Page 1 Page 2 次 第2 生産等管理 ------------------------------  

Copyright © All rights reserved.
Failed to retrieve file