Managing Network Virtualization and Network Resources in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to Change the Default EVB Configuration

You must configure the vsi-mgrid and vsi-mgrid-enc properties only on the physical link. The other EVB-related properties, such as vsi-typeid and vsi-vers, must be configured on a VNIC.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Create a VNIC by using the datalink properties mentioned in the profile database.
    # dladm create-vnic -l datalink -p maxbw=maxbw-value,priority=priority-value VNIC
  3. Set the encoding that is associated with the VSI Manager ID to none on the physical link because you are not using the default Oracle VSI Manager ID.
    # dladm set-linkprop -p vsi-mgrid-enc=none datalink
  4. Set the VSI Manager ID on the physical link with an IPv6 address.
    # dladm set-linkprop -p vsi-mgrid=IPv6-address datalink
  5. Set the VSI Type ID and VSI Version for the VNIC that you have created.
    # dladm set-linkprop -p vsi-typeid=VSI-Type-ID,vsi-vers=VSI-Version VNIC
  6. Verify the properties that are set for the VNIC.
    # dladm show-linkprop VNIC
Example 4-1  Setting EVB-Related Datalink Properties

The following example shows how to set datalink properties that are related to EVB. This example uses a system with a profile that you can access by using an IPv6 address, IP1.

Assume that the VSI Manager ID, IP1 has the following profiles defined:

  • VSI Type ID: 2

  • VSI Version: 1

  • Datalink properties: maxbw=20, priority=5

  1. Create a VNIC by using the datalink properties mentioned in the profile.

    # dladm create-vnic -l net0 -p maxbw=20,priority=5 vnic1
  2. Set the encoding that is associated with the VSI Manager ID to none on the physical link net0 because you are not using the default Oracle VSI Manager ID.

    # dladm set-linkprop -p vsi-mgrid-enc=none net0
  3. Set the VSI Manager ID on the physical link net0 with the IPv6 address IP1.

    # dladm set-linkprop -p vsi-mgrid=IP1 net0
  4. Set the VSI Type ID and VSI Version for vnic1.

    # dladm set-linkprop -p vsi-typeid=2,vsi-vers=1 vnic1
  5. Verify the properties that are set for vnic1.

    # dladm show-linkprop vnic1
    LINK     PROPERTY            PERM VALUE      EFFECTIVE  DEFAULT    POSSIBLE
    ...
    vnic1    vsi-typeid          rw   2          2           --         --
    vnic1    vsi-vers            rw   1          1           --         --
    vnic1    vsi-mgrid           rw   IP1        IP1         --         --
    vnic1    vsi-mgrid-enc       rw   --         none        oracle_v1  none,oracle_v1
    ...

The VDP ASSOC TLV unit for vnic1 contains the following information:

  • VSI Manager ID = IP1

  • VSI Type ID = 2

  • VSI Version = 1

Example 4-2  Displaying EVB-Related Datalink Properties on a Physical Link

The following example displays EVB-related properties on the physical link.

# dladm show-linkprop -p vsi-mgrid,vsi-mgrid-enc net4
LINK     PROPERTY            PERM VALUE        EFFECTIVE    DEFAULT      POSSIBLE
net4     vsi-mgrid           rw   --           --           ::           --
net4     vsi-mgrid-enc       rw   --           --           oracle_v1    none,oracle_v1

The output displays the default configuration of EVB in Oracle Solaris. By using the oracle_v1 encoding, the VSI Type ID and VSI version are automatically generated from the properties that are configured on the VNICs.

Example 4-3  Displaying EVB-Related Properties on a VNIC

The following example displays EVB-related properties on a VNIC.

# dladm show-linkprop vnic0
LINK     PROPERTY               PERM VALUE      EFFECTIVE  DEFAULT    POSSIBLE
...
vnic0    vsi-typeid             rw   --         94         --         --
vnic0    vsi-vers               rw   --         0          --         --
vnic0    vsi-mgrid              rw   --         ::         --         --
vnic0    vsi-mgrid-enc          rw   --         oracle_v1  oracle_v1  none,oracle_v1
...

The output displays the effective encoding for vnic0 as oracle_v1. In turn, the EFFECTIVE value for vsi-typeid 94 is automatically generated and effective for vnic0.