Fujitsu PCI Gigabit Ethernet User Manual page 80

Pci gigabit ethernet 4.1 update2 / 5.0 for oracle solaris
Table of Contents

Advertisement

-
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
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
Example: Displaying services of the Control Domain (primary).
# /opt/SUNWldm/bin/ldm list-services primary
VDS
NAME
VOLUME
primary-vds0
VCC
NAME
PORT-RANGE
primary-vcc0
5000-5100
VSW
NAME
MAC
primary-vsw0
00:15:17:13:81:f8 fjgi2
(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
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
Example: Displaying the status of the Guest Domain (ldg1).
OPTIONS
DEVICE
NET-DEV
DEVICE
switch@0
- 74 -
vswitch_name: virtual switch device
ldom: Logical Domain)
(ldom: Logical Domain)
MODE
prog,promisc
(if_name: virtual network device
vswitch_name: virtual switch device
ldom: Logical Domain)
(ldom: Logical Domain)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Se0x7gd2xSe0x7gq1xSe0x7gq2x

Table of Contents