Set Associated Vlan For Trunk Port (Tagged Port) - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

164 | Command Reference | Layer 2 functions
[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.
To specify the VLAN ID that is associated as a trunk port, use the switchport trunk allowed vlan command. To specify the
native VLAN, use the switchport trunk native vlan command.
[Example]
Set LAN port #1 as a trunk port.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#switchport mode trunk

6.2.8 Set associated VLAN for trunk port (tagged port)

[Syntax]
switchport trunk allowed vlan all
switchport trunk allowed vlan none
switchport trunk allowed vlan add vlan-ids
switchport trunk allowed vlan except vlan-ids
switchport trunk allowed vlan remove vlan-ids
no switchport trunk
[Keyword]
all
none
add
except
remove
[Parameter]
vlan-ids
[Initial value]
none
[Input mode]
interface mode
[Description]
Sets the VLAN ID that is associated as a trunk port with the applicable interface.
If this is executed with the "no" syntax, all associated VLAN IDs are deleted and the port type is changed to access port.
:
vlanAssociate to all VLANs that are set by the vlan command
:
Dissociate from all VLANs
:
Associate to the specified VLAN
:
Associate to all VLANs that are set by the vlan command except for the specified
:
Dissociate from the specified VLAN
:
<1-4094>
VLAN ID set by the vlan command
To specify multiple items, use "-" or "," as shown below
To select from VLAN #2 through VLAN #4: 2-4
To select VLAN #2 and VLAN #4: 2,4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents