Allied-telesis AT-S94 CLI (AT-8000S Series) Manual do Utilizador Página 351

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 402
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 350
VLAN Commands
Page 350
Syntax
switchport general allowed vlan add vlan-list [tagged | untagged]
switchport general allowed vlan remove vlan-list
Parameters
add vlan-list — Specifies the list of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma
and no spaces. A hyphen designates a range of IDs.
remove vlan-list — Specifies the list of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a
comma and no spaces. A hyphen designates a range of IDs.
tagged — Indicates that the port transmits tagged packets for the VLANs.
untaggedIndicates that the port transmits untagged packets for the VLANs.
Default Configuration
If the port is added to a VLAN without specifying tagged or untagged, the default setting is tagged.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command enables changing the egress rule (e.g., from tagged to untagged) without first removing the VLAN
from the list.
Example
The following example adds VLANs 2, 5, and 6 to the allowed list of Ethernet port 1/e16 .
switchport general pvid
The switchport general pvid Interface Configuration mode command configures the PVID when the interface is
in general mode. Use the no form of this command to return to the default configuration.
Syntax
switchport general pvid vlan-id
no switchport general pvid
Parameters
vlan-id — Specifies the PVID (Port VLAN ID).
Default Configuration
If the default VLAN is enabled, PVID = 1. Otherwise, PVID=4095.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
console(config)# interface ethernet 1/e16
console(config-if)# switchport general allowed vlan add 2,5-6 tagged
Vista de página 350
1 2 ... 346 347 348 349 350 351 352 353 354 355 356 ... 401 402

Comentários a estes Manuais

Sem comentários