This was far more difficult than it should be so it’s worth writing down…
First, check the Juniper Port Checker to ensure that the port configuration you want is supported. In my case, I wanted 2x 100G (QSFP28), 2x 40G (QSFP+) and 8x 10G (SFP+). You now need to configure all of those ports explicitly:
chassis {
fpc 0 {
pic 0 {
port 0 {
speed 100g;
}
port 1 {
speed 100g;
}
port 2 {
speed 40g;
}
port 3 {
speed 40g;
}
}
pic 1 {
port 0 {
speed 10g;
}
port 1 {
speed 10g;
}
port 2 {
speed 10g;
}
port 3 {
speed 10g;
}
port 4 {
speed 10g;
}
port 5 {
speed 10g;
}
port 6 {
speed 10g;
}
port 7 {
speed 10g;
}
}
}
}
fpc 0 {
pic 0 {
port 0 {
speed 100g;
}
port 1 {
speed 100g;
}
port 2 {
speed 40g;
}
port 3 {
speed 40g;
}
}
pic 1 {
port 0 {
speed 10g;
}
port 1 {
speed 10g;
}
port 2 {
speed 10g;
}
port 3 {
speed 10g;
}
port 4 {
speed 10g;
}
port 5 {
speed 10g;
}
port 6 {
speed 10g;
}
port 7 {
speed 10g;
}
}
}
}
Now, you need to restart both PICs on FPC 0. Naturally, don’t do this in production or it’ll make a mess. First, bring the PICs offline:
request chassis pic pic-slot 0 fpc-slot 0 offline
request chassis pic pic-slot 1 fpc-slot 0 offline
request chassis pic pic-slot 1 fpc-slot 0 offline
Now bring them back online (1G/10G ports first).
request chassis pic pic-slot 1 fpc-slot 0 online
request chassis pic pic-slot 0 fpc-slot 0 online
request chassis pic pic-slot 0 fpc-slot 0 online
thanks a lot
nice shared
coool! thx!
thanks
Thanks for saving my ass at midnight and thousands of customer connections. 😂👍