•
NIC ports. Because NIC interfaces (sxe ports) cannot be configured directly, the host
OS construct for these interfaces (hsxe) must be used.
•
The VNF interfaces. In the JDM, VNF interfaces must use the format eth#, where # is
from 2 through to 9.
•
The virtual function setting, to indicate SR-IOV is being used to provide direct access
between hsxe and VNF interfaces.
Configuration
This example describes:
•
Configuring the Packet Forwarding Engine Interfaces on page 162
•
Creating the Service Chain on page 165
Configuring the Packet Forwarding Engine Interfaces
CLI Quick
Configuration
To quickly configure the Packet Forwarding Engine interfaces, enter the following
configuration statements from the JCP:
[edit]
user@jcp#
set vlans Vlan11 vlan-id 11
set interfaces xe-0/0/12.0 family ethernet-switching vlan member Vlan11
set interfaces sxe-0/0/0.0 family ethernet-switching interface-mode trunk
set interfaces sxe-0/0/0.0 family ethernet-switching vlan member Vlan11
set vlans Vlan22 vlan-id 22
set interfaces xe-0/0/13.0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/13.0 family ethernet-switching vlan member Vlan22
set interfaces sxe-0/0/1.0 family ethernet-switching interface-mode trunk
set interfaces sxe-0/0/1.0 family ethernet-switching vlan member Vlan22
Step-by-Step
Procedure
To configure the Packet Forwarding Engine interfaces:
1. Connect to the JCP.
user@jdm> ssh vjunos0
user@jcp> configure
[edit]
user@jcp#
2. Configure a VLAN for the LAN-side interfaces.
user@jcp# set vlans Vlan11 vlan-id 11
3. Configure the Packet Forwarding Engine’s LAN-side front panel port, and add it to
the LAN-side VLAN.
The LAN-side port is typically an access port, but could be a trunk port if appropriate.
Copyright © 2017, Juniper Networks, Inc.162
JDM User Guide for NFX250 Network Services Platform