Moxa IKS-G6524-4GTXSFP-HV-HV — настройка интерфейсов и VLAN в командной строке сетевых устройств [154/173]

Превью страниц Страница 154 / 173
Moxa IKS-6728A-4GTXSFP-48-48-T [154/173] Switchport hybrid fixed vlan add
Moxa Command Line Interface (FW_5.x) Commands
2-144
Usage
Guidelines
N/A
Examples
MOXA# configure terminal
MOXA(config)# storm-control bcast
MOXA(config)# storm-control mcast
MOXA(config)# storm-control dlf
MOXA(config)# no storm-control bcast
MOXA(config)# no storm-control mcast
MOXA(config)# no storm-control dlf
Error
messages
N/A
Related
commands
show storm-control
switchport access vlan
Use the switchport access vlan interface configuration command on the switch to configure a port as a
static-access or dynamic-access port. If the mode of switch port is set to access, the port operates as a member
of the specified VLAN. If set to dynamic, the port starts discovery of VLAN assignment based on the incoming
packets it receives. Use the no form of this command to reset the access mode to the default VLAN for the
switch.
Commands
switchport access vlan vlan-id
no switchport access vlan
Syntax
Description
switchport Set switching mode characteristics
access Set access mode characteristics of the interface
vlan Set (default) pvid in access 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# configure
MOXA(config)# interface ethernet <STRING:mod_port>
MOXA(config-if)# switchport access 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 hybrid fixed vlan add
Use the switchport hybrid fixed vlan add interface configuration command on the switch to add the trunk
hybrid characteristics when the interface is in hybrid mode. Use the no form of this command to reset to the
default.
Commands
switchport hybrid fixed vlan add vlan-id-list tag
switchport hybrid fixed vlan add vlan-id-list untag
no switchport hybrid fixed vlan tag

Содержание

897

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