Managing Junos Node Slicing
Deleting Guest Network Functions
This procedure involves shutting down a GNF and then deleting it. In JDM, GNF VMs are called VNFs. Use the following steps to delete a VNF:
Disabling Junos Node Slicing
To disable Junos node slicing, you must uninstall the following packages:
JDM package
Junos OS image for GNFs
Save the JDM configuration if you want to use it for reference.
Use the following steps to disable Junos node slicing (external server model):
To disable in-chassis Junos node slicing, you must:
Shut down and delete all GNFs. Also, delete the Junos OS image associated with the GNF.
Shut down JDM and then delete the JDM software package.
Delete the in-chassis BSYS mode configuration (
set vmhost resize vjunos
).Reboot the Routing Engine.
Use the following steps to disable in-chassis Junos node slicing:
-
Delete the GNFs first by performing all the steps described in the section Deleting Guest Network Functions.
Stop the JDM on each Routing Engine by running the following command:
root@router>
request vmhost jdm stop
Uninstall the JDM on each Routing Engine by running the following command.
root@router>
request vmhost jdm delete
To revert the MX Series router from BSYS mode to standalone mode, apply the following configuration statements on the MX Series router:
root@router#
delete vmhost resize vjunos
root@router#commit
Reboot VM host.
user@router>
request vm host reboot (re0|re1)
The router now operates in standalone mode.
Note:All files in the /var/ location, including the log files (/var/log) and core files (/var/crash), are deleted when you reboot VM host after deleting the
vmhost resize vjunos compact
configuration. You must save any files currently in /var/log or /var/crash before deleting thevmhost resize vjunos compact
configuration if you want to use them for reference.
Managing Sub Line Cards
For an overview of sub-linecards, see Sub Line Card Overview.
For configuring sub-linecards, please refer to Configuring Sub Line Cards and Assigning Them to GNFs.
To manage the sub line cards, you can use the same CLI operational commands that are used to manage full line cards.
You can operate on SLCs from both BSYS as well as their associated GNFs.
From the BSYS, you can see the status of all SLCs on all FPCs, and take actions on any SLC.
From a GNF, you can see the status of, and take actions on, only those SLCs that are assigned to that GNF.
When you run a show command at the BSYS for a sliced line card,
the output shows values from BLC and all SLCs of that line card. The
annotation fpc-slot:slc-id
is used to indicate that an
output field is from a sub line card. When the same show command is
run at a GNF for that line card, the output shows the value only from
the specific slice that has been assigned to that GNF.
When you need to take action on an SLC from the BSYS, you must
use the new keyword slc
, together with an SLC ID, to indicate
the specific SLC of a specific FPC. When you need to take action on
the SLC from its associated GNF, you only need to specify the FPC
slot (the SLC ID is implicit).
Operational Commands on BSYS for Line Card Slices
The following are the sample command outputs on the BSYS, where FPC 1 has been sliced.
To view the status of a sliced line card at the BSYS, use the
CLI command show chassis fpc
, as shown below. The slot
entries 1:1 and 1:2 indicate the outputs from SLC1 and SLC2 respectively.
The slot entry ‘1’ indicates the output of the BLC.
The status of each SLC of a Line card is displayed using the fpc-slot-id:slc-id
nomenclature as below along with the GNF
assignment details:
user@bsys> show chassis fpc 1
Temp CPU Utilization (%) CPU Utilization (%) Memory Utilization (%)
Slot State (C) Total Interrupt 1min 5min 15min DRAM (MB) Heap Buffer GNF
1 Online 58 1 0 1 1 1 5120 36 0
1:1 Online 11 0 10 10 10 17408 14 0 1
1:2 Online 21 0 19 19 19 9216 30 0 2
To examine the operational values of the line card resources
of a sliced line card, use the CLI command show chassis fpc pic-status
. These operational values match the configured values of the line
card resources.
user@bsys> show chassis fpc pic-status 1
Slot 1 Online MPC11E 3D MRATE-40xQSFPP
SLC 1 Online FPC1 PFE0-1 4core-17gb GNF 1
PIC 0 Online MRATE-5xQSFPP
PIC 1 Online MRATE-5xQSFPP
SLC 2 Online FPC1 PFE2-7 4core-9gb GNF 2
PIC 2 Online MRATE-5xQSFPP
PIC 3 Online MRATE-5xQSFPP
PIC 4 Online MRATE-5xQSFPP
PIC 5 Online MRATE-5xQSFPP
PIC 6 Online MRATE-5xQSFPP
PIC 7 Online MRATE-5xQSFPP
To view the software version, uptime and the individual Packet
Forwarding Engine assignments of the SLCs, use the CLI command show chassis fpc slot detail
, as shown
below.
user@bsys> show chassis fpc 1 detail
Slot 1 information:
State Online
Temperature 58 degrees C / 136 degrees F
Total CPU DRAM 5120 MB
Total HBM 65536 MB
Start time 2021-01-06 09:47:31 PST
Uptime 20 hours, 57 minutes, 58 seconds
Max power consumption 1980 Watts
Operating Bandwidth 4000 G
SLC 1 information:
State Online
Total CPU cores 4
Total CPU DRAM 17408 MB
Total HBM 65536 MB
Start time 2021-01-06 09:48:48 PST
Uptime 20 hours, 56 minutes, 41 seconds
Version JUNOS 21.1-202012301103.0-EVO <--snip-->
SLC 2 information:
State Online
Total CPU cores 4
Total CPU DRAM 9216 MB
Total HBM 65536 MB
Start time 2021-01-06 09:50:22 PST
Uptime 20 hours, 55 minutes, 7 seconds
Version JUNOS 21.1-202012301103.0-EVO <--snip-->
PFE Information:
PFE Power ON/OFF Bandwidth SLC
0 ON 500G 1
1 ON 500G 1
2 ON 500G 2
3 ON 500G 2
4 ON 500G 2
5 ON 500G 2
6 ON 500G 2
7 ON 500G 2
To view the node-level assignments of line cards and sub line
cards to different GNFs, use the CLI command show chassis network-slices
fpcs
at the BSYS, as shown below. In this example, GNF 1 has
2 line card slices, SLC1 of FPC1 and SLC1 of FPC9, and no full line
cards. GNF 2 here has one full line card, FPC6, and 2 line card slices,
SLC2 of FPC1 and SLC2 of FPC9.
user@bsys> show chassis network-slices fpcs
guest-network-functions:
GNF FPCs
1 1:1 9:1
2 6 1:2 9:2
You can take a sub line card offline, bring it online or restart
it in the same way as you would with full line cards. You must use
the additional keyword slc
and an SLC ID to indicate the
specific SLC. For example, to restart SLC1 of FPC1, use the CLI command request chassis fpc slot 1 slc 1
.
user@bsys> request chassis fpc slot 1 slc 1 ?
Possible completions:
offline Take FPC offline
online Bring FPC online
restart Restart FPC
On the BSYS, when you take a sliced FPC offline, and do not specify any SLC, the command is applied to all SLCs of that FPC, that is, all the SLCs will first be taken offline, followed by the FPC itself. Similarly, when you bring a sliced FPC online, the FPC will be first brought online, followed by all the SLCs.
Operational Commands on GNF for Line Card Slices
The operational commands used on a GNF are identical to those
that are used on full line cards. When you specify an fpc-slot
, which has a sliced FPC, the command implicitly operates only on
the specific SLC of that FPC that has been assigned to that GNF, that
is, the SLC ID is implied.
In the example below, the CLI command show chassis fpc
1
is entered on GNF A; so, it shows the status of only one SLC,
SLC1, since that is the SLC of FPC1 associated with GNF A. It also
shows the BLC status of that FPC. Note that this output does not
show the status of SLC2 of FPC1, since SLC2 is associated with a different
GNF (GNF B).
user@gnf-a> show chassis fpc 1
bsys-re0:
--------------------------------------------------------------------------
Temp CPU Utilization (%) CPU Utilization (%) Memory Utilization (%)
Slot State (C) Total Interrupt 1min 5min 15min DRAM (MB) Heap Buffer GNF
1 Online 58 1 0 1 1 1 5120 36 0
1:1 Online 12 0 11 11 11 17408 14 0 1
In the example below, the same CLI command show chassis
fpc 1
is entered on GNF B; so, it shows only SLC2, which is
the SLC of FPC1 associated with GNF B. It also shows the BLC status
of that FPC. Note that this output does not show the status of SLC1
of FPC1, since SLC1 is associated with a different GNF (GNF A).
user@gnf-b> show chassis fpc 1
bsys-re0:
--------------------------------------------------------------------------
Temp CPU Utilization (%) CPU Utilization (%) Memory Utilization (%)
Slot State (C) Total Interrupt 1min 5min 15min DRAM (MB) Heap Buffer GNF
1 Online 58 1 0 1 1 1 5120 36 0
1:2 Online 20 0 19 19 19 9216 30 0 2
As another example, the following is the output of the CLI command show chassis fpc 5 detail
from GNF A. Note that it shows only
SLC1 information.
user@gnf-a> show chassis fpc 5 detail
bsys-re0:
--------------------------------------------------------------------------
Slot 1 information:
State Online
Temperature 58 degrees C / 136 degrees F
Total CPU DRAM 5120 MB
Total HBM 65536 MB
Start time 2021-01-06 09:47:31 PST
Uptime 21 hours, 40 minutes, 31 seconds
Max power consumption 1980 Watts
Operating Bandwidth 4000 G
SLC 1 information:
State Online
Total CPU cores 4
Total CPU DRAM 17408 MB
Total HBM 65536 MB
Start time 2021-01-06 09:48:48 PST
Uptime 21 hours, 39 minutes, 14 seconds
Version JUNOS 21.1-202012301103.0-EVO <snip>
PFE Information:
PFE Power ON/OFF Bandwidth SLC
0 ON 500G 1
1 ON 500G 1
To take offline, bring online or restart an SLC from its associated GNF, specify only its FPC slot, as shown in the following example (the SLC ID is implied).
user@gnf-a> request chassis fpc slot 1 ?
Possible completions:
offline Take FPC offline
online Bring FPC online
restart Restart FPC
For a sample sub linecard configuration, please refer to Sample Configuration for Sub Line Cards.