EasyManua.ls Logo

FoxGate S6124 - Switchport Trunk Allowed Vlan

Default Icon
391 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
125
Parameter: trunk means the port allows traffic of multiple VLAN; access indicates the
port belongs to one VLAN only.
Command mode: Port Mode.
Default: The port is in Access mode by default.
Usage Guide: Ports in trunk mode is called Trunk ports. Trunk ports can allow traffic of
multiple VLANs to pass through. VLAN in different switches can be interconnected with
the Trunk ports. Ports under access mode are called Access ports. An access port can be
assigned to one and only one VLAN at a time.
Example: Set port 5 to trunk mode and port 8 to access mode.
Switch(config)#interface ethernet 1/5
Switch(Config-If-Ethernet1/5)#switchport mode trunk
Switch(Config-If-Ethernet1/5)#exit
Switch(config)#interface ethernet 1/8
Switch(Config-If-Ethernet1/8)#switchport mode access
Switch(Config-If-Ethernet1/8)#exit
10.1.16 switchport trunk allowed vlan
Command: switchport trunk allowed vlan {WORD | all | add WORD | except WORD |
remove WORD}
no switchport trunk allowed vlan
Function: Set trunk port to allow VLAN traffic; the no switchport trunk allowed vlan
command restores the default setting.
Parameter: WORD: specified VIDs; keyword;
all: all VIDs, the range from 1 to 4094;
add: add assigned VIDs behind allow vlan;
except: all VID add to allow vlan except assigned VIDs;
remove: delete assigned allow vlan from allow vlan list.
Command mode: Port Mode.
Default: Trunk port allows all VLAN traffic by default.
Usage Guide: The user can use this command to set the VLAN traffic allowed to
passthrough the Trunk port; traffic of VLANs not included are prohibited.
Example: Set Trunk port to allow traffic of VLAN1, 3, 5-20.
Switch(config)#interface ethernet 1/5
Switch(Config-If-Ethernet1/5)#switchport mode trunk
Switch(Config-If-Ethernet1/5)#switchport trunk allowed vlan 1;3;5-20
Switch(Config-If-Ethernet1/5)#exit

Table of Contents

Related product manuals