Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring Service Chaining Using a Custom Bridge

This example shows how to configure service chaining using a custom bridge.

Requirements

This example uses the following hardware and software components:

  • NFX150 running Junos OS Release 18.1R1

Overview

The default system bridge is OVS. The OVS bridge is a VLAN-aware system bridge, which acts as the NFV backplane to which the VNFs and FPCs connect. However, you can choose to create a custom bridge based on your requirement. This example explains how to configure service chaining using a custom bridge.

Topology

This example uses the topology shown in Figure 1.

Figure 1: Service Chaining Using a Custom BridgeService Chaining Using a Custom Bridge

Configuration

Create VLANs and the Custom Bridge

Step-by-Step Procedure

  1. Configure VLANs for the LAN-side interfaces.

  2. Create a custom bridge:

Map the Interfaces

Step-by-Step Procedure

  1. Map the heth-0-0 physical port to the FPC0 interface.

  2. Map the FPC1 interface ge-1/0/2 to the custom bridge.

Configure the Layer 2 Datapath

Step-by-Step Procedure

  1. Configure the LAN-side front panel ports and add them to the LAN-side VLAN.

  2. Configure the internal-facing interfaces as trunk ports and add them 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.

Configure the Layer 3 Datapath

Step-by-Step Procedure

  1. Configure VLAN tagging on ge-1/0/0:

  2. Configure VLAN tagging on ge-1/0/2:

Configure the VNF

Step-by-Step Procedure

  1. Launch the VNF:

  2. Specify the number of CPUs required for the VNF:

  3. Pin a virtual CPU to a physical CPU:

  4. Create a VNF interface on the custom OVS bridge:

  5. Attach a VNF interface to a physical interface by using the SR-IOV virtual function:

  6. Specify the memory allocation for the VNF:

    Note:

    When a VNF interface is mapped to a custom bridge, you should restart the VNF for the mapping to take effect.

Verifying the Configuration

Verify the Control Plane Configuration

Purpose

Verify the control plane configuration:

Action

To verify the control plane configuration:

  • Verify that the VLANs and VLAN memberships are correct by using the show vmhost vlans command.

  • Verify that the VNF is operational. View the status of the VNF to ensure that the VNF is up and running.

    The Liveliness output field of the VNF indicates whether the IP address of the VNF is reachable or not reachable from Junos.

    To view more details of the VNF:

Verify the Data Plane Configuration

Purpose

Verify the data plane configuration.

Action

To verify the data plane configuration:

  • Verify the status of the physical ports.

  • Verify the status of the Layer 2 (ge-0/0/x) and Layer 3 (ge-1/0/x) interfaces.

    For example: