user@jcp# set interfaces xe-0/0/12.0 family ethernet-switching vlan members Vlan11
4. Configure the Packet Forwarding Engine’s LAN-side internal-facing interface as a
trunk port, and add it to the LAN-side VLAN.
The internal-facing interfaces are typically trunk ports, as they must support traffic
from multiple front panel ports and VLANs.
user@jcp# set interfaces sxe-0/0/0.0 family ethernet-switching interface-mode trunk
user@jcp# set interfaces sxe-0/0/0.0 family ethernet-switching vlan member Vlan11
5. Configure a VLAN for the WAN-side interfaces.
user@jcp# set vlans Vlan22 vlan-id 22
6. Configure the Packet Forwarding Engine’s WAN-side front panel port as a trunk
port, and add it to the WAN-side VLAN.
The WAN-side front panel port is typically a trunk port, as it might be required to
support multiple VLANs.
user@jcp# user@jcp# set interfaces xe-0/0/13.0 family ethernet-switching interface-mode
trunk
user@jcp# user@jcp# set interfaces xe-0/0/13.0 family ethernet-switching vlan members
Vlan22
7. Configure the Packet Forwarding Engine’s WAN-side internal-facing interface as a
trunk port, and add it to the WAN-side VLAN.
The internal-facing interfaces are typically trunk ports, as they must support traffic
from multiple front panel ports and VLANs.
user@jcp# set interfaces sxe-0/0/1.0 family ethernet-switching interface-mode trunk
user@jcp# set interfaces sxe-0/0/1.0 family ethernet-switching vlan members Vlan22
8. Commit the configuration and return to the JDM.
user@jcp# commit and-quit
user@jcp> exit
user@jdm>
Results From configuration mode, check the results of your configuration by entering the following
show commands:
[edit]
user@jcp# show interfaces xe-0/0/12
unit 0 {
family ethernet-switching {
vlan {
163Copyright © 2017, Juniper Networks, Inc.
Chapter 7: Service Chaining