Technical data
Ethernet Port Overview 33
■ A Trunk port and isolate-user-vlan cannot be configured simultaneously. A
hybrid port and isolate-user-vlan can be configured simultaneously. However, if
the default VLAN has been mapped in isolate-user-vlan, you cannot modify the
default VLAN ID until the mapping relationship has been removed.
■ To guarantee proper packet transmission, the default VLAN ID of local hybrid
port or Trunk port should be identical to that of the hybrid port or Trunk port
on the peer switch. The VLAN of hybrid port and trunk port is VLAN 1 by
default. The access port is the VLAN to which it belongs.
Setting the VLAN VPN
Feature
A VLAN tag consists of 12 bits so Ethernet switches can support up to 4K VLANs.
In networking, a large number of VLANs are required to segment users. In many
cases, 4K VLANs are not enough.
The VLAN VPN feature can attach an additional VLAN tag to a packet to provide
4K x 4K VLANs to meet demands. At the same time, the VLAN VPN feature uses
the original VLAN tag to differentiate users and services, and uses the new VLAN
tag to load service and VPN users.
If VLAN VPN is enabled on a port, all the packets (regardless of whether it carries a
VLAN tag) are given a new tag that specifies the default VLAN of this port.
Therefore, the packets that have had a VLAN tag get two tags, and the packets
that have not had a VLAN tag, get one.
Perform the following configuration in Ethernet port view.
If GVRP, GMRP, STP, or 802.1x has been enabled on a port, VLAN VPN cannot be
enabled on it.
By default the port VLAN VPN is disabled.
Copying a Port Configuration to Other Ports
To keep the configuration of other ports consistent with a specified port, you can
copy the configuration of that specified port to other ports. Port configuration
involves the following settings:
■ STP setting — includes STP enabling/disabling, link attribute (point-to-point or
not), STP priority, path cost, max transmission speed, loop protection, root
protection, edge port or not.
Restore the default VLAN ID of the hybrid port
to the default value
undo port hybrid pvid
Restore the default VLAN ID of the trunk port
to the default value
undo port trunk pvid
Table 13 Set the Default VLAN ID for the Ethernet Port
Operation Command
Table 14 Set the VLAN VPN Feature
Operation Command
Enable the VLAN VPN feature vlan-vpn enable
Disable the VLAN VPN feature undo vlan-vpn