root# set interfaces service-interface-name unit 0 family ethernet-switching
 interface-mode trunk
For example:
[edit]
root# set interfaces sxe-0/0/0 unit 0 family ethernet-switching 
interface-mode trunk
4. Configure the management VLAN and add the physical network interface and the
service interface as members of the VLAN:.
[edit]
root@jcp# set interfaces sxe-0/0/0 unit 0 family ethernet-switching vlan 
members mgmt-vlan
root@jcp# set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan 
members mgmt-vlan
For example:
[edit]
root@jcp# set vlans mgmt-vlan vlan-id vlan-id
5. Exit the JCP CLI to return to the JDM CLI (hostname@jdm> prompt):
[edit]
root# exit
Exiting configuration mode
root> exit
root% exit
logout
Connection to vjunos0 closed.
root@jdm>
6. Configure the jsxe0 interface as a trunk interface with membership in the management
VLAN, and configure the management IP address on the interface:
root@jdm# set interfaces jsxe0 vlan-tagging
root@jdm# set interfaces jsxe0 unit logical-unit-number vlan-id mgmt-vlan-id
 family inet address mgmt-ip-address/prefix-length
Related
Documentation
Configuring the Out-of-Band Management Interface for JDM on page 33•
Configuring the Out-of-Band Management Interface for Hypervisor
This topic discusses how to configure an out-of-band management interface for
Hypervisor in a disaggregated Junos OS platform.
Copyright © 2017, Juniper Networks, Inc.36
JDM User Guide for NFX250 Network Services Platform