# ZR/ZR+ Optics Lab ## Overview This Lab covers basic optical use cases. It will basic configuration needed to bring up ZR/ZR+ Optics and monitoring. - **Unamplified Links** - Point-to-Point Links where there is no Amplifier required. - Optical Power Limited - Router configuration only - Multiple channels on a single duplex fiber is also possible. - **Amplified Links** - Point-to-Point Links where there is an Amplifier required due to distance/fiber loss. - OSNR and CD limited - Router and Amplifier configuration needed. ## Starting Lab This lab is based on physical hardware, and therefore only allows for 4ppl to take this lab persession. If you would like to do this lab raise your hand to get Lab User information. ## Amplified Topology  This topology has 2 PTX10001-36MR with 400G-ZR-M optics. All 8 interfaces on each side are connected via a colorless splitter cable that is amplified and connects through 100km of fiber. In this lab, you are assigned 2 pairs of interfaces on each side. ### Connect to Lab VM You will need the **Amplified Link VM**, **Username**, and **Password** provided as part of your lLab User information. 1. On your desktop, open Microsoft Remote Desktop Connection. Use the provided VM for your lab. 2. Once connected, you can start doing the Amplified Topology. 3. Open a SSH session to PTX1 router by double clicking **PTX1** on the VM, and entering the following: - **Password** - Juniper123 4. Check your assigned interface for this lab by entring the following command: ``` show interfaces *your assigned interface 1* show interfaces *your assigned interface 2* ``` 5. Verify that the link is down. We will configure this later. 6. Open a SSH session to PTX2 router by double clicking **PTX2** on the VM, and entering the following: - **Password** - Juniper123 7. Check your assigned interface for this lab by entring the following command: ``` show interfaces *your assigned interface 1* show interfaces *your assigned interface 2* ``` ### Configure 400GE Mode Connection All the interfaces in this lab are connected on a colorless splitter cable, the frequency/wavelength you assign to the interface should not matter. Each side should have a unique wavelength. Since this is a shared lab, we will use a preassigned wavelength. 1. On PTX1, go to configure mode by entering the following command: ``` configure ``` 2. Now set a unique wavelength on each of the interfaces using the following commands: ``` set interfaces *your assigned interface 1* optics-options wavelength *your assigned wavelength 1* set interfaces *your assigned interface 2* optics-options wavelength *your assigned wavelength 2* ``` 3. Apply the configuration using the following command: ``` commit and-quit ``` 4. Do the same on PTX2. 5. It will take 2 minutes for the optics to go up. Check your interfaces on both PTX, and verify links are up and traffic is following. ``` show interfaces *your assigned interface 1* show interfaces *your assigned interface 2* ``` Congratulations, you have configured a 400G-ZR+ optics. 400G-ZR+ Optics can support OpenZR+ 1x400GE Mode, 4x100GE, 3x100GE, 2x100GE, and 1x100GE. We already have configured 400GE Mode above. ### Configure 3x100GE Mode Connection The configuration steps will be the same for all n x 100GE modes. 1. To enable and apply 3x100GE mode use the following command: ``` configure set interfaces *your assigned interface 1* speed 100g set interfaces *your assigned interface 1* number-of-sub-ports 3 set interfaces *your assigned interface 2* speed 100g set interfaces *your assigned interface 2* number-of-sub-ports 3 commit ``` 2. After 2min check the interfaces. ``` show interfaces *your assigned interface 1*:0 show interfaces *your assigned interface 1*:1 show interfaces *your assigned interface 1*:2 show interfaces *your assigned interface 2*:0 show interfaces *your assigned interface 2*:1 show interfaces *your assigned interface 2*:2 ``` 3. Ops. It seems the wavelength is not properly configured. Anything under the optics-option configuration should be applied on the first sub-port not on the parent port. We need to set the wavelength again on both PTX. ``` configure set interfaces *your assigned interface 1*:0 optics-options wavelength *your assigned wavelength 1* set interfaces *your assigned interface 2*:0 optics-options wavelength *your assigned wavelength 2* commit and-quit ``` 4. After 2min check the interfaces. ``` show interfaces *your assigned interface 1*:0 show interfaces *your assigned interface 1*:1 show interfaces *your assigned interface 1*:2 show interfaces *your assigned interface 2*:0 show interfaces *your assigned interface 2*:1 show interfaces *your assigned interface 2*:2 ``` 5. Another useful command for checking ZR/ZR+ interfaces. These are called PMs / Performance Monitoring. ``` show interfaces transport pm optics current *your assigned interface 1*:0 show interfaces transport pm optics current *your assigned interface 2*:0 ```