R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference
198
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Parameters
vlan-id-list: Specifies a list of existing VLANs in the format of vlan-id-list = { vlan-id1 [ to
vlan-id2 ] }&<1-10>, where vlan-id1 and vlan-id2 each is in the range of 1 to 4094, vlan-id2 cannot be
smaller than vlan-id1, and &<1-10> indicates that you can specify up to 10 vlan-id1 [ to vlan-id2 ]
parameters.
all: Specifies all existing VLANs.
Examples
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, and assign the port to VLAN 2, VLAN 3, and
VLANs 50 through 100. Enable QinQ on the port and configure the port to transparently transmit frames
from VLAN 2.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port link-type trunk
[Sysname-Ten-GigabitEthernet1/0/1] port trunk permit vlan 2 3 50 to 100
[Sysname-Ten-GigabitEthernet1/0/1] qinq enable
[Sysname-Ten-GigabitEthernet1/0/1] qinq transparent-vlan 2










