1-3
z
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.
z
For a frame with multiple VLAN tags, the device handles it according to its outer VLAN tag, while
transmits its inner VLAN tags as payload.
Types of VLAN
You can implement VLAN based on:
z
Port
z
MAC address
z
Protocol
z
IP subnet
z
Policy
z
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
Using this command can create multiple
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.
Configure the
description of the
current VLAN
description text
Optional
VLAN ID is used by default, for example,
VLAN 0001
.
Содержание 4500G PWR 24-Port
Страница 200: ...1 5 ProviderB GigabitEthernet1 0 2 undo stp enable ProviderB GigabitEthernet1 0 2 bpdu tunnel dot1q stp ...
Страница 252: ...1 7 Clearing ARP entries from the ARP table may cause communication failures ...
Страница 362: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1 ...
Страница 407: ...1 8 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete ...
Страница 786: ...1 16 3 In the case of PIM SM use the display current configuration command to check the BSR and RP information ...
Страница 1387: ...1 23 ...
Страница 1443: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 1720: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5 ...