VN/UN764:G LgvUvtgco" N4" Ocpcigf" Uykvej" ENK" Iwkfg
27
Rctcogvgt"
vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 2 to 4094.
Eqoocpf"Oqfg"
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Gzcorng"
Configure Fast Ethernet port 3 whose link type is “access” to VLAN 2:
VN/UN764:G*eqphki+%kpvgthceg"hcuvGvjgtpgv"1/0/3
VN/UN764:G*eqphki/kh+%uy kvejrqtv"ceeguu xncp 2"
uykvejrqtv"vtwpm"cnnqygf"xncp
Fguetkrvkqp"
The uykvejrqtv"vtwpm"cnnqygf"xncp command is used to add the desired Trunk
port to IEEE 802.1Q VLAN. To remove a Trunk port from the corresponding
VLAN, please use pq"uykvejrqtv"vtwpm"cnnqygf"xncp"command.
U{pvcz"
uykvejrqtv"vtwpm"cnnqygf"xncp"{vlan-list }
pq"uykvejrqtv"vtwpm"cnnqygf"xncp"{vlan-list }"
Rctcogvgt"
vlan-list —— VLAN ID list, ranging from 2 to 4094, in the format of 2-3, 5. It is
multi-optional.
Eqoocpf"Oqfg"
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Gzcorng"
Configure the link type of port 2 as trunk and add it to VLAN 2:
VN/UN764:G*eqphki+%kpvgthceg"hcuvGvjgtpgv 1/0/2
VN/UN764:G*eqphki/kh+%uykvejrqtv"oqfg trunk
VN/UN764:G*eqphki/kh+%uykvejrqtv"vtwpm"cnnqygf xncp"2"