beautypg.com

Types of vlan, Configuring basic vlan settings – H3C Technologies H3C S7500E Series Switches User Manual

Page 211

background image

15-3

The Ethernet II encapsulation format is used here. Besides the Ethernet II encapsulation format,
other encapsulation formats, including 802.2 LLC, 802.2 SNAP, and 802.3 raw, are also
supported by Ethernet. The VLAN tag fields are also added to frames encapsulated in these
formats for VLAN identification.

For a frame with multiple VLAN tags, the device handles it according to its outer-most VLAN tag
and transmits its inner VLAN tags as payload.

Types of VLAN

You can implement VLAN based on:

Port

MAC address

Protocol

IP subnet

Policy

Other criteria

This chapter covers port-based VLAN, MAC-based VLAN, protocol-based VLAN, and IP-based VLAN.
You can configure the four types of VLANs on a port at the same time. When determining to which
VLAN a packet passing through the port should be assigned, the device looks up the VLANs in the
default order of MAC-based VLANs, IP-based VLANs, protocol-based VLANs, and port-based VLANs.

Configuring Basic VLAN Settings

Follow these steps to configure basic VLAN settings:

To do…

Use the command…

Remarks

Enter system view

system-view

Create VLANs

vlan

{ vlan-id1 [ to vlan-id2 ] |

all

}

Optional

Use this command to create VLANs in

bulk.

Enter VLAN view

vlan

vlan-id

Required

If the specified VLAN does not exist, this

command creates the VLAN first.

By default, only the default VLAN (that is,

VLAN 1) exists in the system.

Configure a name for the

current VLAN

name text

Optional

By default, the name of a VLAN is its VLAN

ID, VLAN 0001 for example.