Tagging an Ethernet frame requires the addition of a tag header to the frame. The header is inserted immediately following the destination MAC address and the Source MAC address. The tag header consists of two bytes of Ethernet Tag Protocol identifier (TPID, 0x8100) and two bytes of Tag Control Information (TCI).
shows the Ethernet Tag Header format.
|
|
|
|
|
|
|
| Octet | |
|
|
| TPID (0x8100 |
| 1 | ||||
|
|
|
| 2 | |||||
|
|
|
|
|
|
|
|
| |
| 3 bits | 1 | 12 bytes |
| 3 | ||||
|
|
|
| bit |
|
|
| 4 | |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
User_ |
| priority |
|
|
|
|
|
| |
| CFI | VID |
|
|
FIGURE 8-2 Ethernet Tag Header Format
By default, a single VLAN is configured for every port. This groups all ports into the same broadcast domain, just as if there were no VLANs at all, VLAN tagging for the switch port is turned off.
Note – If you configure a VLAN virtual device for an adapter, all traffic sent or received by that adapter must be in
▼To Configure Static VLANs
1.Create one hostname.nxgenumber file for each VLAN that will be configured for each adapter on the server.
Use the following naming format, which includes both the VID and the physical point of attachment (PPA):
VLAN logical PPA = 1000 * VID + Device PPA nxge123000 = 1000*123 + nxge
This format limits the maximum number of PPAs (instances) you can configure to 1000 in the /etc/path_to_inst file.
For example, on a server with the Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Profile Adapter having an instance of 0, belonging to a member of two VLANs, with VID 123 and 224, you would use nxge123000 and nxge224000, respectively, as the two VLAN PPAs.