# 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 ![Topology 1](./images/Topology1.png) 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 ```
Note: Same PMs will be shown for et-0/0/0:0-3 as all three sub-interfaces go through the same media.
## Unamplified Topology ![Topology 2](./images/Topology2.png) This topology has 2 ACXs, ACX7100-48L and ACX7509 with 400G-ZR+ HP modules. All 4 pairs of modules in this lab are connected to an 8-channel passive filter and connected 50km of fiber. Only 4 pairs of modules are used due to resource limitations. In this lab, you are assigned 1 pair of interfaces on each side. ### Connect to Lab VM You will need the **Unamplified 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 ACX1 router by double clicking **ACX1** 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 3* ``` 5. Verify that the link is down. We will configure this later. 6. Open a SSH session to ACX2 router by double clicking **ACX2** 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 4* ``` ### Wavelength Since all the interfaces in this lab are connected on a passive filter, the frequency/wavelength should match to the corresponding port on the passive filter. If the module is not tuned to same wavelength to the same wavelength as the passive filter port, the signal will not pass through. 1. On ACX1, go to configure mode and enter the following commands: ``` configure set interfaces *your assigned interface 3* optics-options wavelength *your assigned wavelength 3* commit and-quit ``` 2. On ACX2, go to configure mode and enter the following commands: ``` configure set interfaces *your assigned interface 4* optics-options wavelength *your assigned wavelength 4* commit and-quit ``` 3. It will take 2 minutes for the optics to go up. Enter the following command to check your interfaces on both ACXs. The link should be up, and traffic should flow. ``` show interfaces *your assigned interface 3* -- On ACX1 show interfaces *your assigned interface 4* -- On ACX2 show interfaces transport pm optics current *your assigned interface 3* -- On ACX1 show interfaces transport pm optics current *your assigned interface 4* -- On ACX2 ``` ### Transmit Power Another feature for 400G-ZR/ZR+ optics is the ability to set the transmit power. It can be set by multiples of 0.25dBm. 1. On ACX1, go to configure mode and enter the following commands: ``` configure set interfaces *your assigned interface 3* optics-options tx-power -3 commit and-quit ``` 2. On ACX2, check the receive power: ``` show interfaces transport pm optics current *your assigned interface 4* ``` 3. On ACX2, go to configure mode and enter the following commands: ``` configure set interfaces *your assigned interface 4* optics-options tx-power -3 commit and-quit ``` 4. On ACX1, check the receive power: ``` show interfaces transport pm optics current *your assigned interface 3* ``` 5. Keep on lowering the tx-power until you hit LOS/Loss of Signal. That means you have reached the Rx Sensitivity/Minimum receive power of module. The link should go down. Increase the tx-power to restore the link.
Note: JCO400-QDD-ZR-M-HP (JPN 740-151745) can be set from 0dBm until -6dBm while QDD-400G-ZR-M-HP (JPN 740-131168) can be set from 0dBm to -10dBm.
6. You can also change the mode like you did for Amplified Links. Try the 2x100GE Mode this time. 7. Open the OpenJTS shortcut on the Desktop’s VM. You will be able to virtualize the PMs from here.