Configuring a Network Datalink (CLI)

Use this procedure to configure datalinks, which can then be used to configure interfaces.

  1. Go to configuration net datalinks and enter the device command.
    hostname:configuration net datalinks> device
  2. Optional: Set the name of the datalink.

    By default the label is set to Untitled Datalink.

    hostname:configuration net datalinks device (uncommitted)> set label=datalink2
                              label = datalink2 (uncommitted)
  3. Set a device for this datalink.

    Set the value of the links property to the name of an existing device. Use the available command to see a list of existing devices.

    hostname:configuration net datalinks device (uncommitted)> available
    igb0,igb1
    hostname:configuration net datalinks device (uncommitted)> set links=igb1
                              links = igb1 (uncommitted)
  4. Optional: Set the Max Transmission Unit (MTU).

    By default, mtu is set to 1500.

  5. Commit the changes.
    hostname:configuration net datalinks device (uncommitted)> commit
    hostname:configuration net datalinks> show
    Datalinks:
    
    DATALINK       CLASS       LINKS       STATE   ID      LABEL
    igb0           device      igb0        up      -       datalink1
    igb1           device      igb1        up      -       datalink2