Fujitsu C120-E276-11ENZ0(A) Network Card User Manual


 
- The following example shows how to add a virtual switch (vsw) device (ldm add-vsw)
/opt/SUNWldm/bin/ldm add-vsw net-dev=device vswitch_name ldom (device: network device
vswitch_name: virtual switch device
ldom: Logical Domain)
Example: Adding primary-vsw0 of fjgi2 to the Control Domain (primary).
# /opt/SUNWldm/bin/ldm add-vsw net-dev=fjgi2 primary-vsw0 primary
(Note 1) In Solaris 11, the vanity name (net4) is specified as fjgi2.
(Note 2) Reboot the Control Domain to make this setting effective.
Execute the following command from ok prompt.
ok boot -r
- The following example shows how to display a virtual switch (vsw) device (ldm list-services)
/opt/SUNWldm/bin/ldm list-services ldom (ldom: Logical Domain)
Example: Displaying services of the Control Domain (primary).
# /opt/SUNWldm/bin/ldm list-services primary
VDS
NAME VOLUME OPTIONS DEVICE
primary-vds0
VCC
NAME PORT-RANGE
primary-vcc0 5000-5100
VSW
NAME MAC NET-DEV DEVICE MODE
primary-vsw0 00:15:17:13:81:f8 fjgi2 switch@0 prog,promisc
(Note) In Solaris 11, the vanity name (net4) is specified as fjgi2.
- The following example shows how to add a virtual network (vnet) device (ldm add-vsw)
/opt/SUNWldm/bin/ldm add-vnet if_name vswitch_name ldom (if_name: virtual network device
vswitch_name: virtual switch device
ldom: Logical Domain)
Example: Adding a virtual switch (primary-vsw0) of fjgi2 to the Guest Domain (ldg1).
# /opt/SUNWldm/bin/ldm add-vnet vnet0 primary-vsw0 ldg1
(Note) Execute the following commands to make this setting effective.
If the Guest Domain has not started, execute the following commands.
# /opt/SUNWldm/bin/ldm bind-domain ldg1
# /opt/SUNWldm/bin/ldm start-domain ldg1
If the Guest Domain has already started, execute the following commands.
# /opt/SUNWldm/bin/ldm stop-domain ldg1
# /opt/SUNWldm/bin/ldm unbind-domain ldg1
# /opt/SUNWldm/bin/ldm bind-domain ldg1
# /opt/SUNWldm/bin/ldm start-domain ldg1
- The following example shows how to display a virtual network (vnet) device (ldm list-domain)
/opt/SUNWldm/bin/ldm list-domain -l ldom (ldom: Logical Domain)
Example: Displaying the status of the Guest Domain (ldg1).
- 74 -