2 setting up the vlan interface, To use vlan interfaces, please refer first to, To define the interface name. then, please carry – FUJITSU PCI Gigabit Ethernet 4.1 Update 2/ 5.0 for Oracle Solaris C120-E276-11ENZ0(A) User Manual

Page 44

Advertising
background image

The FUJITSU PCI GigabitEthernet 4.1 or later drivers support:

Supported VIDs

1 - 4094

Max number of VLAN interfaces

1024

3.7.2 Setting Up the VLAN Interface

The VLAN interface is set up using the following procedures.

-

By setting the interface number to 1000 or greater, it is possible to distinguish VLAN interfaces from physical interfaces.

The three lower digits of the VLAN interface number: physical instance number

The upper digits of the VLAN interface number: VID (1 - 4094).

VLAN interface number = VID * 1000 + physical instance number

- VLAN Interface Setup Examples

-

Solaris 10 8/07 or later

-

To create a VLAN Interface of VID=2 for a physical instance having instance number zero, the following is used.

Refer to

3.3 Environment Setting

, and perform the procedure described. Use fjgi2000 as the driver name.

-

To create a VLAN Interface of VID=231 for a physical instance having instance number three, the following is used.

Refer to

3.3 Environment Setting

, and perform the procedure described. Use fjgi231003 as the driver name.

-

VLAN interfaces are displayed by the following command.

dladm show-link | grep fjgi

Example:

# dladm show-link | grep fjgi

fjgi0 type: non-vlan mtu: 1500 device: fjgi0

fjgi2000 type: vlan 2 mtu: 1500 device: fjgi0

fjgi1 type: non-vlan mtu: 1500 device: fjgi1

fjgi2 type: non-vlan mtu: 1500 device: fjgi2

fjgi3 type: non-vlan mtu: 1500 device: fjgi3

fjgi231003 type: vlan 231 mtu: 1500 device: fjgi3

In the above example, the VLAN interfaces are displayed as fjgi1000 (VID=1) and fjgi231003 (VID=231).

-

Solaris 11

-

To create a VLAN Interface of VID=2 for fjgi0 (this vanity name is net2), the following is used.

Refer to

3.3 Environment Setting

, and perform the procedure described. Use net2002 as the driver name.

dladm create-vlan -l ether-link -v vid

Example:

# dladm create-vlan -l net2 -v 2

- 38 -

Advertising