Set Associated Vlan Of An Access Port (Untagged Port); Set Trunk Port (Tagged Port) - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

[Description]
Specifies the port type of the applicable interface as an access port.
[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 a trunk port to an access port, the setting of the switchport trunk allowed vlan command and
the switchport trunk native vlan command return to their default settings.
To specify the VLAN that is associated as an access port, use the switchport access vlan command.
[Example]
Set LAN port #1 as an access port.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#switchport mode access

6.2.6 Set associated VLAN of an access port (untagged port)

[Syntax]
switchport access vlan vlan-id
no switchport access vlan
[Parameter]
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.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#switchport access vlan 10

6.2.7 Set trunk port (tagged port)

[Syntax]
switchport mode trunk [ingress-filter action]
[Keyword]
ingress-filter
[Parameter]
action
:
<1-4094>
Associated VLAN ID
:
Specifies the behavior of the ingress filter
:
Behavior of the ingress filter
Setting value
enable
disable
Command Reference | Layer 2 functions | 163
Description
Enable the ingress filter
Disable the ingress filter

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents