Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Assigning a VLAN Profile to Devices or Ports

After a VLAN profile is created, assign it to switches, aggregation devices in a Junos Fusion fabric, members of Layer 3 Fabric, or members of custom groups.

You must have one or more existing VLAN profiles, either user-configured or system-created, before you can assign a VLAN profile to a switch, or member of a custom group or port group. For further directions, see Creating and Managing VLAN Profiles, Creating Custom Device Groups , and Creating and Managing Port Groups.

Assigning a VLAN Profile

To assign a VLAN profile:

  1. Click in the Network Director banner.
  2. Select VLAN from the Profile and Configuration Management menu in the Tasks pane.

    The Manage VLAN profiles page is displayed. The page displays all user-configured and system-created VLAN profiles for discovered devices.

  3. Select a VLAN profile from the list of VLAN profiles and then click Assign.

    The Assign VLAN Profile page for the selected VLAN appears.


    If Network Director fails to read the configuration of one or more devices after the device discovery, those devices are not displayed in the Assign Profile page. You will not be able to assign profiles to those devices. The Manage Jobs page in System mode displays details of the device discovery jobs. Use the information displayed on this page to take appropriate corrective steps to enable Network Director to reread the configuration of the failed device. For more information, see Discovering Devices in a Physical Network.

  4. If you are assigning a VLAN profile to a device, a tree is displayed. Choose at least one device for VLAN assignment. Be sure that a check mark appears in front of the device - just highlighting the name does not select it.

    If you are assigning a VLAN profile to members of a Custom Group or Port Group, selecting the group selects all members of that group.

  5. Click either Next or Profile Assignment.

    The Profile Assignment page displays the list of existing assignments in the Assignments table.

  6. Select a device from the Assignments table and click Assign to Device.
  7. If you are assigning the profile to an EX9200 and a routing instance has been created on this network, you have a choice between assigning the profile to the EX9200 device or assigning the profile to the routing instance. If a routing instance has been created with the Junos CLI, select either the EX9200 device or the routing instance in the window that opens. If no routing instance exists, the profile is automatically assigned to the device.

    A routing instance is a collection of routing tables, interfaces, and routing protocol parameters. The set of interfaces belongs to the routing tables, and the routing protocol parameters control the information in the routing tables. There can be multiple routing tables for a single routing instance—for example, unicast IPv4, unicast IPv6, and multicast IPv4 routing tables can exist in a single routing instance. Routing protocol parameters and options control the information in the routing tables.

  8. Click Define from the Attributes column in the Assignments table to modify the attributes. The Configure Attributes page is displayed:

    For switches, specify the following details:

    • Enter the Layer 3 interface IP address and port number (between 0 through 32).

    • Enter the unit number. By default, the VLAN ID is populated in this field. You can optionally change the value.

  9. You can view the assignment details for the selected device or delete any assignments.
    • To view assignment details, select a device and click View Assignments.

      The Profile Details page for selected device appears. Expand the Device name to see the details of the assignment. The assignment status displays the status whether the device is deployed or is pending device update, etc.

    • To delete a VLAN profile assignment for a device, select the device from the Assignments table and click Remove.

  10. Click Next or click Review from the top wizard workflow to review the assignments. Alternately, click Edit to edit the profile assignment.
  11. Click Finish once you are done reviewing the profile assignment.

    After you click Finish, the Create Profile Assignments Job Details dialog box appears, which reports on the status of the profile assignment job. If you have assigned the profile to a large number of objects, the profile assignment job can take some time to complete. Instead of waiting for the Job Details dialog box to report job completion status, you can close it and check the details of the profile assignment job at a later time using the Manage Job task in System mode.


    If any assignment fails, the profile assignment job fails and none of the assignments are created. Check the details for the profile assignment job for information about why the assignment failed.

After you assign a VLAN profile to a device or port, you can deploy the VLAN profile from the Deploy mode. For details, see Deploying Configuration to Devices.

Editing Profile Assignments

You can edit VLAN assignments from the Manage VLAN Profiles page. To edit an existing assignment:

  1. Select a profile from the Manage VLAN profiles page and then click Edit Assignment.

    The Edit Assignments page for the selected device appears.

  2. Expand the Devices cabinet select a device.
  3. Make the required changes in the Operation column of the table.

    To change the attributes, see step 8, from the Assign VLAN profiles tasks.

  4. Click Apply.

    The Manage VLAN Profiles page reappears.