Moxa EDS-G512E-8PoE-4GSFP — настройка интерфейсов и VLAN в командной строке сетевых устройств [157/173]

Moxa IKS-G6524A-4GTXSFP-HV-HV-T [157/173] Switchport pvlan
Moxa Command Line Interface (FW_5.x) Commands
2-147
Related
commands
show vlan
show vlan config
switchport hybrid forbidden vlan add
switchport hybrid native vlan
Use the switchport hybrid native vlan interface configuration command on the switch to configure PVID of
a port. Use the no form of this command to return to the default PVID.
Commands
switchport hybrid native vlan vlan-id
no switchport hybrid native vlan
Syntax
Description
switchport Set switching mode characteristics
hybrid Set hybrid mode characteristics of the interface
native Set trunking native characteristics
vlan Set pvid vlanid in hybrid mode
vlan-id 1 to 4094
Defaults vlan-id = 1
Command
Modes
Interface configuration
Usage
Guidelines
You can only use this command mode for configuring normal-range VLANs, that is, VLAN IDs 1
to 4094.
Examples
MOXA(config-if)# switchport hybrid native vlan 2
<UINT:vlanid> - 1 to 4094
Error
messages
vlan 4097 is invalid!! should be range from 1 to 4094
Related
commands
show vlan
show vlan config
switchport pvlan
Use the switchport pvlan interface configuration command on the switch stack to define a port-based VLAN
association for an isolated or community port or a mapping for a promiscuous port. Use the no form of this
command to remove the port-based VLAN association or mapping from the port.
Commands
switchport pvlan vlan-groups
no switchport pvlan vlan-groups
Syntax
Description
switchport Set switching mode characteristics
pvlan Configure port-based vlan
vlan-groups Set/unset port-based vlan group
Defaults N/A
Command
Modes
Interface configuration
Usage
Guidelines
N/A
Examples
MOXA(config-if)# switchport pvlan 2,3,4
<STRING:groups> - set port-based vlan group
Error
messages
vlan 4097 is invalid!! should be range from 1 to 4094
Related
commands
show vlan
show vlan config

Содержание

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

Скачать