User Manual

Table Of Contents
[Parameter]
vlan-id : <1-4094>
Associated VLAN ID
[Initial value]
switchport access vlan 1
[Input mode]
interface mode
[Description]
Sets the VLAN ID that is associated as an access port with the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be set only for a LAN/SFP port or logical interface for which the switchport mode access command is set.
If this command is applied to a logical interface, the settings of every LAN/SFP port associated with that interface are changed.
If the port type is changed to a trunk port, the setting of this command returns to the default setting.
[Example]
Set VLAN #10 as the VLAN to which LAN port #1 is associated as the access port.
SWR2310(config)#interface port1.1
SWR2310(config-if)#switchport access vlan 10
6.2.7 Set trunk port (tagged port)
[Syntax]
switchport mode trunk [ingress-filter action]
[Keyword]
ingress-filter : Specifies the behavior of the ingress filter
[Parameter]
action : Behavior of the ingress filter
Setting value Description
enable Enable the ingress filter
disable Disable the ingress filter
[Initial value]
none
[Input mode]
interface mode
[Description]
Specifies the port type of the applicable interface as an trunk port.
If "ingress-filter" is omitted, "enable" is specified.
If ingress filtering is enabled, frames are forwarded only if the VLAN ID of the received frame matches the VLAN associated
with the interface.
If ingress filtering is disabled, all frames are forwarded.
[Note]
This command can be specified only for LAN/SFP port and logical interface.
If this command is applied to a logical interface, the settings of every LAN/SFP port associated with that interface are changed.
If the port type is changed from an access port to a trunk port, the setting of the switchport access vlan command returns to the
default setting.
200 | Command Reference | Layer 2 functions