Tp-Link T1700G-28TQ V2 — управление VLAN: Команды и Примеры Настройки [45/354]

Превью страниц Страница 45 / 354
Tp-Link T1700G-28TQ V2 [45/354] Syntax
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Specify the name of VLAN 2 as “group1”:
T1700G-28TQ(config)# vlan 2
T1700G-28TQ(config-vlan)# name group1
4.4 switchport general allowed vlan
Description
The switchport general allowed vlan command is used to add the desired
General port to IEEE 802.1Q VLAN and specify the port’s type. To delete the
corresponding VLAN(s), please use no switchport general allowed vlan
command.
Syntax
switchport general allowed vlan
vlan-list
{ tagged | untagged }
no switchport general allowed vlan
vlan-list
Parameter
vlan-list
—— Specify IEEE 802.1Q VLAN ID list, ranging from 2 to 4094, in the
format of 2-3, 5. It is multi-optional.
tagged | untagged —— Egress ruleuntagged or tagged. Tagged: All packets
forwarded by the port are tagged. The packets contain VLAN information.
Untagged: Packets forwarded by the port are untagged.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet / interface ten-gigabitEthernet / interface range
ten-gigabitEthernet / interface port-channel / interface range port-channel)
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Add port 4 it to VLAN 2 and configure the type of port 1/0/4 as tagged:
T1700G-28TQ(config)# interface gigabitEthernet 1/0/4
29

Содержание

2312

Изучите команды для управления VLAN, включая добавление портов и настройку их типа. Подробные примеры и синтаксис команд для эффективного администрирования.