> ## Content Index
> Fetch the complete content index at: https://artofinfra.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Soft reset an SFP on a Juniper switch (QFX and EX)
- URL: https://artofinfra.com/soft-reset-an-sfp-on-a-juniper-switch-qfx-and-ex/
- Published: 2022-01-19T08:18:00.000Z
- Updated: 2025-07-26T17:55:42.000Z
- Author: Dan Jones
- Tags: Networking, #dan-2, Tutorials, #Import 2025-08-21 13:12

# Intro 

When using an SFP/ SFP+ or QSFP module, you may encounter an issue where it simply doesn't work when you first plug it in, and a common next step is to remove the SFP and reinsert it physically. What if you've already left the site, or you're back at the main office or working from home?

There is a way to carry out a "Soft Reset" of an SFP which can resolve many issues, similar to physical removal and reinsertion of SFP modules.

How do we do this?

Locate the port on the switch where the SFP is plugged in and note down the port number. In this example, we will look at XE-1/0/10 on an EX4600.

```shell
xe-1/0/10       up  down **Description**

```

The next step requires us to work/ log into the FPC/ PFE itself. So how do we know which FPC we need to reach?

XE-1/0/10 is the port we need to soft reset, so let's look at how JUNOS interprets that port. We won't go into massive detail about how it's put together but rather skim across the top for the basics.

XE-1/0/10

- 1 = FPC number
- 0 = PIC number
- 10 = Port number

[Juniper Networks Cheatsheet - General CommandsWe’ve put together a list and a pdf cheatsheet of the most commonly used Juniper Networks commands as a reference for all.![](https://artofinfra.com/content/images/icon/aoi-favi-9.webp)Art of InfraDan Jones![](https://artofinfra.com/content/images/thumbnail/JuniperNetworks-GeneralCheatsheet.webp)](https://artofinfra.com/tldr/cs-juniper-networks-general/)

With these details, we can now go ahead and log into the FPC required for the soft removal of this port.

```shell
start shell pfe network fpc1
set cmqfx xcvr remove pic 0 port 10

Soft removing pic/port: 0/10!!!
[Fri DATE LOG: Info] sfp-1/0/10 SFP unplugged

```

You should see something similar to advise that the SFP has now been unplugged; if you have another session open to the CLI of the switch and try to do a "show interfaces xe-1/0/10", it should show that it doesn't exist or hardware is unplugged.

Let's go ahead and soft plug the SFP back in.

```shell
set cmqfx xcvr insert pic 0 port 10

Soft inserting pic/port: 0/10!!!
[Fri DATE LOG: Info] sfp-1/0/10 SFP plugged in

exit

```

That's it. You should now be able to "show interfaces xe-1/0/10" to find out if the port is back up, etc.

Exit to back out of the shell session into the FPC.

# Other commands to help with diagnostics 

If you want to show a complete list of the SFP modules plugged in, their details and anything else, we can also run the below to acquire this information (while logged into the FPC in shell);

```bash
show sfp list

```

If you have any questions, let me know!