Example: Configuring and Deploying an E-Line Service
This example deploys and verifies an E-Line service starting with two MX Series devices. Figure 1 shows the service.
This service provides connectivity for one VLAN, using 802.1Q interface endpoints. Customer site A connects to the network through UNI ge-0/0/2 on an N-PE device named SJC. Customer site B connects to the network through UNI ge-0/0/3 on an N-PE device named SFO.
The bandwidth for each UNI is limited to 1000 Mbps.
You can create this service by performing the following tasks, in order:
Preparing Devices for Discovery
Before you can add a device using device discovery, the following conditions must be met:
SSH v2 is enabled on the device. To enable SSH v2 on a device, issue the following CLI command:
set system services ssh protocol-version v2
The NETCONF protocol over SSH is enabled on the device. To enable the NETCONF protocol over SSH on a device, issue the following CLI command:
set system services netconf ssh
The device is configured with a static management IP address that is reachable from the Junos Space server. The IP address can be in-band or out-of-band.
A user with full administrative privileges is created on the device for the Junos Space administrator.
If you plan to use SNMP to probe devices as part of device discovery, ensure that SNMP is enabled on the device with appropriate read-only V1/V2C/V3 credentials.
Discovering Devices
Device discovery is a process that Junos Space uses to bring network devices under its control. This example brings two MX Series routers under Junos Space management:
Alternatively, you can import devices using the Connectivity Services Director GUI. See Discovering Devices in a Physical Network for instructions on discovering devices from Build mode of Connectivity Services Director.
See Also
Preparing Devices for Prestaging
Before prestaging devices for E-Line services, the following entities must be configured:
MPLS must run on each N-PE device.
LDP signaling must be established between N-PE devices that you want to participate in the same E-Line service.
To satisfy these configurations, ensure that the following configuration exists on each N-PE device:
interfaces { ge-0/0/0 { unit 0 { family inet { address 10.1.18.2/30; } family mpls; } } } lo0 { unit 0 { family inet { address 192.168.1.20/32; } } } } protocols { mpls { interface ge-0/0/0.0; interface lo0.0; } ospf { traffic-engineering; area 0.0.0.0 { interface lo0.0 { passive; } interface ge-0/0/0.0; } ldp { interface ge-0/0/0.0; interface lo0.0; }
The OSPF configuration is not required in prestaging.
Discovering and Assigning N-PE Roles
Before you can provision services, you must prestage the devices. Prestaging includes assigning device roles and designating interfaces on those devices as UNIs. This example provides the steps to accept the recommendations of the Network Services application for N-PE devices and UNIs.
See Also
Choosing or Creating a Service Definition
A service definition provides a template upon which services are built. It specifies service attributes that are not specific to a service instance. In our example, the service definition provides all service attributes except the N-PE devices, the UNIs, and bandwidth.
The Network Services application ships with standard service definitions. First, we check the standard service definitions to determine whether one already exists that will work.
The service definition is now ready for use in provisioning.
Creating a Customer
Before you can provision the service, customer details must be present in the Junos Space database. To add a customer:
- From the View selector, select Service View. The workspaces that are applicable to routing and tunnel services are displayed.
- Click the Build icon in the Service View of the Connectivity Services Director banner. The functionalities that you can configure in this mode are displayed in the task pane.
- In the Network Services > Connectivity task pane, select Service Provisioning > Manage Customers > Create Customer.
- In the Name field, enter Best Customer.
- In the Account number field, enter 1234.
- Click Create.
The Manage Customers page shows the new customer.
See Also
Creating and Deploying an E-Line Service Order
Now that you have prestaged your devices, created a suitable service definition, and added the customer information to the database, you are ready to create and deploy a service order. To create and deploy a service order:
Performing a Functional Audit and a Configuration Audit
Now that your new service is deployed, you should validate its configuration and functional integrity. A functional audit runs operational commands on the device to verify that the service is up or down. A configuration audit verifies whether the configuration that was pushed to the device during deployment is actually on the device.
To perform a configuration audit and a functional audit of the service:
Following successful audit, the service is deployed and ready to be used.