Description

This article will explain about the reason of the configuration check-out error due to below message "speed config can neither co-exist with pic <> number-of-ports <> nor pic <> pic-mode config".

 

When we have configs related to pic-mode and port speed associated with same FPC, then we will get commit error, as they never co-exist with each other as per the design.

 

Below are the reference config:

 

set chassis fpc 0 pic 0 pic-mode 100G

set chassis fpc 0 pic 0 port 0 speed 10g

Symptoms

We will not be able to commit anything and will get below error:

 

lab_root@host# commit check

[edit chassis fpc 0 pic 0 port 0 speed]

 'speed 10g'

    speed config can neither co-exist with pic <> number-of-ports <> nor pic <> pic-mode config

error: configuration check-out failed: (statements constraint check failed)

Solution

We need to delete either of these in order to commit the change. For more details regarding this, refer below document:

https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/pic-mode-edit-chassis-mx-series.html

lab_root@host# delete chassis fpc 0 pic 0 pic-mode 100G 

 

[edit]

lab_root@host# show| compare 

[edit chassis]

+  fpc 0 {

+    pic 0 {

+      port 0 {

+        speed 10g;

+      }

+    }

+  }

 

[edit]

lab_root@host# commit check 

configuration check succeeds

 

Modification History

2024-04-08 :  Initial Version

Related Information

In certain instance, after committing above configs, it will ask for FPC/PIC bounce (specifically for MPC7E-MRATE MPC). Then in that we need to offline/online that specific FPC or PIC module depending on the alarm.

root@jtac> show chassis alarms no-forwarding

1 alarms currently active
Alarm time               Class  Description
2020-04-07 16:15:43 PDT  Minor FPC 2 PIC 0 Need bounce

Soft Restart:

In case of Minor alarm for PIC,

>request chassis pic fpc-slot fpc-slot-number  pic-slot  pic-slot-number offline
<wait for 2 minutes>
>request chassis pic fpc-slot  fpc-slot-number  pic-slot  pic-slot-number  online

In case of Minor alarm for FPC,

>request chassis fpc offline slot fpc- slot-number
<wait for 2 minutes>
>request chassis fpc online slot  fpc- 
slot-number

OR

>request chassis fpc restart slot  fpc- slot-number