![AsGa LightBolt 28304-E1 User Manual Download Page 73](http://html1.mh-extra.com/html/asga/lightbolt-28304-e1/lightbolt-28304-e1_user-manual_2981900073.webp)
AsGa Light
AsGa Light
AsGa Light
AsGa LightBOLT
BOLT
BOLT
BOLT 10GigE Switch
10GigE Switch
10GigE Switch
10GigE Switch
U
U
U
User Guide
ser Guide
ser Guide
ser Guide
Configuration
Configuration
Configuration
Configuration
73
Related Commands
5.1.21 switchport mode
Use the switchport mode interface configuration command to configure the VLAN
membership mode of a port. Use the no form of this command to reset the mode to the appropriate
default for the device.
Command Syntax
Switchport mode {
access | trunk | hybrid
}
no switchport mode
Access
: Set the port to access mode. The port is set to access unconditionally and operates as a
nontrunking, single VLAN interface that transmits and receives non-tagged frames. An access port
can be assigned to only one VLAN.
Trunk
: Set the port to trunk unconditionally. The port is a trunking VLAN Layer-2 interface. The port
transmits and receives encapsulated (tagged) frames that identify the VLAN of origination. A trunk is a
point-to-point link between two switches or between a switch and a router. AsGa LightBolt switches
use 802.1Q tag encapsulation method.
Hibrid
: This mode set the trunk in an hybrid mode witch means that the port acting as a trunk has a
default VLAN for all those packet witch arrive at the port untagged. Under this mode the user must
specify the untagged VLAN for all those arriving non tagged packets. Out going packet for the
specified VLAN ID will go out from this trunk in an untagged form.
In addition: for this VLAN; this port act as an access port.
Under the hybrid mode the default VLAN is specified using the following sentence:
AsGos (interface ge16) switchport hybrid vlan <VLAN ID>
VLAN ID
= 1-4095
And then the user must specify the non tagged nature of this VLAN for this port using the following
command:
AsGos (interface ge16) switchport hybrid allowed vlan add <VLAN ID> egress-
tagged disable
VLAN ID
=1-4095
Command Mode
Configure mode
interface mode
Default
No default.
Examples
AsGOS# configure terminal
AsGOS(config)# interface ge2
AsGOS(interface)# switchport mode trunk
AsGOS(interface)# switch port allowed vlan all
AsGos (interface ge16)
AsGos (interface ge16) switchport